Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: 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 features...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Not getting IntelliSense in your web.config for system.webServer sections in Visual Studio 2008?

    Today I was playing a bit with Visual Studio 2008 and was surprised to see that I was not getting IntelliSense in my web.config. As you might already know IntelliSense in Xml in Visual Studio is implemented by using a set of schemas that are stored in a folder inside the VS folder, something like: \Program...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: IIS Admin Pack: Configuration Editor

    Today I will be talking about one of the features included in the new IIS Admin Pack called Configuration Editor. Configuration Editor is an IIS Manager feature that will let you managed any configuration section available in your configuration system. Configuration Editor exposes several features...
  • Blog Post: IIS 7.0 Admin Pack: Request Filtering

    My last post talked about the Technical Preview release of the IIS 7.0 Admin Pack, and how it includes 7 new features that will help you manage your IIS 7.0. Today I was going to start writing about more details about each feature and Bill Staples just posted something (How to (un)block directories...
  • Blog Post: Search your configuration sections in web.config files using IIS 7.0 API's

    Background In IIS 7.0 we have the great functionality to allow you to configure the Web Server settings in a distributed way, including the IIS configuration along with the ASP.NET configuration in the web.config files by using Configuration Sections. For example, the following shows a web.config...
  • Blog Post: Using Microsoft.Web.Administration in Windows PowerShell

    A couple of months ago I wrote about using LINQ with Microsoft.Web.Administration to manage and query IIS 7.0 configuration. Somebody came back to me and said that LINQ was very cool but that it was very much Developer oriented and that in a production server without VS or .NET 3.5 it wouldn't be an...
  • Blog Post: Backgammon and Connect4 for Windows Mobile

    During the holidays my wife and I went back to visit our families in Mexico City where we are originally from. Again, during the flights I had enough spare time to build a couple of my favorite games, Backgammon and Connect4. I've already built both games for Windows using Visual Basic 5 almost 11...
  • Blog Post: Sudoku and Tetris Game for Windows Mobile

    During my last two business trips (to Barcelona for TechEd and Mexico for ReMix) I was way too bored on the plane and since I recently got my Motorola Q9 (which is a sweet Windows Mobile Phone) decided to write myself a Tetris game and to port my Sudoku game to Windows Mobile as a way to do my "first...
  • Blog Post: Using LINQ with Microsoft.Web.Administration

    With the upcoming release of .NET 3.5 and LINQ I thought it would be interesting to show some of the cool things you can do with IIS 7 and LINQ. Everything that I will do can be done with C# 2.0 code but it would take me several lines of code to write them but thanks to LINQ you can do them in about...
  • Blog Post: The new Configuration System in IIS 7

    Today I was planning on talking about the configuration classes that I purposedly skipped in my last post, but I realized it would be better to explain a little bit more about the new configuration system used in IIS 7. First of all, many of you (as me) will be extremely happy to know that the old "monolithic...
  • Blog Post: Microsoft.Web.Administration in IIS 7

    While creating the new administration stack in IIS 7 , we were looking into the different ways users could manipulate the server configuration as well as the new runtime information available in IIS 7 (Internally we call this RSCA-Runtime State and Control API) from managed code, and we realized we needed...
  • Blog Post: The evil WinForms Splitter

    Beware of SplitPosition. Today I spent quite some time debugging an issue in the new product I am working on. Well, to summarize what I was seeing in our UI is that for some reason certain information that I was expecting to be there when a TreeNode was expanded, it just wasn’t there. It was completely...
  • Blog Post: Generating Excel Workooks without Excel

    Why I wrote Excel Xml Writer One day I found myself having to build a Web Application that one of the requirements involved generating a nice Excel Workbook that users could then play with. This required quite some styling and several other features that you can only do with Excel (like setting printer...
Page 1 of 1 (20 items)