You’ve seen the advice before—it’s not a good programming practice to catch System.Exception. Because managed exceptions are hierarchical, catching the top of the hierarchy—e.g., catch(Exception)—is an easy way to make sure that you catch all exceptions. But do you really want to catch all ...
The IIS team has just shipped the Microsoft Application Request Routing 1.0 module for IIS7!!!Application Request Routing (ARR) enables Web server administrators and hosting providers and to increase Web application reliability and scalability through rule-based routing and load balancing of HTTP server requests. With ARR, administrators can ...
In the earlier post I highlighted various investments that we are making in Visual Studio 2010 and IIS to make Web Deployment easier. You can read that post below: Deploying a web project with all its correct dependencies is not a trivial task. Some of the assets which need to be considered during deployment are...
A very common pattern in the usage of managed exception handling is that of catching an exception, inspecting it's type and rethrowing it once you realize it was not the exception you wanted to handle. Below is such an example (and should be avoided in preference to another approach described further below in the writeup) that uses ...
Today, deploying a web application is not as easy as it should be. Whether you are deploying your web to a shared hosting environment and paying monthly to maintain it OR whether you have a web server/s managed by your enterprise, there are a lot of manual steps involved in getting your application from point A to point B. If you are ...
ASP.NET MVC 1.0 RC can now be installed with Web Platform Installer: http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx
Here is a quick description of Web Platform Installer from the Web Platform Installer website:
“The Web Platform Installer (Web PI) is a simple tool that installs Microsoft's entire Web Platform, ...
As mentioned in our recent blog post on the ASP.NET MVC Release Candidate, our code-generation features (namely, Add Controller and Add View) now use the T4 (Text Template Transformation Toolkit) templating technology behind the scenes. Because users can customize the templates to a great extent, we wanted to make a post to bring ...
This is an introductory post on the internals of CLR Binder.
What does the Binder do?
CLR's Binder is a piece of code that, when given an assembly name, determines where the assembly is and binds to it.
So how does the Binder locate assemblies?
Let's assume that you are loading an assembly (let’s ...
The ASP.NET MVC 1.0 Release Candidate (RC) is finally out, and we wanted to give returning MVC users as well as new MVC users an overview of what the tooling in Visual Studio provides.
The MVC 1.0 RC can be downloaded right now here (Release Notes). Please note that this release will work with both Visual Studio 2008 and Visual Web ...