2.5. Summary

This chapter introduced you to some important topics that help you build maintainable and structured ASP.NET web applications. Understanding the differences between the different project types and templates enables you to kick-start a web project with just the files you need.

The same applies to the different file types you can add to your site. Since each file type serves a specific purpose, it's important to realize what that purpose is and how you can use the file. You used some of the files in this chapter (a Web Form and its Code Behind class file); the remainder of this book will show you how to use the other file types that are introduced in this chapter.

Another important decision you need to make when building web sites is whether you build web pages with Code Behind or with inline code. Fortunately, this decision does not impact the entire site, and you'll need to reconsider it again for every file you add. So if you started out with inline code but find it harder to work with when your pages and site grow, you can start adding pages with Code Behind from that point.

One common activity that you'll perform when building ASP.NET web pages is adding markup to the page. As you saw in this and the previous chapter, markup comes in a few flavors, including plain HTML and ASP.NET Server Controls. Knowing how to add this markup to your page using the numerous menu options and toolbars that VWD offers is critical in building good-looking web pages.

Now that you ...

Get Beginning ASP.NET 3.5: In C# and VB 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.