DNN Blog

Jul 6

Posted by: Charles Nurse
7/6/2010  RssIcon

This article is cross-posted from my personal blog.

Earlier today Scott Guthrie announced a new “Web Stack” called WebMatrix.  WebMatrix is both the name of the complete stack (Web Server, Database and View Engine) as well as the name of the new lightweight development tool that you can use to create, edit and publish websites.

In this quick review, I propose to briefly describe the components that make up the WebMatrix stack and to highlight where these pieces relate to DotNetNuke (DNN).

What is WebMatrix?

There are four major components to the new WebMatrix “Web Stack”

  1. IIS Developer Express – a new free lightweight web-server, based on IIS 7, that runs on all versions of Windows and does not require Administrator level permissions
  2. SQL Server Compact Edition – a lightweight file based database that is simple to set up and free to download.
  3. ASP.NET “Razor” – a new  view-engine option for ASP.NET that can be used to easily embed C# or VB code within an HTML page. This is “bin” deployable and free.
  4. WebMatrix Tool – a free lightweight developer IDE that integrates all the components.

Did you notice that all the pieces were free?

What is the purpose of these new technologies?

One of the main challenges with the current Windows based “Web Stack” (WINS – for Windows, IIS, .NET, SQL Server) is that it requires significant investment of dollars and is aimed at the more sophisticated developers.  In comparison the equivalent Linux “Web Stack” (LAMP – for Linux, Apache, MySQL, PHP) is much cheaper in dollar terms – all components are available free, and therefore more approachable for beginner developers.  In addition there is a large suite of open source php applications which are ready to run. 

Enter WebMatrix - all components are free and are installable on any Windows Computer.  In addition they are also compatible with the more sophisticated (and expensive) components which make up the current Windows “Web Stack”.  Developers can learn on this platform and transfer their skills onto the more complex platform later.

WebMatrix also helps a second category of developers – people who want to download Open Source Applications (like DNN), make some minor changes and publish their site.  The WebMatrix developer IDE can open an application directly from the Windows Web Application Gallery.  In Scott Guthrie’s post today he shows this – and in the second screenshot you can see DotNetNuke as one of the applications that can be opened/downloaded.

Where does DNN fit in?

I will leave it to others more qualified than me to discus how WebMatrix and DNN fit “strategically”.  But what about from a technology perspective.

  • The ability of the WebMatrix tool to open an Application directly from the Web Application Gallery is really kinda cool, and if you combine this with its ability to publish to a remote server, I can see this being used by a lot of people to download DNN, make some changes whatever they might be and publish their modified site to a hosting environment.  Currently we don’t have an easy story for this scenario.
  • The Razor View Engine is kinda cool and is a new approach to combining markup (HTML) and code (C# or VB).  Can we make DNN modules using CSHTML or VBHTML pages?

In future blogs I will delve deeper into these technologies.  In the meantime you can read Scott Guthrie’s blogs which I linked to above. 

On a personal note, if you want more detail on the new Razor parser, check my son Andrew’s blogs.  As many of you know Andrew was a past DotNetNuke Core Team member, and for the last 9 months has been working at Microsoft on the new Razor parser.

3 comment(s) so far...


Gravatar

Re: WebMatrix, Razor and DNN

Hi Charles, just wondering how you've handled the fact that SQL CE doesn't support stored procedures? Have you made a separate SQL CE provider, and should module developers be thinking about supporting SQL CE (and SQL Azure) in future?

By Mark Allan on   7/7/2010
Gravatar

Re: WebMatrix, Razor and DNN

Hi Charles,

The biggest potential here for DNN IMHO is the Razor engine. The engine can simply be embeded in an app and used to render objects over markup / code.

Now think of the cool scenarios this can offer for tools like Xmod, etc. With the raw power of a clean rendering enging, I can see how this could change the way we do skins, modules, as well as advanced html themplates in DNN.

The quick onramp proposition in WebMatrix is great for DNN, but the true power I think is found in the new Razor view engine.

By Mitch Labrador on   7/7/2010
Gravatar

Re: WebMatrix, Razor and DNN

@Mark - I haven't done anything yet to attempt to use SQL CE. This means that users using DNN with WebMatrix still need SQL Server or SQL Express

@Mitch - Totally agree on the Razor View Engine. I am going to pick Andrew's brains this weekend to see how we can make efective use of Razor - stay tuned.

By Charles Nurse on   7/7/2010
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
DotNetNuke Store

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

r2integrated
Telerik JustCode Free
Exact Target Exec Alert

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.