I have a very simple angular application project which should do nothing more than static files from wwwroot . Here is my Startup.cs :
public class Startup { public void ConfigureServices(IServiceCollection services) { } public void Configure(IApplicationBuilder app) { app.UseIISPlatformHandler(); app.UseStaticFiles(); }
Whenever I start a project using IIS Express or web, I always need to go to /index.html . How to do this so that I can just visit the root ( / ) and still get index.html ?
source share