Random thoughts of wisdom - the personal blog of Michael Holm Andersen

301 Redirects on IIS7 – come again Microsoft!!

Creating a 301 Redirect in IIS7 is EVEN MORE CRAPPY than on IIS6 – I was going “nuts” trying to find out why my 301 Redirect didn’t work. What I wanted to do (a pretty common scenario) was to redirect traffic from my URL without www to the version of my domain name – howev... [More]

IE8, cookies and local addresses that are not localhost

Recently installed Windows 7 which is really nice. IE8 is the default OS browser and typical the one I use as my “default development browser”, which means it is not my default browser (Firefox is), but it’s the browser that Visual Studio opens when I do a “View page in browser”. I have multiple si... [More]

Are we hosted or not ?

In my classes (eg. in my Class Library) I sometimes need to find out if the code that is currently executing runs in a Hosted Environment (like an ASP.NET application) or not. To find out we can use the System.Web.Hosting.HostingEnvironment.IsHosted property, which tells us whether the current... [More]

V3 in the making...

Today I've started the development of "version 3.0" of the website. The site will (at last) be complety re-written, using a 3-tier approach. All access to data will be done using LINQ (currently only the front-end is using LINQ), the site will be multilingual, suppo... [More]

Increase your website performance!

We all like our website to be as fast as possible (that's one of the reasons why we love .NET, right! :-) A couple of minutes spend optimizing your IIS settings can also have a huge impact on the load time of your pages. Your website probably uses quite a few (semi) static files, like image... [More]

Umbraco v4 in beta

Umbraco v4.0 beta1 is available for download - looks like it's going to be a great release :) Check it out / download the bits from: .. and by the way - is of course capable of hosting both v3 and v4 umbraco sites! ('hidden' ad, beware! :-)

Finally - ASP.NET AJAX v1.0 released

At last ASP.NET AJAX v1.0, formerly known as ATLAS, is shipping. This new Web development technology from Microsoft integrates cross-browser client script libraries with the ASP.NET 2.0 development framework - making it easier to develop Web Applications with a rich GUI, and improved user experience... [More]

Database Publishing Wizard

Deploying all the .aspx, CSS and image files of a website to the hosting environment is not that big a deal, however making sure that the whole database including data is created correctly is sometimes more difficult. At CodePlex they've launched a new project called "Database Publishing... [More]

Special discount!!

Students from Aalborg technical college (Aats) attending the Web-Integrator or Digital Media education will be able to buy a ASP.NET v2.0 webhotel including support for SQL Server 2005, Membership, Roles etc. at a special low price of 49,- incl. VAT. per month. Check out the www.aspn... [More]