Ich habe einen ASP.NET-Core 1.1, wo ich diese Anleitung befolgt habe:Fehler beim Laden der Ressource?
https://www.youtube.com/watch?v=HB6ftmxKzL8
ich jedoch nicht die Winkelmodul erhalten zu laufen, es ist nur unter Angabe „Laden“. Ich kann in der webdev Werkzeug sehen, dass einige Ressourcen nicht (404)
http://localhost:44343/System.config.js http://localhost:44343/node_modules/core-js/client/shim.js http://localhost:44343/node_modules/zone.js/dist/zone.js http://localhost:44343/node_modules/systemjs/dist/system.src.js http://localhost:44343/System.config.js http://localhost:44343/
aktivieren Facebook-Login laden konnte ich SSL zu aktivieren dafür hatten, aber dies wird wieder ausgeschaltet . Dies ist, wie mein Startup.Configure wie folgt aussieht:
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
loggerFactory.AddConsole(Configuration.GetSection("Logging"));
loggerFactory.AddDebug();
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
app.UseDatabaseErrorPage();
app.UseBrowserLink();
}
else
{
app.UseExceptionHandler("/Home/Error");
}
app.UseStaticFiles();
app.UseIdentity();
// Add external authentication middleware below. To configure them please see https://go.microsoft.com/fwlink/?LinkID=532715
//https://docs.microsoft.com/sv-se/aspnet/core/security/authentication/social/facebook-logins
app.UseFacebookAuthentication(new FacebookOptions()
{
AppId = Configuration["Authentication:Facebook:AppId"],
AppSecret = Configuration["Authentication:Facebook:AppSecret"]
});
app.UseMvc(routes =>
{
routes.MapRoute(
name: "default",
template: "{controller=Home}/{action=Index}/{id?}");
});
}
Die Dateien haben existiert, aber sie unter node_modules platziert wird statt unter dem Wwwroot? In einem anderen Video über ASP.NET Core wurde gesagt, dass alle statischen, die öffentlich sind, unter dem wwwwroot platziert werden müssen?