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

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Aysha Strobbe

Microsoft Office 365/HP Spectre x360

Microsoft Office continues to make a student’s life that little bit easier by offering reliable, easy to use, time-saving functionality, while continuing to develop new features that further enhance what is already a formidable collection of applications

Michael Hargreaves

Microsoft Office 365/Dell XPS 15 2-in-1

I’d recommend a Dell XPS 15 2-in-1 and the new Windows 10 to anyone who needs to get serious work done (before you kick back on your couch with your favourite Netflix show.)

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

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.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?