This is a breaking change, please read all statements!
- JsAction now takes advantage of David Ebbo's WebActivator. This meas you have no more to register route handler, it will be performed automatically.
Locate this lines
routes.Add("JsActionRoute", JsAction.JsActionRouteHandlerInstance.JsActionRoute);
and delete them.
NOTE: You have to. An error will occur if you will forget (route name duplicate)
JsAction can now decompose complex type and give intellisense support for them. Check the documentation,
Intellisense feature for more informations
JsAction provides now basic WebApi support. Since WebApi is still in beta, JsAction WebApi is in beta too.
A new nuget package has been created. Refer to docmentation under WebApi tab to more informations.
*Code revisiting
JsAction project has been splitted in JsAction.BASE, JsAction.MVC and JsAction.WEBAPI in order to aim better organization. Have a look into source code tab.
- Helpers change
- JsScript html helper extension is now marked as obsolete. A new one has been created (and located into System.Web namespace, so this means you have no more to add @using directive in your views).
Please use
- WebApi can be used outside MVC project (WebForms, for example). So no HtmlHelpers can be used. WebApi script reference can be injected using a static method
@JsActionHelper.WebApiScript()
or, in webforms
<%= JsActionHelper.WebApiScript() %>
- No more binaries on codeplex.
Nuget is the best way to install libraries and software. Since i do little modification between releasing versions, please always refer to source code tab and nuget package manager to have latest version.
The zip contained here is actual snapshot (31/03/2012) and may change in near future.