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
This sounds like a good occasion to publish our whiz bang MVC Function feature.

So instead of the "MVC Player" which only let you enter a "mvc route" which we would then "play" this thing let you turn both MVC controllers and MVC Actions into C1 Functions. This can be done in one of two ways. Either by decorating your MVC code with attributes (making C1 pick up your controllers / actions) or via an API, where you pass references to controllers / actions to "MVC Functions". The latter is nice if the MVC code is hands off for some reason or you just want the MVC code 100% pure. The attribute approach is nice if you like the MVC pattern and want to do custom development with it in C1.

We will post some documentation here shortly.

This is still in "pre release" state, but seems to work and so far we got good feedback on it.

To use it:
  1. Use the latest souces for C1 - MVF Functions will use some new core features.
  2. Grap the Composite.AspNet.MvcFunctions package from https://c1packages.codeplex.com/SourceControl/latest
For a fully stable/tested version of C1 and MVC Functions you would have to wait for our next public release (expected October at the latest).

Viewing all articles
Browse latest Browse all 2540

Trending Articles



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