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

New Post: what's under the hood?

$
0
0
I can tell from my own experience that having MVC apps running side-by-side with C1 works fine. On this website for instance http://oqaasileriffik.gl/, we have a whole Administration Application created in MVC which runs in a Admin area (http://oqaasileriffik.gl/Admin/KlWord).

The route registration simply looks like this
AreaRegistration.RegisterAllAreas();

routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.IgnoreRoute("{*allaspx}", new { allaspx = @".*\.aspx(/.*)?" });
routes.IgnoreRoute("{*favicon}", new { favicon = @"(.*/)?favicon.ico(/.*)?" });

routes.MapRoute("Default", "{controller}/{action}/{id}", new { controller = "KlWord", action = "Index", id = UrlParameter.Optional }, new [] { "Oqaasileriffik.Web.Controllers" });
And while the C1 MVC Player works fine for simple controllers and routes, there are issues when hosting whole complex application through it.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



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