Chapter 6: Building and Deploying SharePoint Web Parts
What You'll Learn in This Chapter:
- Understanding Web parts and how you can create one
- Understanding the difference between a standard and Visual Web part
- Using Visual Studio to build and deploy Web parts to SharePoint
In Chapter 5, you learned about the different ways you can program against one of the primary SharePoint artifacts — lists. In this chapter, you’ll learn about another core building block in SharePoint — the Web part. The Web part is not unique to SharePoint. It is a set of integrated ASP.NET server controls. Because SharePoint is built on ASP.NET, it inherits the capabilities that are native to ASP.NET Web parts.
Developers can use Web parts to create Web sites, and, once rendered on a SharePoint site, users can then modify the content, behavior, or appearance of the Web part page using their Internet browser to personalize their experiences with the Web site.
SharePoint 2010 offers a wide array of out-of-the-box Web parts and, especially relevant to this chapter, an easier way to build and deploy Web parts into a SharePoint site. With that in mind, this chapter provides a high-level overview of Web parts, discusses the differences between standard and Visual Web parts, and walks through some ways to create custom Web parts for a SharePoint site.
Understanding Web Parts
Similar to lists, Web parts are some of the most commonly customized objects in SharePoint. Web parts also provide a great opportunity for ...