Join David Gassner for an in-depth discussion in this video Installing Microsoft Visual Web Developer 2008, part of ASP.NET Essential Training.
To get started, download and install Visual Web Developer 2008 Express from the ASP.NET website. You can find this free product from www.asp.net/downloads/essential. The web masters, occasionally make changes to their website. If you don't see the page that I'm displaying, just navigate to this URL. There are a number of installers available on this page including something called the Microsoft Web Platform installer. This installer will install Visual Web Developer SQL Server and a number of other tools. But I'm going to recommend that you don't use that installer. Instead, use this one, Visual Web Developer 2008 Express Edition SP1 or whichever is the latest version when you get to this page.
Download the installer application to your hard disk and then run it. I have downloaded the installer to my Desktop. Its name is vwdsetup.exe. Run the installer. After it takes a few moments to copy some files to your hard disk, it presents an initial information screen. On this screen, it tells you about the product, Visual Developer 2008 Express Edition and there is an option to send more information about the setup experience to Microsoft. I'll skip that option and click the Next button.
On this screen, read the license terms and then if you agree, select, I have read and accept the license terms and also take a look at the option that allows Visual Studio or Visual Web Developer Express Edition to receive and display online RSS content. If you leave this option selected, you will see a regular new screen from Microsoft whenever you are connected to the Internet and you have the product open. On the next screen, Visual Web Developer detects whether you have certain optional components already installed including the .NET Framework version 3.5, SQL server and the Silverlight Player. Since I already have these components installed on my system, Visual Web Developer goes directly to this option screen. However, if you see the options there, deselect them.
In particular, do not install SQL server from the screen. I describe how to install SQL server and its management tool, SQL Server Studio Basic in another video. On this screen, I reviewed the summary, indicating that I'm going to be downloading and installing Visual Web Developer 2008 Express Edition with Service Pack 1. The SQL publishing Wizard 1.3 and shared management objects. Click the Install button and then complete the installation by following the prompts. If this is the first time you have run the installation on your computer, you might need to reboot at least once during the installation process. Also, you will need to download all of the files. The size of the download will depend on how many components are being installed in this phase of the process. After the installation is complete, you will be able to open Visual Web Developer 2008 from the Microsoft menu and I describe how to use the product in other videos in this chapter.
At the end of the setup process for Visual Web Developer, you are prompted to register the product. Visual Web Developer is free, but you do need to register with Microsoft to receive a free registration key. If you don't register and you don't provide your registration key, you will still be able to use the product for 30 days. But at the end of that period, it will become disabled and you will need to register and input the registration key to continue using it. To register, go to the Help menu, once you have opened Visual Web Developer and select the Register Product menu choice. I'll show that again, once I have the product open.
- Storing data with SQL Server
- Using the GridView control to present and edit dynamic data
- Creating a data entry system
- Attaching external CSS files
- Creating pages to log in and authenticate visitors
- Installing Internet Information Services (IIS) on Windows XP and Windows Vista
- Deploying an ASP.NET website on IIS
Skill Level Beginner
Q: When trying to create a new database, after pasting the text into the SQL Management Suite and executing the query, the database is not created and the following message appears:
Database 'mybookstore' does not exist. Make sure that the name is entered correctly.
What is causing this error?
A: The database must be explicitly created before the script is run. Start by right-clicking on the Databases item in the left panel, then follow the prompts to create the database. Then retry the query.
Q: I am running into problems installing the latest version of ASP.NET. Has the installation procedure changed since this tutorial was recorded?
A: The installation process for the newest version of ASP.NET and its associated tools is a little different than in ASP.NET 3.5, which was used to record this course. You can download Microsoft Web Platform Installer 2.0 from:
<a href="http://www.microsoft.com/web/downloads/platform.aspx" target="blank">http://www.microsoft.com/web/downloads/platform.aspx</a>
Microsoft Web Platform Installer 2.0 includes everything you need:
Visual Web Developer 2010?
SQL Server Express
You must have one of the following operating systems:
Windows Vista SP1?
Windows XP SP2+?
Windows Server 2003 SP1+?
Windows Server 2008?
Windows Server 2008 R2
You must have administrator privileges on your computer to run the Web Platform Installer.
Q: This course was updated on 2/13/2013. What changed?
A: Since this course was recorded, Microsoft has released both ASP.NET 4.5, the latest version of the server-side web application server, and Visual Studio Express 2012 for Web (the successor product to Visual Web Developer). Both have been adapted to work on Windows 8. There will be some visual changes and some functional changes, but most of the server-side code shown in the course is the same. This update provides a map for those working with the latest software so they can navigate their way through the course.
In particular, we added <em>What's new</em> movies for both ASP.NET 4 and 4.5, a movie explaining the significance of the update, a movie on installing SQL Server Express 2012, and one on exporting database scripts in SQL Server Management Studio 2012, as well as updates to visuals throughout the course.
Q: In the chapter on user authentication, an authentication error results when I try to use the Login component or register a new user. How do I fix this?
A: This is a known error that can occur when using the original release of Visual Studio 2012 Express for Web. Update your copy of Visual Studio for Web to at least maintenance release 1, and then try the exercise again.