Last post Oct 09, 2015 09:37 AM by lextm
Mar 11, 2015 10:23 AM|Flookami|LINK
I'm trying to deploy my asp.net 5 application based on AngularJS & MVC6 Web API
Everything works well using visual studio and IIS Express but I cannot make it work in a full IIS on a server
The thing is that my web api endpoint route gives me a 404 not found error, as if the Startup.cs configuration code was never called...
I tried adding "Microsoft.Owin.Host.SystemWeb": "3.0.1" in my web project.json but it does not work as well
Any idea ?
Mar 11, 2015 09:20 PM|davidfowl|LINK
did you install ASP.NET?
Mar 13, 2015 07:04 AM|Flookami|LINK
Yes, and I've got the same issue when trying to make it work on my development machine
When I run IIS Express on VS2015 in debug mode or the command line "k web", everything works fine
But if I configure a site in IIS, and point to a folder generated by the "kpm bundle" command, only the serving of index.html and dependencies works.
BUT All Web API client calls give me a 404 not found error.
It seems that my Startup.cs file is not being fired by IIS
PS : ASP.NET 4.5 is installed on IIS, I use KVM 10319 / KRE 1.0.0-BETA 3 in X64 mode
Oct 09, 2015 09:37 AM|lextm|LINK
You should now use HttpPlatformHandler and configure it to launch DNX executable,