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

<<  July 2018  >>
MonTueWedThuFriSatSun
2526272829301
2345678
9101112131415
16171819202122
23242526272829
303112345

View posts in large calendar

Page List

Month List