Try Now
More in this section
Blogs RSS feed

Sitefinity MVC Store Sample Website Project

by Josh Morales

As mentioned in today's webinar, Sitefinity now includes full support for developing using ASP.NET MVC. Because this implementation is fully in line with Microsoft's guidelines, we can make use of their samples and code from the ASP.NET MVC website.

I've put together one of those samples using Sitefinity CMS for ASP.NET MVC, specifically the MVC Music Store which demonstrates creating a simple, yet full-featured store using Sitefinity and MVC.


Mix and Match

Probably the best part of the new MVC support in Sitefinity is the ability to interact with various Sitefinity components through the robust Sitefinity Developer API. This allowed me to replace the default Entity Framework implementation for the data layer (which I could have done if I wanted to, or better yet, the now free OpenAccess!) with a custom module built with the Module Builder.

As a result, in addition to the default admin editor from the MVC example, I also have a full featured editor, allowing me to easily integrate with Sitefinity permissions, Url Routing, Search, revision history and all of the other great features Sitefinity provides out of the box.


The original admin interface from the example is still available, and fully functional.

Sitefinity-MVC-Store-Admin Sitefinity-MVC-Store-Create-Item

You can even checkout, storing your purchases in the Orders and OrderDetails content types.


More MVC Goodness

Sitefinity's MVC implementation supports more than just the core MVC framework; many of the other MVC features are available and supported for use within Sitefinity, including HTML Helpers:


Attribute decorators (such as HttpPost and Authorize):

Sitefinity-MVC-Attribute-HttpPost Sitefinity-MVC-Attribute-Authorize

as well as Data Annotations for validation!

Sitefinity-MVC-Data-Annotations Sitefinity-MVC-Validation

Download the Sitefinity MVC Store Sample Project

The full project and source code for the Sitefinity MVC Store is available below. You will need to provide a license to run the project, so be sure to get one from your Sitefinity account.

If you haven't already, be sure to download the latest Sitefinity release from your download account and try it for yourself!

Download the Sitefinity MVC Store Sample Project

Login: admin
Password: password


Leave a comment
  1. Mark Jul 19, 2012
    Thanks for posting this Josh. Is there anyway we can get the employee site that was demoed as well?
  2. Josh Jul 19, 2012
    I think gabe is looking into it, watch the blogs, if we share it I'm sure we'll announce it there!
  3. Jonathan Jul 20, 2012
    Hi Josh

    What's the username / password for the sitefinity backend?
  4. Gabe Sumner Jul 21, 2012
    admin / password
  5. Josh Jul 23, 2012
    oops totally forgot to include that, thanks jonathan for asking and Gabe for posting the info, added to the post, thanks!
  6. Stuart Turner May 21, 2013
    This works fine in sf 5.1 but I'm struggling to get validation working in sf 6. I think the jQuery validate js has been removed from later versions. Any chance you can update this sample to work in sf 6?
  7. Stuart Turner May 30, 2013
    I've been told by Telerik that validation by Data Annotation in hybrid mode no longer works and won't be reintroduced until SF 6.1 or 6.2 )-:
  8. Joao Jun 09, 2013
    Hei man the project don´t open
  9. Joao Jun 09, 2013
    Hei man the project don´t open
  10. RM Mar 17, 2014

    Download is missing again.

  11. Minami Mar 19, 2014

    Thank you very much for posting this.

    It would be nice if the download become available again.

  12. Craig May 04, 2014
    It would be awesome for this project to be up again
  13. Sam Aug 20, 2014
    Download missing
  14. JAM Oct 29, 2014

    This file is no longer available.

  15. MK Mar 02, 2015
    Could you please upload it? Thanks in advance.
  16. Kenneth Mar 09, 2015
    Links in expired~Please upload again~Thanks in advance!
  17. Manik May 23, 2015
  18. mike Dec 25, 2015
    link ????????????????????
  19. FrustratedSFDeveloper Feb 16, 2016
  20. Kishor Kulkarni Mar 05, 2016
    download link is missing
  21. Mruga Mar 13, 2016
    please put this project.. because the file is missing
  22. AB May 10, 2016
    LINK is broken
  23. Archana Jun 30, 2016
    can you provide me sample of Sitefinity based project in MVC.

    Leave a comment