Thoughts on Software

Introducing the Shaver Framework: an Open Source Project for ASP.Net MVC

with 4 comments

After my presentation at the MTUG Dev Day earlier this month, I have been asked a number of times for the source code of the sample custom view engines I used in my talk. The delay in posting the source code has been due to the fact that when I started looking at it, I realized that what I had done, with a bit of refactoring and re-engineering, could be made into quite a useful open source project. Hence the delay!

But finally, I am ready to announce the existence of Shaver, an ASP.Net MVC Open Source Project that allows the extension of the Razor View Engine to allow views to be written in standard Razor syntax but used to produce any type of output you want. Most custom view engines for ASP.Net MVC offer different syntax for writing your views in; Shaver reuses standard Razor syntax but allows you to perform any task you want with the output. Examples included in the project include a logging view engine, a view engine that converts HTML / CSS to PDF and displays the generated PDF instead and a mailer view engine that can produce a mail merge from a standard Razor view.

The possibilities are potentially endless …

In the hope that this will prove useful, I have now released this project under the GNU LGPL on GitHub: Shaver. Please have a look, play around with it, offer any constructive criticism and suggestions and let me know what you think!

Next: in-depth introduction to Shaver

Written by andrewlocatelliwoodcock

October 27, 2011 at 19:40

4 Responses

Subscribe to comments with RSS.

  1. […] a comment » In my last post, I introduced the open source Shaver View Engine. In this post, I will expand on what Shaver is, what it does (and doesn’t do) and how it does […]

  2. … [Trackback]…

    […] Find More Informations here: […]…

    Elektrische Zahnbuerste

    November 25, 2011 at 17:06

  3. Website Trackback Link…

    […]the time to read or visit the content or sites we have linked to below the[…]…

    Buy Guaranteed Fans

    December 18, 2011 at 12:48

  4. Spot on with this write-up, I truly suppose this website needs way more consideration. I’ll most likely be again to learn way more, thanks for that info.

    Houses to let in Sunderland

    June 28, 2012 at 15:55

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: