MSDN Flash
UK MSDN Flash
05 March 2008
Editor's Intro

Hello

In case you missed it 13 days ago, there was a huge Microsoft announcement on strategic interoperability changes. One non-Microsoft blogger on weblogs.asp.net joked by writing something along the lines of "1000 Microsoft Haters Heads Just Exploded". On a serious note, I expect open source developers are celebrating that they no longer need to get patent licenses for commercial or non-commercial works. Form your own opinion by following the 3 relevant links in the Fresh section below including the official announcement.

Once you've consumed the Fresh section, you'll find that, for the first time in our history, this issue's article is not written by a Microsoft employee. This is in line with the feedback that you provided to last quarter's survey. We'll occasionally feature external article authors and indeed if you would like to write one for us, please let me know.

Scrolling further down you'll find a brand new feature for the Flash (again based on your feedback): a quick anonymous poll. Click on the answer that represents you best and in the next issue we'll post the results so you can see if you are in line with the majority or the minority of the UK MSDN Flash readership.

Finally, don't forget to come back after you voted and to sign up for an MSDN Roadshow near you. Find all registration links in the Horizon section at the bottom. Talk to you there!

Cheers
Daniel

MSDNMSDN EventsMSDN ScreencastsEvaluation CentreDeveloper CentresMSDN

Fresh Discoveries
Articles
Book
Microsoft ASP.NET 3.5 Step by Step.
By George Shepherd.
Downloads
Announcement
Microsoft Makes Strategic Changes in Practices to Expand Interoperability.
New interoperability principles and actions will increase openness of key products.
Downloads
Announcement
Transcript from Press Conference Call on Microsoft’s Strategic Changes.
Steve Ballmer, Ray Ozzie, Bob Muglia explain the Interoperability announcement.
Articles
Blog
Interoperability Principles and IE8.
IE8 will interpret content in the most standards compliant way.
Articles
Blog
Building the transaction protocol documents by Jim Johnson.
Looking back at creating the documents mentioned by the Microsoft announcement.
Downloads
Recorded Video
Visual Studio 2008 Extensibility.
Dan chats to Ken Levy and Aaron Marten.
Downloads
Screencast
The New DataRepeater Control in the Latest Power Packs Release.
The old VB6 control comes back in a .NET incarnation.
Articles
Case Study
McLaren Electronics Fuels Analysis of Formula One Racing Data with Microsoft technology.
McLaren project uses Visual Studio 2008, SQL Server 2008 and Windows Server 2008.
Downloads
Download
LINQ to XSD Preview Alpha 0.2 Refresh.
Support for typed XML programming on top of LINQ to XML.
Downloads
Download
Web Client Software Factory – February 2008.
Guidance that assists developers in creating composite Web client applications.
Downloads
Download
Microsoft Visual Studio Tools for the Office System Power Tools v1.0.0.0.
A set of developer tools designed to complement Visual Studio Tools for Office.
Articles
MSDN Magazine
Write an IM App with the .NET Compact Framework.
Discusses Windows Communication Foundation for devices.
Articles
MSDN Magazine
Build Web Server Solutions with End-To-End Extensibility.
Discusses IIS extension point, Manager configuration and module deployment.
Articles
KB Article
System.OutOfMemoryException Occurs When Displaying Windows Form.
Do not modify the Controls collection during the Layout or Resize events.
Downloads
Website
Visual Studio Gallery – New MSDN site.
Products & Extensions for Visual Studio.
Downloads
Website
Opportunity for small business web developers.
Subscribe to Office Live Small Business and receive a free Developer account.

Register Now to Avoid Disappointment
Community event
Community event
Community event
12 March, Bristol: DotNetDevNet - Community Night.
Community event
Community event 
13 March, Southampton: NxtGenUG – Launch/InstallFest.
Community event
18 March, Birmingham: NxtGenUG - Pre Launch LINQ and Pizza.

Feature Article

Terminal Services Sessions: Then and Now

Windows NT was originally designed with a single interactive user in mind. Although multiple logon sessions were supported, only a single user had access to a “visible” logon session with desktops and windows. Desktops were contained in something called a window station and Windows NT had only one visible window station that the user could interact with. This interactive window station was called Winsta0. In addition, all applications and logon sessions shared a global namespace for all named objects such as mutexes, timers, network drive letters, etc.

Windows 2000 introduced the Terminal Services environment that changed matters by allowing multiple users to log onto a computer interactively, either locally or remotely. Each user would receive a unique interactive window station called Winsta0 that was separate from other window stations with the same name. To achieve this separation, Windows introduced Terminal Services. A Terminal Services session provided a container that further partitioned not only window stations but other named objects as well. These named objects were partitioned using namespaces. Objects shared across sessions were prefixed with “Global\” while objects specific to a given session were prefixed with “Local\”. Sessions were numbered starting from zero. The first interactive user shared the first session (e.g. session 0) with Windows services that always ran in session 0. Subsequent interactive users received new sessions (e.g. session 1, session 2, etc.). What this meant was that applications could no longer assume that they shared a window station with services. It also meant that named objects, which weren’t prefixed to indicate the namespace, would be created in the global namespace only if they happened to be running in session 0. Developers thus needed to be aware of the effects of multiple sessions when writing their applications.

Windows XP brought Terminal Services to the masses by building on it to implement features such as Fast User Switching and Remote Desktop Connection.

Today Windows Vista and Windows Server 2008 continue to use Terminal Services to support multiple interactive local and remote users and again things haven’t really changed from a feature perspective. As long as your applications correctly identify whether named objects should be local or global and don’t assume they are running in session 0, you are fine. Windows Vista simply provides a wake-up call to developers who neglected to “pay their taxes” so to speak and didn’t make their applications Terminal Services aware in the days of Windows 2000 and XP. It does this by always creating a new session for interactive users. No longer is session 0 shared with the first interactive user so applications will most likely fail if they make any assumptions to that effect. Of course this change in Windows Vista is a positive: it was introduced to isolate services in order to better secure the operating system.

If you haven’t yet considered how Terminal Services sessions affect your application then now is the time!

Kenny Kerr
Senior Consultant, Lab49

Read Kenny's blog

Flash Poll Question
Results From Last Poll: Not applicable.

Question of the fortnight

What programming language do you use more than others?

1. C++
2. VB6 or earlier
3. VB.NET
4. C#
5. Other


On the Horizon
Community event
21 April, Cardiff: MSDN Roadshow.
Community event
25 April, London: MSDN Roadshow.
Community event
1 May, Manchester: MSDN Roadshow.
Community event
13 May, Glasgow: MSDN Roadshow.
Community event
16 May, Newcastle: MSDN Roadshow.



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 support options 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