140 likes | 287 Views
Calgary Code Camp. Web Parts, Master Pages, and Providers… oh my!. bsimser@shaw.ca. Independent Solutions Architect and Consultant 15 years software development 18 successful enterprise projects, 11 open source projects, 1 colossal failure. Microsoft SharePoint MVP Since 2004
E N D
Calgary Code Camp Web Parts, Master Pages, and Providers… oh my!
bsimser@shaw.ca • Independent Solutions Architect and Consultant • 15 years software development • 18 successful enterprise projects, 11 open source projects, 1 colossal failure. • Microsoft SharePoint MVP Since 2004 • Various publications, books, articles, etc. • Technical speaker at conferences and User Groups
ASP.NET 2.0 Features • Page Framework • Master Pages, Themes and Skins • Controls • Login Controls, Web Parts • Services and APIs • Membership, Role Management, Sitemaps
Master Pages • Visual inheritance for web pages • Common layouts • Reusable elements • Design support in Visual Studio 2005 • Runtime and design time settings • Apply to pages or entire site
Demonstration Content pages, master controls, and multiple masters
Themes and Skins • Common look and feel • Centralized visual style • CSS, skins, and images • Apply at page or site level • Set via property on page or programmatically
Demonstration Changing the look and feel with Themes and Skins
Web Parts • Provide “portal” like functionality to regular ASP.NET web sites • Rich UI with minimal code • Can use User Controls (ascx), 3rd party web parts, or Custom (Server) Controls • WebPartManager settings control how Web Parts can be moved around • Seamless personalization • Intercommunication via connections
Demonstration Getting Started with ASP.NET Web Parts
Memberships and Roles • Service for managing users and credentials • Define options in web.config • Controls for login, registration, password reminders, etc. • Very little code required! • Built in SQL Server Providers • Extendable providers of your own • Source code is available!
Demonstration Putting it all together
Resources • ASP.NET QuickStart Tutorials • http://www.asp.net/QuickStart/aspnet • ASP.NET Starter Kits • http://msdn.microsoft.com/asp.net/downloads/kits • Visual Web Developer 2005 • http://msdn.microsoft.com/vstudio/express/vwd • My Blog • http://weblogs.asp.net/bsimser • Calgary Code Camp Portal • http://www.calgarycodecamp.com