Share via


Visual Basic Concepts

Advantages of IIS Applications

Building a server-side Internet application in Visual Basic gives you several advantages over other methods of Internet development, including:

  • Reduced cost of deployment per user. End users of an IIS application can run the application using only a browser; no special software needs to be installed on their computers for the application to work.

  • A familiar development environment and model. You can leverage your knowledge of Visual Basic by using the Visual Basic programming environment and standard, compiled Visual Basic code. In addition, you can add classes, modules, or any  Visual Basic ActiveX component to your project.

  • Access to a broad audience. IIS applications work with a wide variety of browsers and operating systems, so you can easily reach a wide audience.

  • An object model that gives you direct access to the resources of the Internet Information Server. The Active Server Pages framework provides an object model that allows you to directly manipulate the objects at the core of IIS. This allows you to retrieve information from a browser, send information to it, and perform  complex operations on the contents of a Web page. For more information on the object model, see "The Object Model for IIS Applications."

  • Reusable components. Once you have created a webclass, you can easily access it in another webclass. For more information, see "Navigating Between Webclasses."

  • Separation of code and HTML. Unlike scripting, your code is not embedded in the HTML document, so you can separate the process of designing the application's user interface from writing, testing, and debugging its code.

  • State management across multiple interactions with the client. You can manage state using objects or a database, or you can shuttle state between the client and the server. For more information, see "State Management in IIS Applications."

  • Streamlined processing. You do not have to create the HTML template files your application sends to the browser, if you do not want to. In Visual Basic Internet application development, the process of designing your user interface is separated from the process of developing and coding your application. You can have a designer create the template files you want to use.