Ektron ASP.NET MVC Sample

Ektron ASP.NET MVC Sample

Posted in Reference on Dec. 3, 2012 @ 4:10 PM, by Derek Barka

This sample is an updated version of the MVC sample I demo'd at Synergy 2011. It’s been upgraded to Ektron 8.6 SP1 and MVC 4.0.  Ektron 8.6 makes the aliasing component much easier.

Directions to get sample running.

  1. Make sure you have ASP.NET MVC 4 installed
  2. Unzip the sample to your machine.
  3. Create a database called SampleMvc
  4. Restore the database using SampleMvc.bak
  5. Open the SampleMvc.Sln
  6. Update your web.config to point to your database (Ektron.DbConnection)
  7. Hit F5 and run the site!

More information on my Blog: MVC Sample

| 7 comments | Tested in CMS400 8.6

Comments (7)

  • it is asking me where CmsApi.cs is. I don't have that file either from the sample download, or in my ektron 8.6 install. Any ideas?

    2/21/2013 2:30:37 PM
    • Posted by mmeasor
  • I encountered the same CmsApi.cs error as mmeasor. Has anyone had any success with this?

    2/27/2013 3:53:33 PM
    • Posted by dom6
  • View Hidden files in the solution and delete the .suo file and reopen the solution and the CMSAPI.cs error should resolve itself and the site open.

    That's what the issue for me ended up being.

    3/22/2013 3:09:26 PM
    • Posted by Ash Quakenbush
  • Thanks for the MVC Sample in Ektron. I have done the MVC setup in Ektron and its working fine.

    And also, I have created the new Asp.Net MVC 4 site setup using Ektron 3-tier Architecture. The new MVC site is working for all the all URL aliased pages also. Just I have implemented the following two classes which is responsible for URL Aliasing and web.config changes,



    just, I want to know, what is the main use of Custom URL Aliasing?

    Is the Custom URL Aliasing required, when we do the MVC site setup in 2-tier Architecture?

    Your response will be more appreciated.

    Thanks once again.

    4/30/2013 9:14:29 AM
    • Posted by udhay
  • http://developer.ektron.com/experts/derek-barka/MVC-Ektron-CMS/ is a broken link anyone know if this information exists anywhere now?

    1/17/2014 4:31:34 PM
    • Posted by AndrewDHokie
  • I know this is really old but once I got the MVC project to run how do I log into the workarea to check the back end content?

    Thank you.

    3/24/2015 6:48:38 PM
    • Posted by slam@dacor.com
  • This sample Absolutely DOES NOT run on Ektron 9.0

    5/19/2015 1:41:02 PM
    • Posted by MSDEVTECH

Add a Comment

Please sign in or register to make a comment on this submission.

What Do You Think of our New Design?


Have more to say? We’d love to hear it!