Heres a quick tip that will help you leave Cassini in the past where it belongs. If youre using VS2010 SP1, you can configure your IDE so that it will automatically choose IIS Express out of the box for new web sites and projects. There are a lot of good reasons why you should be using IIS Express instead of Cassini / WebDevServer you can learn more about IIS Express here. Unfortunately, Cassini remains the default web server for new web projects in VS2010 (unless you change it).
To configure an individual web project to use IIS Express after youve created it, simply right click on the project in Solution Explorer and choose the Use IIS Express option. You can also configure it in the Web tab of the projects properties:
Thats great, but its annoying to have to do for every new project you create. The good news that its pretty easy to make IIS Express the default. Thanks to Damian Edwards for pointing this setting out to me. You can go to Tools-Options-Projects and Solutions-Web Projects and check a box there to make IIS Express the default. Note that this setting will work for web sites as well as web projects, so dont let the menus name throw you off.
Thats it. Check the box, and enjoy a Cassini-free development environment from this point forward. Except on your other machines, where youll have to set this setting again. Oh, and next time you reinstall Visual Studio youll have to set it again then, too. Yknow, wouldnt it be cool if Visual Studio would remember your settings in the cloud for you? Ive only been asking for that since like 2003. Maybe now that remember users settings is getting baked into Windows 8 itll be closer to a reality for Visual Studio. I can dream