我有一个ASP.NET 1.1的核心,我都遵循这个指南:无法加载资源?
https://www.youtube.com/watch?v=HB6ftmxKzL8
我却没有得到角模块运行,它只是说“加载”。我可以在Webdev的工具中看到,一些资源无法加载(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/
要激活的Facebook登录我哈德激活SSL但这再次关闭。这是我的Startup.Configure看起来像:
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?}");
});
}
的文件不存在,但它们被放置在node_modules代替的wwwroot下?在关于ASP.NET Core的另一个视频中,有人说所有静态的public static都需要放在wwwwroot下面?