Later Today: ASP.NET Tutorial 2: Introduction to C#

ASP.NET Tutorial 0: Getting ready for ASP.NET development

Windows 7 kicks serious ass… and actually runs better on my pansy little netbook than XP does. I highly recommend it.

Just some food for thought.

New additions to WPI, including beta releases.
IIS add-ons, server features, etc.
Content management systems (Drupal, Umbraco), blog platforms (Wordpress, BlogEngine), etc.
URL Rewrite is one of those big features I mentioned that isn’t available for Windows XP or Windows Server 2003 systems, as it requires IIS7 or newer. URL Rewriting allows you to take a URL like www.mattvanandel.com/index.php?article=1234567 and turn it into something like www.mattvanandel.com/setting _up_your_computer_for_dotnet/ which is more user-friendly, search-engine friendly, and just plain friendly. It’s a feature supported by nearly every major PHP application out there but not by IIS6 (there are premium ISAPI filters available for IIS6, but you’d be better off using the money you’d have to spend to upgrade Windows instead, as the 3rd party IIS6 ISAPI filter doesn’t come cheap).
In the screenshot, I have already installed just about everything under the sun. You don’t need all that. Not yet, anyway (you can keep wpilauncher.exe handy to install any features you need later on). If you follow the directions you should be peachy keen.
SQL Server Management Studio (including the free Express version) is an user-friendly program for managing and administrating MSSQL databases. Understandably, it only works with Microsoft’s SQL Server software. It does not work with MySQL.
…but if you want to install it anyway, it certainly won’t hurt anything. If you want to run PHP and .NET, then leave it checked and read my PHP Setup Tutorial when you’re done with this one… just skip Step 1 of the PHP tutorial as it will be redundant after you finish here.
Prerequisites: Windows Vista, Windows 7, or Windows Server 2008 Operating System

So you want to get into ASP.NET web development, but don’t know what you need to get started. Don’t panic, I’m here to help!

This in-depth article contains detailed instructions for setting up your Windows Vista, Windows 7, or Windows Server 2008 computer for full-on ASP.NET web development in C# including installation of IIS, Visual Web Developer Express, and SQL Server Express. This does not cover any actual use of those tools (those posts will come later), but covers in great detail what you will need and how to install everything.

This article has been divided into sections, by topic. For the main article, just scroll down to the section marked “Microsoft Web Platform Installer” and click on it to expand it’s contents. To see the overview or to read the special note, simply click on the title to expand it.

> A Note for Windows XP/Server 2003 Users

If you are using an older copy of Windows, please read this section first.

Visually, IIS6 – the version of IIS bundled with older Windows releases (such as Windows XP or Windows Server 2003) – bears almost no resemblance to IIS7, the version of IIS included exclusively with newer versions of Windows (such as Windows Vista, Windows 7, or Windows Server 2008).

Many features common to PHP under other PHP server software (such as Apache) are not compatible with IIS6 (such as URL Rewriting and gzip). Because IIS is a Windows feature, as opposed to an individual piece of software, you are stuck with the version of IIS included in your copy of Windows. For reference, below are screenshots of each version of IIS:

IIS6 (Windows XP/Server 2003)

IIS6 (Windows XP/Server 2003)

IIS7 (Windows Vista/7/Server 2008)

IIS7 (Windows Vista/7/Server 2008)

The issue is this: Any reference to IIS on this site is a reference to IIS7 (the version included with Windows Vista, Windows 7, and Windows Server 2008). If you are learning on Windows XP, any IIS examples I give won’t directly apply to your version of IIS (IIS6). It doesn’t mean you won’t be able to follow along, it just means you’ll be on your own for working out how to do things on IIS (and you will also have to work around some reduced functionality). Alternatively, you could always download WAMP or Apache Server and do things the old-fashioned way… but those are not methods I’m going to discuss on this site. It’s too much work and, as far as I’m concerned, Windows XP is ancient history. If ever there was a time to upgrade your OS, it would be now.

> Overview

For folks who just want the cliff’s notes, here’s what we’re going to cover in this tutorial…

  1. Download Microsoft Web Platform Installer and use it to install the following:
    • IIS (installed automatically by WPI, if needed)
    • Common Web Server features
    • ISAPI Filters
    • URL Rewrite module
    • ASP.NET
    • .NET Framework 3.5 SP1
    • SQL Server Express 2008 with Service Pack 1
    • SQL Server 2008 Management Studio Express
    • SQL Server 2008 Management Objects
    • Visual Web Developer 2008 Express with SP1

> Microsoft Web Platform Installer

Using the Microsoft Web Platform Installer to install and configure just about everything automatically.

As far as setup is concerned, that really is all there is to it. Microsoft has made it as easy as conceivably possible to get everything you need or want installed and running automagically.

I’ll be posting overview tutorials for each of the specific tools mentioned on this page soon (IIS, Visual Web Developer/Visual Studio, etc) – but don’t wait for me. Go ahead and play around with them. I’ve always found that the best way to learn something is to just do it (even if you don’t exactly know what it is you’re doing). I’m sure you’re smart enough to learn a bit on your own in the mean time (you can to this site, after all) ;-)

One Comment on ASP.NET Tutorial 0: Getting ready for ASP.NET development

  1. DennyCrane
    Posted 2009/10/30 at 1:21 am | Permalink

    Neato.

Post a Comment

You must be logged in to post a comment.

RSS Twitter LinkedIn Facebook
Doing neato things with JavaScript, please wait...