c# - Web Api "Optimize Code" breaks routes -


i'm having issue when build web api project in release. reason, 404 response when access web api route. if turn off 'optimize code' release builds, routes work expected. server running windows 2008 r2, iis 7.5. i'm using ninject ioc if matters @ all.

i've tried using http://blogs.msdn.com/b/webdev/archive/2013/04/04/debugging-asp-net-web-api-with-route-debugger.aspx still 404.

this works if running locally (win7).

turns out running bug: http://aspnetwebstack.codeplex.com/workitem/1075

the production server missing assembly. although wasn't able find through tracing, fusion logs, etc, after upgrading 5.2.3, problem went away.


Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -