Creating ASP.NET Pages

ASP.NET pages have an .aspx extension. To get started with ASP.NET you’ll need an editor. As we mentioned earlier, Notepad is a good editor for simple Web pages and will suffice for the ASP.NET samples in this chapter. As you will see in later chapters, Visual Studio provides the means for working with ASP.NET pages as you would forms in a project. However, you can still use Visual Studio’s HTML editor to edit .aspx files outside a project. To do this, start with an HTML file and then save it with an .aspx extension. While in the HTML editing mode, you can type Visual Basic code directly into the file.

Understanding Script Tags

To separate your VB code from HTML tags in an ASP.NET page, you use script tags. While processing ...

Get Special Edition Using Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.