Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Composite and better MVC support

$
0
0
@mawtex Eh... funny way to embrace your community? What about making your own thread instead of hijacking this one?

@identify

The controllers are discovered by decorating it with the MvcFunction-attribute like this [MvcFunction(Namespace = "Mvc.Functions", Name = "MvcTest")]. Then all assemblies are scanned for types with this attribute.

What action is finally being invoked is following normal MVC conventions, so you could have two actions executing on either a GET or a POST request.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>