How to display a DateTime in WinDbg using SOS

One of the things that I’ve always struggled in the past while looking at some Managed Code and analyzing a crash dump in WinDbg using SOS was dumping a System.DateTime. Sure enough you can use DumpVC and get the actual “data” inside it, but that is not very readable. In the past I used the…

1

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 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

Managing ASP.NET Configuration Settings using IIS Manager

Today somebody asked a question about how to manage some ASP.NET configuration settings such as changing the trust level of the application and adding a few application settings and changing compilation settings to debug. I thought it would be trivial to search the web for an article or something that would show the features we…

0

Microsoft Web Platform Installer Beta Released

Today we are releasing a new Web Site at http://www.microsoft.com/web/ where users can get a one stop shop for learning about the Microsoft Web Platform. This is part of a bigger effort to make it easier to get started with building and running Web Applications on Windows and IIS. As part of this a new…

0

Adding ASP.NET Tracing to IIS 7.0 Failed Request Tracing

IIS 7.0 Failed Request Tracing (for historical reasons internally we refer to it as FREB, since it used to be called Failed Request Event Buffering, and there are no “good-sounding-decent” acronyms for the new name) is probably the best diagnosing tool that IIS has ever had (that doesn’t require Debugging skills), in a simplistic way…

2

IIS 7.0 Talk at ASP.NET Connections at Orlando

Last Monday I gave a presentation at the ASP.NET Connections event in Orlando, the title was IIS 7.0 for ASP.NET Developers. I just wish I had more time to stay at Orlando, weather was great, especially considering that Sunday I was watching Snow in Redmond and then Monday and Tuesday I was around 80 degrees…

1

How to register a new Section Definition using Microsoft.Web.Administration

Today I was asked how can someone would be able to add a new section definition using Microsoft.Web.Administration, so I thought I would post something quickly here just to show how this could be achieved. using System; using Microsoft.Web.Administration; class Program {     static void Main(string[] args) {         using (ServerManager m = new ServerManager()) {             Configuration config = m.GetApplicationHostConfiguration();             SectionDefinition definition =                 RegisterSectionDefinition(config, “system.webServer/mySubgroup/mySection”);             definition.OverrideModeDefault = “Allow”;             m.CommitChanges();        …

0

Host your own Web Server in your application using IIS 7.0 Hostable Web Core

IIS 7.0 includes a very cool feature that is not so well known called Hostable WebCore (HWC). This feature basically allows you to host the entire IIS functionality within your own process. This gives you the power to implement scenarios where you can customize entirely the functionality that you want “your Web Server” to expose,…

12