Over the past two years I've been working on a number of step-by-step tutorials for Microsoft's www.asp.net website. The two complete tutorial series are:
I'm happy to announce a new tutorial series of mine on the www.asp.net website on master pages. The first three tutorials are now available:
- Creating a Site-Wide Layout Using Master Pages [VB | C#] - covers the basics of what master pages are and how to use them to define a site-wide layout.
- Multiple ContentPlaceHolders and Default Content [VB | C#] - a master page can contain multiple ContentPlaceHolders. It's also possible to define default markup for a ConentPlaceHolder. Content pages can either emit this default content or override it with custom content.
- Specifying the Title, Meta Tags, and Other HTML Headers in the Master Page [VB | C#] - typically the <head> section of a web page is contained in the master page and not the content page, so what do you do if the content page needs to define page-specific <head>-level markup? This tutorial shows how to customize the page's title, meta tags, and other HTML headers.
There will be a total of 10 tutorials. The next batch focuses on common master page challenges - creating non-breaking URLs and control ID naming and referencing, among other topics.
Like my past tutorials, these tutorials are all available in C# and VB versions, include a complete working source code download, and are available to download as PDF, as well.
Enjoy! - http://asp.net/learn/master-pages/
My latest 4Guys article, Warning the User When Caps Lock is On, looks at building such a control. It is now part of my skmControls2 collection, which includes (currently) two other open-source server controls:
For more open-source, free tools, controls, and other funery, check out My Code Projects.
My Toolbox column in the May 2008 issue of MSDN Magazine is avaiable online. The May issue examines:
- OmniAudit: a tool for creating SQL Server audit trails. OmniAudit offers a very slick and intuitive user interface for defining what tables and columns to audit and then generates the triggers and tracking tables needed to keep a log of changes to those tables and columns, including when the change was made, who made it, and past values. Also included is a log viewing program for searching the log history. (For more on audit logs, see Maintaining a Log of Database Changes.)
- VSNETCodePrint: produce high-quality printouts of your Visual Studio code with VSNETCodePrint. Print (or export to PDF) all the code from an entire project or solution with the click of one button. Very useful for code reviews, user-group talks, conferences, training, and the like.
- Blogs of Note - Joel On Software. Joel Spolsky, co-founder of FogBugz Software, shares his insights on user interface and leading a team of programmers in his interesting, entertaining, and well-written blog.
- The Bookshelf - ASP.NET AJAX in Action, by Alessandro Gallo, David Barkol, and Rama Krishna Vavilala. Here is an excerpt from the book review:
The Microsoft ASP.NET AJAX framework simplifies the process of building AJAX-enabled Web applications by providing a rich and powerful, high-level API over the multitude of low-level interactions that must seamlessly occur between the client and server. Any book about the ASP.NET AJAX framework must balance the low- and high-level details. The space devoted to client-side issues like the XMLHttpRequest object and JSON must be weighed against coverage of the framework's Web controls and client- and server-side APIs. ... ASP.NET AJAX In Action starts from the low-level details and works its way up. ... ASP.NET AJAX In Action is not intended for beginning Web developers, as it assumes a certain level of familiarity with how to build ASP.NET applications, but this book is accessible regardless of past client-side or AJAX development experience.
Enjoy! - http://msdn.microsoft.com/en-us/magazine/cc507638.aspx
As always, if you have any suggestions for products or books to review for the Toolbox column, please send them into firstname.lastname@example.org.