(Tess Ferrandez) I got an email with some questions around application domains, application pools and unhandled exceptions from a developer that was frequently seeing his website crash, and also had some related issues with session loss in his application.
Tag: Development
A New Approach to HttpRuntime.Cache Management
(David Penton) ASP.NET has a wonderful built-in framework for managing Cached items within a website in the namespace System.Web.Caching. It is accessible from HttpRuntime.Cache (among other ways, such as from System.Web.UI.Page.Cache). You have great flexibility with the data you may wish to cache.
MVC in the Visual Component Framework, Part II
(Jim Crafton) The previous article introduced the idea of the Model-View-Controller (MVC) pattern and how it’s implemented in the Visual Component Framework. This article will take those ideas and start to build upon them with a new application that we’ll add full blown MVC support and all sorts of
Cancelling an Asynchronous PostBack in ASP.NET Ajax
(Suprotim Agarwal) The behavior of an Asynchronous postback is quiet similar to a synchronous postback. In an asynchronous model, all the server side events occur, as they do in a synchronous model. The Microsoft AJAX Library also raises client side events. However when the page is rendered, asynchr
Assessing Dates of Birth Using C#
(Scott Lysle) This article describes an approach to assessing the difference between a specified beginning and end date. The example was written in the context of comparing a birth date to a specific end date but the same approach could be used to calculate the number of years, months, and days bet
Displaying a Message in Response to Some Action and Then Hiding It on Subsequent Postbacks
(Scott Mitchell) ASP.NET web pages commonly display messages in response to user actions. For instance, a typical CRUD (Create, Read, Update, Delete) web page might display the message, “Record deleted” immediately after deleting a record and the message “Record updated” immediately after updating a
ASP.NET MVC Tip #28 Test If Caching Is Enabled
(Stephen Walther) In this tip, I demonstrate how you can test if the OutputCache attribute is present on a controller action. I also demonstrate how you can test if the OutputCache attribute is set with a particular duration.
Accessing Business Data in WPF Applications
(Jani Jrvinen) As more and more developers are looking to use Windows Presentation Foundation (WPF) as their technology for future user interfaces, there is also a growing need to know how to access business database data from WPF application.
Troubleshooting a performance issue with Failed Request Tracing and appcmd in IIS7
(Tess Ferrandez) I know I’m a little late in the game, but I decided that after vacation it was finally time for me to install Windows 2008 on my Vista box and play around with some of the IIS 7 features like Failed Request Tracing (known as FRT or FREB) and the appcmd tool.
Encrypt Configuration Sections in ASP.NET 2.0 using Visual Studio 2005
(Tapas Pal) Web.config file is a configuration file for the ASP.NET web application. An ASP.NET application has one web.config file on root, which keeps the configurations required for the corresponding Web application. Developers can keep one configuration file for each folder, which overrides prop
