This project is read-only.

Project Description

SharperHTML provides an ASP.NET MVC ViewEngine and powerful C# library to generate high quality XHTML output. The product helps to identify errors at compile time, must have for serious (not only) MVC projects, but any project handling document content. Includes runnable nerddinner examples.


Shortcuts of what happened in The Sharper Project
  • 2009-12-28 Announcement of SharperHTML 1.0 for early 2010 (general availability)
  • 2009-12-24 SharperHTML 0.91(stable) available for download
  • 2009-12-15 We will publish a maintenance release on Dec, 21st. The major changes will be regarding test coverage and the future release layout.
  • 2009-12-04 SharperHTMLConverter announced
  • 2009-11-30 SharperHTML 0.9(stable) available for download


Currently we intend to publish the following products:*
  • SharperHTML (version 1 see below)
    • provides an ASP.NET MVC ViewEngine
    • powerful OO C# library to generate high quality document output
    • helps you to identify errors at compile time
    • must have for serious (not only) MVC projects, but any project handling document content
  • SharperHTMLConverter (late december 2009)
    • converts existing assets from (X)HTML into C# code.
  • SharperHTML (version 2, as soon as ASP.NET MVC 2.0 available)
    • provides the same functionality as mentioned above and some additional features
  • Sharper NerdDinner
    • an example that uses nerddinner project introduces some aspects within the scope of SharperHTML

Both products will be published here. And we would very much appreciate your feedback.


SharperHTML is a C# library to generate well formed HTML documents using C#. It can be used everywhere, where you need to generate XHTML.

Information on how to get started and examples for the main usage scenarios as we know them today can be found here.

Special focus has been put on ASP.NET MVC 1.0, because we experienced some issues with ASP-Views in larger projects.

With SharperHTML you get
  • your views (= C# classes for ASP.NET and ASP.NET MVC) compiled at compile time, not at runtime, so you get a compile error for a typo and not a run time exception
  • your views can be tested with the same testing tools you use for the rest of your code.
    • don't you test your views, folks?
    • no Code Covererage, no NCover? really nothing? Very confidently! )
  • Full Intellisense - it is just C#
  • Never ever have encoding problems! You never encode anything, so you cannot make mistakes.
    • there is no blank text in views, which can be malformed
    • all the inline scripts will be enclosed in cdata, if necessary
    • No <code>Response.Write()</code>, so no errors


© 2009 Sharper Group. All rights reserved. For educational purposes of our users here at codeplex we recommend and use the nerddinner example. In fact we reuse this common example to show the most important aspects and steps developing high quality and high performance products using SharperHTML and its associated tools.

The Sharper Project has been started to publish important experience and results relevant for your software developement project in order to improve performance and quality. We are a team of professional consultants in various roles essential for successful projects.

Last edited Feb 7, 2010 at 10:25 AM by woithe, version 49