Asp.net 4.0 webform routing is not working with Window azure -
i've developed web application uses asp.net 4.0 routing. working fine without using window azure.
but when use window azure, not working, giving me 404 not found error . means routing not working.
i've follows link: http://www.michaelckennedy.net/blog/2009/05/27/aspnetroutinginwindowsazureusingwebforms.aspx , try implement accordingly. working fine framework 3.5
but same thing applied framework 4.0 not working.
my application build on .net framework 4.0
please me. urgent.
thanking you
by default web role asp.net web forms created operating system image based on windows server 2008 mvc applications support routing web role image based on windows server 2008 r2.
so manually switching os family 1 2 in service configuration file on web role published on r2 instead , solved problem routing me (for web api beta on .net 4.0). guess contains iis configurations allows routing not present in default web forms role image.
i found solution in blog post (in german) http://blog.jan-welker.de/2011/12/18/windowsazureaspnetwebforms40undsystemwebrouting404vorprogrammiert.aspx , of google translate managed solve problem had.
Comments
Post a Comment