Microsoft Visual Basic 2010 Step by Step eBook

(Tina Meador) #1

508 Part IV Database and Web Programming



  1. Click the Calculate button.


Visual Basic calculates the payment amount and displays $572 .40 in the Monthly
Payment text box. Your screen looks like this:


  1. Close Internet Explorer.


You’re finished testing your Web site for now. When Internet Explorer closes, your
program is effectively ended. As you can see, building and viewing a Web site is
basically the same as building and running a Windows application, except that the
Web site is executed in the browser. You can even set break points and debug your
application just as you can in a Windows application.
Curious about installing a Web site like this on an actual Web server? The basic procedure for
deploying Web sites is to copy the .aspx files and any necessary support files for the project
to a properly configured virtual directory on a Web server running IIS and .NET Framework 4.
There are a couple of ways to perform deployment in Visual Web Developer. To get started,
click Copy Web Site on the Website menu, or click Publish Web Site on the Build menu.
(Visual Web Developer 2010 Express does not include the Publish Web Site command .)
For more information about your options, see “ASP .NET Deployment Content Map” in the
Visual Studio Help documentation. To find a hosting company that can host ASP .NET Web
applications, you can check out http://www.asp.net.
Free download pdf