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

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

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