In keeping with their annual cadence, Microsoft has begun work on the next version of ASP.NET MVC. Areas of emphasis include smoothing out the development and deployment workflow, sharing more features with Web Forms, improving AJAX support, and offering a better story for HTML 5 on mobile and tablet devices.
Stack Exchange has released the ASP.NET MVC profiler that is used by Stack Overflow and its sister sites. MVC Mini Profiler is an internal profiler specially designed to support database-backed websites.
Jon Galloway is researching dynamic ASP.NET MVC 3 models using Mono’s Compiler as a Service. Meanwhile Karsten Januszewski is looking into deserialized JSON in lieu of statically typed models.
The first keynote for MIX just concluded with lots of web-platform goodness including a new drop of ASP.NET MVC 3 that includes support for HTML 4 development and a preview of IE 10 running on an ARM processor. More updates from MIX will be available throughout the week.
Steve Sanderson recently introduced MVC Scaffolding, a customizable code generation tool for ASP.NET MVC 3. MVC Scaffolding uses a simple command-line interface to automatically generate code based on templates. Standard templates allow for automated generation of many common elements, including Views, Actions, and Unit Test stubs.
While ASP.NET MVC has made great strides in making development easier, in a post titled “ASP.NET MVC Is the New ASP” Michael Taylor argues that it actually makes it harder on user interface designers.
Last month Vladimir Kelman asked if it were possible to use F# with the new Razor view engine. After talking with Scott Guthrie and Marcin Dobosz we learned that it is possible, if you want to put in the effort to build all necessary plugins yourself.
Nearly a decade ago Microsoft gambled big on WebForms and static typing. With the dial cranked all the way over to full encapsulation, each page could almost be treated as its own program. In the intervening years the industry has largely gone in the other direction, favoring separation of concerns over encapsulation and late binding over early binding. Now Microsoft is doing the same.
Microsoft’s ASP.NET team has taken the Agile philosophy of Deploy Early, Deploy Often to heart. Close on the heels of ASP.NET MVC 2, version 3 beta has already been approved for production use. With a whole host of promising new features including the Razor syntax, this will be a hard release to ignore.
Although ASP.NET MVC 3 Preview 1 has not been announced yet, the framework can be downloaded from Microsoft downloads. The list of new features include: Dependency Injection, Razor View Engine, Dynamic View and ViewModel properties, and Global Filters.
WebMatrix is a free tool from Microsoft putting together a web server, ASP.NET + Razor, SQL Server CE and an IDE for creating simple websites.
Optional parameters have always been part of .NET, but with C# unwilling to support it, using them was generally considered taboo unless work with COM libraries. Now that C# 4 does support them, we are starting to see them used for a lot more than just legacy code. Other uses include interoperability with dynamic languages, immutable data structures, and various parts of ASP.NET MVC.
With last week’s introduction of Razor, there are now four major view engine for ASP.NET MVC. The others are Spark, NHaml, and the traditional ASPX file templates. This article introduces the four engines with a special focus on the new Razor engine.
A few days ago Scott Guthrie announced the production release of ASP.NET MVC 2. With it comes with many new features, but also some breaking changes. Compared to the rather strict rules around changing .NET’s base class library, the changes in ASP.NET MVC are almost caviler.
ASP.NET MVC 2 is now ready for production use. Microsoft’s open source MVC framework is compatible with both .NET 3.5 and the soon to be released .NET 4. It provides many new features including Templated Helpers, Areas, Asynchronous Controllers, and a new validation framework.