https://github.com/ogaudefroy/mvcrenderer
ASP.Net WebForms control rendering MVC actions
https://github.com/ogaudefroy/mvcrenderer
asp-net asp-net-mvc webforms
Last synced: 11 months ago
JSON representation
ASP.Net WebForms control rendering MVC actions
- Host: GitHub
- URL: https://github.com/ogaudefroy/mvcrenderer
- Owner: ogaudefroy
- License: mit
- Created: 2016-10-12T21:33:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-14T19:21:10.000Z (over 9 years ago)
- Last Synced: 2025-02-28T05:55:01.615Z (11 months ago)
- Topics: asp-net, asp-net-mvc, webforms
- Language: C#
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MvcRenderer
ASP.Net WebForms control rendering MVC actions
[](https://ci.appveyor.com/project/ogaudefroy/mvcrenderer) [](https://badge.fury.io/nu/MvcRenderer)
## Basic usage
<%-- Basic rendering %-->
<%-- Custom Area %-->
## Advanced usage
If you need to pass additional route values add an identifier to the control and set desired values in RouteValues property.
TempData are supported in rendered actions.
## Warning
If mixin WebForms with MVC for the first time, be carefull with declared MVC actions. If actions are not supposed to be accessible publicly do not forget to add a [ChildActionAttribute](https://msdn.microsoft.com/en-us/library/system.web.mvc.childactiononlyattribute%28v=vs.118%29.aspx) on the rendered actions.