Microsoft sharpening Razor view engine for ASP.Net

The view engine, a pluggable module that implements different template syntax options, is due to ship soon

Microsoft is developing a "view engine" for its ASP.Net Web development platform, optimized around HTML generation via a code-focused templating approach, a Microsoft official said in a blog post.

A public beta release of the view engine, which is codenamed "Razor," will ship shortly, said Scott Guthrie, vice president of the Microsoft Developer Division, in a late-Friday evening blog post. View engines, he said, are pluggable modules that implement different template syntax options. Other view engines used with ASP.Net have included Spark and NHaml.

[ InfoWorld's Paul Krill reported last week that Microsoft also is adding embedded database capabilities to ASP.Net ]

"We think 'Razor' provides a great new view-engine option that is streamlined for code-focused templating.  It [features] a coding workflow that is fast, expressive and fun. Its syntax is compact and reduces typing -- while at the same time improving the overall readability of your markup and code. It will be shipping as a built-in view engine with the next release of ASP.Net MVC (Model View Controller)," Guthrie said. 

Design goals for Razor including compactness, expressiveness, and fluidity, in which Razor minimizes the number of characters and keystrokes in a file and enables a fast, fluid coding workflow.

Microsoft intends for Razor to be easy to learn and to work with any text editor. Microsoft also is pondering how Razor could enable development of re-usable HTML helpers using a more declarative approach. Razor is designed to provide a rich code editing experience within the Visual Studio IDE.

"We will provide full HTML, JavaScript, and C#/VB code Intellisense within Razor-based files," said Guthrie.

But Razor will not feature a new imperative language.

"Instead we wanted to enable developers to use their existing C#/VB (or other) language skills with Razor, and deliver a template markup syntax that enables an awesome HTML construction workflow with your language of choice," Guthrie said.

In other application development news, Microsoft announced on Tuesday general availability of its Silverlight rich Internet plug-in technology for the Symbian mobile phone platform.

"We are very pleased to announce the general availability of Silverlight for Symbian. This brings the Silverlight experience to the 20+ million users of Nokia S60 5th edition Nokia 5800 XPressMusic and Nokia N97 devices," the company said in a blog post.

Silverlight for Symbian features hardware-assisted playback of H.264 content, IIS (Internet Information Services) smooth streaming and rich UI capabilities.

This article, "Microsoft sharpening Razor view engine for ASP.Net," was originally published at InfoWorld.com. Follow the latest developments in business technology news and get a digest of the key stories each day in the InfoWorld Daily newsletter and on your mobile device at infoworldmobile.com.

Read more about developer world in InfoWorld's Developer World Channel.

Tags application developmentDeveloper WorldsymbiantelecommunicationMicrosoftMicrosoft SilverlightsoftwareASP.Netoperating systemsmobileDevelopment tools

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

InfoWorld

Comments

Comments are now closed.

Most Popular Reviews

Follow Us

Best Deals on GoodGearGuide

Shopping.com

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Shopping.com

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?