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

Hello

The big news since the last MSDN Flash issue was the MIX conference in Vegas and more importantly the slew of announcements and releases that coincided with it. You will find all the links in the Fresh section so please evaluate each one and collectively they will give you an idea of what took place. The Silverlight 2 Beta 1 demo that seems to capture everyone's excitement is the Hard Rock memorabilia site that uses the Deep Zoom feature.

After spending a few hours in the Fresh section, make sure you read the article on the ASP.NET MVC which comes from special guest, Scott Hanselman. You will hear a lot more on the ASP.NET MVC framework at the UK MSDN Roadshow so make sure you register for that in the Horizon section below.

Finally, don't forget to take part in this issue's poll question. Your answers help shape the content, so make sure your voice is heard.

Cheers
Daniel

MSDNMSDN EventsMSDN ScreencastsEvaluation CentreDeveloper CentresMSDN

Fresh Discoveries
Articles
Book
Downloads
Download
Microsoft Synchronization Services for ADO.NET v1.0 CTP.
Requires NETCF v2.0 on a Windows Mobile 5.0 or 6 device.
Downloads
Download
Deep Zoom Composer for Silverlight 2 Beta 1.
Prepare images for use with the Deep Zoom feature.
Downloads
Download
Windows Mobile Line of Business Solution Accelerator 2008.
LOB mobile application that showcases the latest design principles and technologies.
Downloads
Download
ASP.NET Model-View-Controller Preview 2.
Upcoming framework for building ASP.NET web apps using the MVC pattern.
Downloads
Download
Internet Explorer 8 Beta 1.
Select your platform and download the Beta 1 of IE8.
Downloads
Download
Silverlight Tools Beta 1 for Visual Studio 2008.
Add-on for Visual Studio 2008 for developing applications for Silverlight 2 Beta 1.
Downloads
Download
Microsoft Expression Blend 2.5 March 2008 Preview.
Professional design tool used to create engaging Web-connected experiences.
Articles
MSDN Online
Microsoft Office Interactive Developer Map.
WPF app that helps you visualise the different Office programs, servers, services and tools.
Articles
MSDN Online
New MSDN Architecture Centre.
Useful content and links around Software + Services (S+S).
Downloads
Recorded Video
MIX 08 Keynote from Day 1 with Ray Ozzie, Dean Hachamovitch, and Scott Guthrie.
Watch the hardware accelerated WPF performance improvements around 02:08:10.
Downloads
Recorded Video
This Week on Channel 9 @ Mix: March 14 Episode.
Roundup of the MIX week on channel9.
Articles
Case Study
FWBS Ltd uses Visual Studio 2008 and .NET Framework v3.0.
Software House Optimises Productivity and Security with New Desktop Environment.
Articles
MSDN Magazine
OBA Solution Patterns In The Real World.
Discusses Office Business Application basics, patterns and LOB integration.
Articles
MSDN Magazine
Find Application Bottlenecks with Visual Studio 2008 Profiler.
Discusses performance bottlenecks, code profiling and performance reports.
Articles
KB Article

Register Now to Avoid Disappointment
Community event
25 March, Bristol: Dotnerdevnet - Geek Dinner.
Community event
Community event
Community event
Community event 
31 March, Coventry: NxtGenUG - Launch Swagaganza 2008.
Community event

Feature Article

ASP.NET Model View Controller (MVC) Framework

ASP.NET WebForms brought a familiar programming model to the Web by layering an eventing subsystem on top of HTTP, which as you know is a stateless protocol. Suddenly developers could drag a button and a textbox on a page, double-click and start implementing a Button_Click handler. This makes a lot of sense given both needs and assumptions of the LOB (line of business) developer. WebForms’s familiar model was made possible by things like ViewState and the PostBack model.

However, WebForms isn’t for everyone. Currently it’s difficult to test ASP.NET WebForms applications without either automating the browser or at least firing up a Web Server to host ASP.NET. Test Driven Development (TDD), is a challenge to say the least on ASP.NET WebForms today. The WebForms abstraction can free the developer (if they choose) from worrying about markup, but that isn’t what everyone wants.

An alternative way to structure your ASP.NET applications is the ASP.NET MVC (Model View Controller). It’s important to call out that it’s in the namespace System.Web.Mvc, not within System.Mvc (in other words, it lives as a part of ASP.NET, not beside it). All the same subsystems, Session, Providers, Membership, etc can coexist within ASP.NET MVC. It is an implementation of the popular MVC pattern applied to ASP.NET. It’s not for Windows Forms, and it’s not a "skunk works" project. ASP.NET MVC is a new alternative project type within ASP.NET that caters to developers who are interested in scenarios that WebForms doesn’t easily lend itself to. When released, it will be a supported and powerful subsystem within ASP.NET – you can download now the ASP.NET MVC Preview 2.

ASP.NET MVC’s primary goals are a clean separation of concerns with the model, view and controllers all playing specific and separate roles. Views are concerned with rendering HTML and nothing else. Models don’t know about Views or Controllers, and so on. This separation helps enable not only easier testing, but also promotes reuse and refactoring.

This project is breaking new ground in a number of ways. For example, it will be hosted at CodePlex with not only its source code available for reference, but also the source for its Unit Tests! Developers will be able to get builds much faster and much more often than Microsoft has usually released in the past. You are encouraged to share your experiences and findings on blogs and forums that the team is already engaged in.

To be clear, ASP.NET MVC won’t be for everyone. You won’t find controls as rich as with WebForms, and to some developers it may seem like a step back. It is an alternative, not the answer to all woes. It won’t always be pretty, but it sure is fun. I encourage you to follow the links above, to get involved in the conversation and to see if MVC is for you by watching for blog posts tagged “aspnetmvc”.

Scott Hanselman
Senior Program Manager in Developer Division

Read Scott's blog

Flash Poll Question
Results From Last Poll: 
What programming language do you use more than others?

47% C#, 24% VB.NET, 12% C++, 10% VB6 or earlier, 7% Other.

Flash Results

Question of the fortnight

Most developers work on a combination of various domains, but what do you focus on predominantly:

1. Client
2. Mobile or embedded
3. Server
4. Web
5. Database


On the Horizon
Community event
21 April, Cardiff: 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