NEW!
CSHTML5 has now become OpenSilver!

We are happy to announce that CSHTML5 has been significantly improved and rebranded to 'OpenSilver', which stands for 'Open-source reimplementation of Silverlight'. It is fully backward compatible and it can be downloaded from OpenSilver.net. Upgrading from CSHTML5 to OpenSilver is very easy.
Read the FAQ

What's New and Roadmap

CSHTML5 has now become OpenSilver!


We are happy to announce that CSHTML5 has been significantly improved and it has also been rebranded to 'OpenSilver', which stands for 'Open-source Silverlight'

It is fully backward compatible and it can be downloaded from OpenSilver.net.

Upgrading from CSHTML5 to OpenSilver is very easy.

Read the FAQ

 

Legacy NuGet Packages:

Please visit the CSHTML5 NuGet package history at:

https://www.nuget.org/packages/CSHTML5

 

Community links

 

Benefits of OpenSilver versus CSHTML5

Please read the page "FAQ - From CSHTML5 to OpenSilver" to learn about the benefits.

 

[Legacy] Benefits  of CSHTML5 v2 versus CSHTML5 v1

  • Whole new engine to convert C# to JS: now based on Bridge.NET instead of JSIL
  • Better performance
  • Much faster load times
  • Smaller footprint
  • Minification
  • Source maps (to debug in C# while running in the browser)
  • Support for build servers and VSTS (Azure DevOps) for continuous delivery
  • Support for newer C# versions (up to C# 7.2)
  • Distributed as a NuGet package (and a .VSIX setup for project templates and design-time VS integration)
  • Improved Mscorlib support
  • Errors are now also reported at Design-Time rather than at Compile-Time
  • Easier interop with JS frameworks (Angular, React, Vue...)
  • Better leveraging of the browser cache
  • Lots of bug fixes (support for "Post Build" event, support for the "dynamic" keyword, much more...)

 

Old Announcements

  • New "Preview" releases of CSHTML5 v2.0 have been recently released on the Forums. IMPORTANT: be sure to update the Package References to the much newer versions that are now available on NuGet.org
  • Initial support for "Telerik Kendo UI" (DataGrid, RichTextEditor) and "Syncfusion Essential JS" (Spreadsheet control, RichTextEditor). You can see them in the Showcase App. A tutorial for the Kendo UI controls is available here. Note: a separate license from Telerik or Syncfusion is required to use these features.
  • "Material Design" styles kit. You can see it in the Showcase App. The source code is available here.
  • New "Premium Support Edition" available for purchase! Learn more
  • CSHTML5 has gone open-source and is now dual-licensed. Read the announcement

 

Related Links