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.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags mobileMicrosoftoperating systemssymbiansoftwaretelecommunicationapplication developmentDevelopment toolsDeveloper WorldASP.NetMicrosoft Silverlight

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

Paul Krill

InfoWorld
Show Comments

Father’s Day Gift Guide

Brand Post

PC World Evaluation Team Review - MSI GT75 TITAN

"I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it."

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?