12 votes

MvcBridge

MvcBridge is a set of helper classes that enables you to render standard Razor MVC PartialViews, complete with strongly typed Razor MVC Views, Modelbinding, Controllers, Actions, Html Helpers and Validation.

I started this package as I was in need of some standard Razor MVC form render, validation and posting. I wanted to have the full Mvc Modelbinding in Mvc Razor views and actual Mvc Controllers that handle the requests and postback from the form.

UPDATE 30-6-2012: BREAKING CHANGES!!!. refactored and simplified usage, no need to inherit from MvcBridgeController or MvcBridgeView anymore. Please check MvcBridgeDemo_1.2.0.zip for usage.

Formtoken is replaced by the AntiForgeryToken, this token is needed to make postback work and to make a distinction between multple forms.

Added documentation: http://our.umbraco.org/FileDownload?id=4139

UPDATE 30-5-2011: added support for multiple views and forms

UPDATE 27-5-2011: see youtube demo : http://youtu.be/7ZK-IlOFKWI

UPDATE 27-5-2011: sourcecode available on codeplex

Hope this is helpfull. If some people are interested in this package,

The MvcBridgeDemo is a solution demonstrating the package usage. Be sure to add a project reference to your Umbraco site and check the references for the Devotit.Umbraco.MvcBridge.dll in the MvcBridgeDemo project.

The MvcBridgeDemo project has post-built events that should copy the files for you, but you need to make sure that the destination is setup correctly.

Any feedback is welcome, thanks!

 

Screenshots

Project owner

Richard Boelen

Richard Boelen

Richard has 152 karma points

Project Compatibility

This project is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Project Information

  • Project owner: Richard Boelen
  • Created: 25/05/2011
  • Current version 1.2.0
  • License MIT
  • Downloads: 5320

External resources