In Chapter 8, we built a Windows Forms UI based on our ProjectTracker business objects. But C# also supports web development through ASP.NET and the Web Forms technology. We can use our business objects to create a Web Forms interface in a similar manner to the way we built the Windows Forms interface.
Web Forms can be used to create many different user interfaces, and this chapter isn't intended to act as a tutorial on web development in ASP.NET. Instead, we'll focus on how business objects are used within a web application, including state management and data binding.
Tip | ASP.NET is the .NET web-server component that hosts Web Forms, web services, and other server-side handlers in Internet Information Services (IIS). ASP.NET is a very broad and flexible technology. Web Forms are hosted within ASP.NET and provide us with "normal" web-development capabilities. |
Before we get into the development of the Web Forms UI, we need to discuss some of the basic concepts around the use of business objects in web development.