what are you looking for?

JONDJONES.COM
  • Books
    Umbraco
    • Umbraco .NET Core Mastery
    • Umbraco V8 Secrets Exposed
    CMS
    • Contentful - The Missing Manual
    • Episerver Missing Manual
  • CMS
    Umbraco
    • V9 Tutorials
    • V8 Tutorials
    • V7 Tutorials
    • Ultimate Umbraco Guide
    • BOOK: Umbraco .NET Core Mastery
    Episerver
    • Tutorials By Published Date
    • Tutorials By Category
    • Ultimate Episerver Guide
    • BOOK: Episerver: The Missing Manual
    Sitecore
    • Sitecore Tutorials
  • Programming Tutorials
    React JS
    • Ultimate React Guide
    • Tutorials By Published Date
    • Tutorials By Category
    Javascript
    • Tutorials By Published Date
    • Tutorials By Category
    • CODE: #ILoveJavascript
    C#
    • .NET Core Tutorials
    • Architecture
  • Tactics
    Productivity
    • Productivity Tutorials
    • Ultimate Productivity Guide
    Career Help
    • Career Tips
    • Insights
  • YouTube
  • About
  • Hire Me
    My Services
    • Umbraco Freelancer
    • Episerver Freelancer
    • JAMStack Freelancer
    My Qualifications
    • My Portfolio
    • LinkedIn Profile
    • Stackoverflow CV
    My Company & Experience
    • Digital Prompt
  • Contact

Sitecore and MVC

  • Homepage
  • Learn Sitecore CMS
  • Sitecore Developers Guide
  • Sitecore and MVC
How To Make Sitecore Use a MVC Controller, Controller Renderings Explained
How To Make Sitecore Use a MVC Controller, Controller Renderings Explained
Sun 3 April, 2016
How To Architect Your Sitecore Website With MVC
How To Architect Your Sitecore Website With MVC
Sun 3 April, 2016
Sitecore and MVC

MVC, or, Model-View-Controller is an architectural pattern that’s been around since the 70’s that helps split your website code into three main layers, Model, View, and Controller. MVC is a big step up over traditional asp.NET web forms. MVC pattern forces a separation of concerns within your website. This separation makes things like unit testing, maintenance and writing code easier. MVC helps to separate your C# logic within the HTML, CSS, and JS presentation code.

Sitecore allows you to build your website with either MVC or Webforms, even though web forms is so inferior companies are still using is.. if you are new to Umbraco then my advice is… DO NOT USE WEB FORMS FOR NEW PROJECTS! Sitecore MVC can even be configured to work with ASP.NET Web Forms side by side and you can switch between them from request to request. If you have inherited an old Umbraco website and you don’t want to start from scratch, you can slowly refactor it, into more modern architecture.

The main difference between Sitecore MVC and traditional ASP.NET MVC is that Sitecore adds some special hooks and routes into the MVC pipeline that allows it to render Umbraco virtual pages, instead of pages based on controllers and actions. Sitecore MVC can be configured to work with standard MVC controllers and actions is you want it to, so it really is a very powerful platform that will allow you to do pretty much anything you can in a standard MVC website combined with the power of what Umbraco can deliver.

NAVIGATION
  • Sitecore Getting With Sitecore Development
  • Sitecore Core Concept
  • Sitecore API Explained
  • How To Configure Sitecore
  • Sitecore and MVC
  • Creating Your First Sitecore Page
  • Sitecore Best Practice, Tips and Tricks
  • Customising Sitecores UI
  • Sitecore Deployments
  • Sitecore Error Handling
  • Sitecore Events
  • Sitecore 7-8 Install Guide
  • Sitecore News
  • Sitecore Rocks
  • Sitecore Routing
  • Team Development for Sitecore
  • Sitecore Tools
  • Sitecore Troubleshooting Tips
  • Sitecore Unit Testing
  • Upgrading Sitecore
  • Sitecore Webforms For Marketers
FREE CODING NEWSLELTER
Shit My Websites Down

In this free weekly newsletter, I the best of the week within the world of web development. Links, humour, and tech news direct to your inbox. I won't spam, pinky promise!'

YOU ARE A LEGEND!

You just made.. THE LIST!

.
Help Keep The Site Running!


SUPPORT THIS SITE

Click An Advert

WELCOME

Hi,, I'm Jon, I write articles about creating and optimizing websites to help your business meet its goals. I am a technical architect and technology fanatic by profession. You can find out more about me by joining my newsletter.

Latest Posts
  • New Must Know Lambda Expressions In 2024? Time for a .NET 9, 8 & 7 Review!
  • What's The Best Dev Tool... True DevTools Or DevToys?
  • Umbraco Management API Getting Started Guide
  • Improve Copy And Paste In VS-Code In 5 Minutes

© Jon D Jones