Using Windows Authentication with Web Deploy and WMSVC

By default in Windows Server 2008 when you are using the Web Management Service (WMSVC) and Web Deploy (also known as MSDeploy) it will use Basic authentication to perform your deployments. If you want to enable Windows Authentication you will need to set a registry key so that the Web Management Service also supports using…

0

Razor Migration Notes 3: Use app_offline.htm to deploy the new version

This is the third post on the series: 1: Moving a SitemapPath Control to ASP.NET Web Pages 2: Use URL Rewrite to maintain your Page rankings (SEO)   ASP.NET has a nice feature to help for deployment processes where you can drop an HTML file named app_offline.htm and it will unload all assemblies and code…

1

Razor Migration Notes 2: Use URL Rewrite to maintain your Page rankings (SEO)

This is the second note of the series: 1: Moving a SitemapPath Control to ASP.NET Web Pages My current Web Site was built using ASP.NET 2.0 and WebForms, that means that all of my pages have the extension .aspx. While moving each page to use ASP.NET Web Pages their extension is being changed to .cshtml,…

0

Razor Migration Notes 1: Moving a SitemapPath Control to ASP.NET Web Pages

After many years I decided that it is time to rewrite my Web site using Razor. A bit of history, I started it around 2003 using ASP.NET 1.1. When .NET 2.0 came around in 2005 I migrated to it and it was great being able to leverage features like MasterPages, Themes, Sitemaps, and many other…

2

Get IIS bindings at runtime without being an Administrator

Today there was a question in StackOverflow asking whether it was possible to read the IIS binding information such as Port and Protocols from the ASP.NET application itself to try to handle redirects from HTTP to HTTPS in a way that was reliable without worrying about using different ports than 80/443. Turns out this is…

4