MSDN Flash
UK MSDN Flash
23 January 2008
Editor's Intro

Hello

Last week I mentioned the pre-registration for the UK 2008 launch. Those of you that preregistered will have received emails last week with the actual registration URL.

For the rest of you, now is your last chance to register for the remaining places. We are registering IT Pros and Developers via separate URLs, so unless you want to end up in the wrong track, please use the appropriate registration link. Developers please register here.

No point registering if you decide to drop out last minute, so please make sure the content is appropriate for you by reviewing the session agenda that we are releasing today.

Our entire team is presenting there so we look forward to meeting you all – it will be good.

Cheers
Daniel

MSDNMSDN EventsMSDN ScreencastsEvaluation CentreDeveloper CentresMSDN

Fresh Discoveries
Articles
Book
Downloads
Download
Hotfix for VS2008 for debugging into the .NET library source code.
Addresses a performance problem and an unnecessary EULA dialog.
Downloads
Download
ADO.NET Data Services Silverlight Add-On.
Allows ADO.NET Data Services client to run inside Silverlight apps.
Downloads
Download
Free E-Book Offer.
Get the entire LINQ book plus chapters from AJAX and Silverlight books.
Downloads
Screencast
Debugging Into the .NET Framework Source Code with Visual Studio 2008.
Shows the steps required, gotchas and a few tips for efficient usage.
Downloads
Screencast
Use managed cards in Windows CardSpace to increase the security of your site.
Walks through the process of setting up a sample STS that is used to issue managed cards.
Downloads
Screencast
ADO.NET Data Services - A Basic AJAX Client.
Also from the same place MikeT has more videos on Data Services.
Downloads
Podcast
NxtGenUG Show #50.
2007 Year Review from Richie and Dave.
Articles
Case Study
Experian uses Windows CardSpace.
Online ID Technology Uses Software plus Services for Seamless User Experience.
Articles
MSDN Magazine
Silverlight: Create a Custom Expression Encoder Publishing Plug-In.
Discusses Expression Encoder plug-in basics, building a plug-in and adding FTP functionality.
Articles
MSDN Magazine
Simplified Unit Testing for Native C++ Applications.
Discusses Unit testing philosophy, setting up WinUnit and building test fixtures.
Articles
Whitepaper
“The New Iteration” covers XAML, best practises and tools.
How XAML transforms the collaboration between designers and developers.
Articles
KB Article
Workaround for error message in Visual Studio 2008 with SQL Server CE 3.5.
You may get an error when you try to drag a table from a SQL CE 3.5 database to a form.
Articles
Blog
Why Silverlight 2.0 will Change How We Build Applications.
Interesting views from Pete Brown, a US-based MVP.
Articles
Blog
Configuring Visual Studio to Debug .NET Framework Source Code.
Steps, FAQ and a lot more detail on the release of the .NET Reference Source project.
Articles
Article
Harnessing the Power of Virtualization for Dynamic IT.
High level view on virtualisation by Bob Muglia. Also see links on the side.

Register Now to Avoid Disappointment
Community event
28 January, Coventry: NxtGenUG - Astoria.
Community event
Community event
Community event
Community event
Community event
Community event
Community event
Community event

Feature Article

The Integrated Pipeline in IIS7

Back in late 2005 I developed an HttpModule for ASP.NET that parsed the output of web pages and checked their validity as XHTML documents. The module appended a little report to each page with details of any validation errors. You can still get the source from this blog post. Perhaps the biggest limitation of this tool was that it could only validate the output from pages processed by the ASP.NET pipeline, usually those ending in the .aspx extension. There was no way of using the module to validate static pages or even pages generated by other server frameworks such as ASP or PHP... until now!

The new Integrated Pipeline is one of the most exciting features of Internet Information Services (IIS) version 7, which ships with Windows Server 2008. It allows your HttpModules to participate in all requests, including those for static content, PHP pages and even images. This enhancement is compatible with the existing ASP.NET HttpModule system. To my delight, this means that the XHTML Validator Module worked without any modifications and can now be applied against any type of page. Better still, you can use the HttpModules that ship as part of the ASP.NET framework in this way too.

Since ASP.NET version 2.0, its membership features have provided an easy way to build secure websites with roles-based access and a plethora of ways to manage user accounts. In fact, you can now do this with virtually no coding required by using the new login controls, SQL Membership Provider and Web Site Administration Tool! But what if you wanted to secure access to resources that don't normally pass through the ASP.NET pipeline (such as an image or a ZIP file)?

With IIS7 using the existing Forms Authentication HttpModule – coupled with the membership features mentioned above – provides a consistent way to secure your web site’s assets. Whilst it was possible to achieve this for certain static types in previous versions of IIS, it was much trickier to deploy and didn’t work for most dynamic types. Now we have a hassle-free approach that works consistently across all file types.

It's easy to configure too, especially with the revamped IIS Manager that comes with version 7. First, your Application Pool must be setup to use the Integrated Pipeline: just set the Managed Pipeline dropdown to ‘Integrated’ in the Basic Settings dialog. Second, you need to modify the registration of the HttpModule itself by un-checking the "Invoke only for requests to ASP.NET applications or managed handlers" checkbox. You’ll find this by navigating to your web site and clicking the Modules icon in the IIS group. This last change actually modifies the appropriate web.config file by moving the module from the "system.web/modules" section to the new "system.webServer/modules" section.

Visit MSDN online for more on creating and registering a custom HTTP module. For more on IIS7, please visit the IIS homepage. As I always say, “easy peasy”.

Josh Twist
Application Development Consultant (ADC)

Read Josh's Blog

On the Horizon
Community event
11 - 15 February, Ascot: Iterative Training - WCF Master Class (IDesign) (£1595 excluding VAT).
Community event
05 - 07 March, Las Vegas: MIX 08 (Register by 31 January for $1095).
Community event
10 - 14 March, London: DevWeek 2008 (Register by 15 February for £1595 + VAT).
Community event
10 - 14 March, London: QCon London 2008 (Register by 22 February for £1792).



Contact Microsoft

Send your feedback and comments to ukmsdn@microsoft.com.
Find out more about the MSDN resources that are available to you.

Find out more about the Microsoft Contact Centre or call on 0870 60 10 100 (0800-1800 Monday to Friday)
Find out more about your MSDN Subscription contact points or call 0800 0517 215

MSDNMSDN EventsMSDN ScreencastsEvaluation centreDeveloper CentresMSDN

To cancel your subscription to this newsletter, reply to this message with the word UNSUBSCRIBE in the Subject line. You can also unsubscribe at the Microsoft Profile Centre You can manage all your Microsoft.com communication preferences at this site.

Legal Information 

This newsletter was sent by Microsoft Ltd, Microsoft Campus, Thames Valley Park, Reading RG6 1WG.
Sign up for other newsletters | Contact Us | Unsubscribe | Update your profile | Legal information
© 2007 Microsoft Corporation  Terms of Use | Trademarks | Privacy Statement
Microsoft