Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

index.html spa

$
0
0

I have a client side style spa using asp.net 5. All the code is html/j's/css, no cs but for the startup.cs file, from which I've removed all functional code.

I was using dnx beta 4 for the build and I could successfully navigate to the index.html page (located in the wwwroot folder). I've now upgraded to dnx beta 7 but now when I run the site I get a 404 error, same applies if I manually add index.html to the browser address bar.

I guess this is because with dnx beta 7 it is expecting me to set up mvc routing in the startup.cs file. Given I am not using mvc to deliver my index.html page, how can I now setup things to deliver my index.html file to the browser?

Thanks,

Slicc


Viewing all articles
Browse latest Browse all 9386

Trending Articles