This project is read-only.
Project Description
JavaScriptModel is a .NET library to transfer data to JavaScript or execute js-functions from .NET server-side code (C#, VB.NET) as embedded json on the website

  • Transfers data from code behind to javascript as embedded json
  • Executes javascript functions from code behind
  • Cross-browser compatible
  • ASP.Net MVC3-support
  • ASP.Net MVC4-support
  • Customizable data store
  • Extendable for other web application frameworks
  • Uses the high-performance JSON framework Json.NET to serialize classes
  • Uses json2 to deserialize the embedded json
  • Supports .NET 4.0/4.5

  • No ajax requests needed for data exchange
    • Faster site loading (no asynchronous calls to wait for)
    • Less server load and traffic
    • No context loss
  • No inline javascript required for data exchange or function calls
    • Faster site loading (no blocking javascripts)
    • Maintainability due to clean view code without javascript
  • Easy to integrate
  • Easy to use
  • Less traffic in combination with a javascript template system


Install JavaScriptModel for ASP.Net MVC4 using NuGet

Install JavaScriptModel for ASP.Net MVC3 using NuGet

Install JavaScriptModel for other web frameworks using NuGet

Getting started
You can find guides in our documentation.

You can find me on Twitter: @acuntex

Last edited Jul 4, 2014 at 9:49 AM by acuntex, version 21