Home Library Learn MSDN Downloads Support Community Forums
WebMatrix and Other New Web Goodies Vol 13-14 | July 15, 2010
Email me
Email me
Microsoft has been quite busy working on web technologies that simplify your life as a developer. You’ve probably seen the work on the client side in the form of Internet Explorer 9 (and if you haven’t, you should take it for a test drive ); with its “Same Markup” philosophy and standards compliance, you’ll spend more time writing rich web apps and less time handling browser compatibility issues. We’re doing the same on the server side, with a new suite of tools that let you spend more time coding and less time configuring:

- IIS Express: A “best of both worlds” web server for developers that combines the feature set of the full-on version of IIS 7.5 and the ease-of-use of ASP.NET-based development server. It works with any web development version of Visual Studio (even Express!), runs on Windows XP and later, doesn’t need an administrator account and works with your existing ASP.NET code. 

- SQL Server Compact Edition 4: What IIS Express is for web servers, SQL Server Compact Edition 4 is for databases. It works with existing .NET data APIs, has a query syntax like SQL Server,  doesn’t require you to install a database server (you just copy binaries of SQL CE into your web app’s \bin directory) or have administrator access and makes it so that moving your web app to another server, database and all, is a simple copy operation.  

- Razor: A new “view engine” or templating system that lets you build web views in a clean, simple and unit-testable way using C# or Visual Basic. 

You can use these individually, but they really shine in WebMatrix , which ties all of the above together with a lightweight (but not light-headed) web development environment. You can use it to build static HTML sites, then add useful open source web apps such as Wordpress and DotNetNuke with a couple of mouse clicks, and even code up your own fully-functional database-driven web app without worrying about setting up web and database servers. It’s all about creating faster and configuring less.

WebMatrix is perfect for the beginning or student web developer, but even seasoned pros will find it useful for personal or small business sites, as well as for prototyping (I plan to use it to build test servers for some Windows Phone 7 apps I’m building). Take WebMatrix for a spin and let us know what you think!

WebMatrix Beta
WebMatrix and the New Razor Syntax
Web Metrix Features
Developer Blog IT Architect Blog IT Manager Blog IT Pro Blog


Tech·Days—back and better than ever.

Canada’s premier skills development conference, Tech·Days focuses on giving you the most current technical training on Microsoft-based technologies, including new releases such as Windows 7, Office 2010 and SharePoint 2010. Get early bird pricing at $349.99 (plus applicable taxes) now! Register now .
Learn Windows Phone 7 Development at DevTeach’s Bootcamp!

Mobile application development is the next big thing and Windows Phone 7 is the next big mobile operating system. Take your development skills of .NET to a new place and get a head start on a wide open market by learning how to build Windows Phone 7 apps in DevTeach’s intensive two-day training courses taking place in Montreal, Vancouver, Ottawa and Toronto.
Top Ten Questions to Microsoft on Data

What happened to "Oslo?" What's Microsoft's position on LINQ to SQL? And others.
HTML5 Programming with F#

WebSharper lets you program HTML, JavaScript, and Ajax with F#. You'll need an HTML5-enabled browser.
Improve Page Load Times

This article examines the most critical load-time optimizations for crafting a speedy web page
Windows Client Developer Roundup

Information of interest to Windows client developers, including WPF , Silverlight , Visual C++, Expression Blend, Windows 7, Windows Forms, Windows Phone, and Visual Studio.
Problems and Solutions with Model-View-ViewModel

As the domain models in your Silverlight and WPF applications get more complex, you may find your code getting more “brittle” and difficult to maintain. One solution is to use the MVVM — that’s Model-View-ViewModel — pattern, which introduces the ViewModel, which acts as a go-between for the Model and View.
Random Links
“Uncle Bob” Martin: All Programming Languages Boil Down to Sequence, Selection and Iteration

Multitasking is Killing Me (And Probably You, Too)

Making Your Mark on the Web is Easier Than You Think

Contrasting Ruby and C# Using My College Friends

See more...
Design Patterns
A Beginner’s Guide to Design Patterns . If you’re new to OOP or need a refresher course, you should check out this blog entry, which covers a number of often-used patterns: Strategy, Adapter, Factory Method, Decorator and Singleton, all in a nice, readable, easy-to-follow way. The code examples are in PHP, but they’re easy enough to follow no matter what you code in.
Head First Design Patterns . If you want to dive deeper into design patterns but dread reading the “Gang of Four” book, give Head First Design Patterns a try. It’s an easy, fun read in the “Head First” series’ style, covers the major patterns, and although the example code in the book is in Java, you can download C# versions of the examples
Canadian Developer Blogs
Cory Fowler does a quick introduction to Code Contracts. Contracts in code — guarantees of certain preconditions, postconditions and invariants — were introduced in the Eiffel programming language , and with .NET 4.0, you can use them in all .NET programming languages.
Using WebMatrix to Set Up Your DotNetNuke Site. Charles Nurse walks through the process of using the new WebMatrix web development suite to set up DotNetNuke on his local machine. From start to finish, it takes just five minutes!
Make Your SharePoint 2010 Public Sites More Searchable . Yaroslav Pentsarskyy starts a series of articles on some code to crawl your SharePoint 2010 public site and automatically generate an XML sitemap.
Additional MSDN Resources
ASP.NET Development
Silverlight Development
MSDN Magazine
MSDN Community Homepage
MSDN Subscription
Channel 9
Microsoft Cloud Services
Windows Phone 7 Developer Training Kit
Internet Explorer 9
MSDN Downloads
Virtual Labs
Evaluation Center
Windows Phone
MSDN Newsletter Archives
Received MSDN Flash from a friend?
If you've received this issue from someone via e-mail and would like to receive the free MSDN Flash newsletter biweekly, all you have to do is register. To unsubscribe from the MSDN Flash newsletter, click here
If you have any concerns regarding Microsoft privacy policies, please write to us at Microsoft Canada Co, Attention: Privacy Compliance Officer, 1950 Meadowvale Boulevard, Mississauga, Ontario, L5N 8L9. Legal Information
This newsletter was sent by Microsoft Canada 1950 Meadowvale Blvd. Mississauga, Ontario, Canada. L5N 8L9
The Names of actual companies and products mentioned herein may be the trademarks of their respective owners.
© Microsoft Corporation | Terms of use | Trademarks | Privacy Statement