Azure 404 error redirection

by Rok Bermež 24. February 2010 11:56
Windows Azure uses IIS7 so normal <customErrors mode="RemoteOnly" redirectMode="ResponseRedirect" > <error statusCode="404" redirect="404.htm"/> </customErrors> wont work. What we have to do is to add <httpErrors errorMode="Custom"> <clear/> <error statusCode="404" path="404.htm" responseMode="Redirect"/> </httpErrors> to web.config and we are safe again.

Tags:

.Net | ASP.NET | Azure

Windows Azure not showing static content (css, js, images...)

by Rok Bermež 4. January 2010 17:00
Recently I started to port one of my Asp.Net projects to Widows Azure and the damn thing wouldnt show an kind of static content in the debug mode on local fabric. Only when I acctualy deployed the project everything seemed to be fine... After some 'soulsearching' I found out that Static Content module on my local IIS 7 was turned off for some reason.  If you are experiencing the same problem, a simple chackbox fixes the issue:   

Tags:

ASP.NET | Azure

Calendar

<<  September 2018  >>
MonTueWedThuFriSatSun
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

View posts in large calendar

Page List

Month List