Visual Basic

  1. Home
  2. Computing & Technology
  3. Visual Basic
Using Web Forms
to Build Interactive Applications
IIS and Hosting
 Topics
  From The Lesson
Learn VB and ASP
A VB 6 Tutorial
from About Visual Basic

 
The New "Express" VB
from About Visual Basic

 
Microsoft Suggestions
Web Hosting Services

 
Information About Hosting
from About Online
Business/Hosting

 
Microsoft ASP.NET
Quickstart Tutorials

 
Microsoft ASP.NET 2.0 Information
 
The DataGrid Component
from About Visual Basic

 

One of the first things you have to accomplish as you complete the examples in the book is to connect to a local instance of the Microsoft IIS (Internet Information Service) web server. Although the book gives you some good advice on what to do if things don't work, you should be aware that IIS isn't a junior grade utility - it's the real deal. It's the same basic web server that the NASDAQ stock exchange and Reuter's news service uses, but it's running on your local machine. It is amazing to me that Microsoft can create a piece of software that can span that kind of range. (Although I know that much of the difference is the OS and hardware platform supporting IIS, it's still amazing.) But if you're looking around at what's running on your own computer or reading other information in books or on the web, keep this in mind.

Having to test with a full scale web server is probably not the best configuration for someone just learning the technology and Microsoft has "felt your pain". They are currently "beta testing" new versions of VB.NET that includes a new "test size" version of a web server. You can read more about this in my Blog article, New Visual Basic Editions. This will be part of the next version of ASP.NET (see more below).

Although the book doesn't cover this, if you have access to a web server on the Internet that supports the .NET Framework, you can do the exercise in the book across the real Internet as well. Although .NET makes "deploying" your application to a remote server easier in some ways, there are still a few things that you have to understand before it will work for you.

The first thing to check is whether your "hosting service" supports the .NET Framework. Microsoft provides this list of "approved" hosting services around the world but many others provide .NET Framework support as well. If you need more information about hosting, try About.Com's Online Business / Hosting site!

Once you're satisfied with the application you have written using your local IIS server, these steps are usually the easiest to upload it to a hosting provider. But check with your hosting provider to be sure.

  • Make sure FrontPage Extensions are enabled on your hosting account (it's an option with most hosting services). The service usually provides a "control panel" web application that allows you to do this.
  • Open the web project to be deployed in Visual Studio .NET.
  • Select Project > Properties > Configuration Manager to change your configuration option from Debug to Release.
  • Select Project > Copy Project.
  • Enter the URL to your site, http://www.yourdomain.com, or the location you want Visual Studio .NET to copy your project to in a destination project folder at the hosting site. You'll probably need the password to your hosting site.
  • Select FrontPage as Web Access Method.
  • Select "Only files needed to run this application".
  • Click "Ok".

Visual Studio will copy those files you need to run the application to your hosting provider.

If you want to dig into ASP.NET more deeply, you can try the Microsoft GotDotNet site. Some Quickstart Tutorials can be found at the ASP.NET section of the site that helps you with ASP.NET

Next page >>>   What's Next ...
Page 1, 2, 3, 4, 5

Explore Visual Basic

By Category

About.com Special Features

Visual Basic

  1. Home
  2. Computing & Technology
  3. Visual Basic

©2009 About.com, a part of The New York Times Company.

All rights reserved.