Sign in Register
Our Umbraco
  • Forum
  • Packages
  • Documentation
  • Community
  • Discord
  • Download
  • Sign in
  • Our Umbraco
  • Search
  • mvc
  • MVC
    Forum / MVC
    Created: December 24, 2015 - Last update: December 24, 2015
    How to start MVC in umbarco
  • MVC
    Forum / MVC
    Created: May 02, 2016 - Last update: May 13, 2016
    Hi, How to start Umbraco With MVC, please provide some use-full link for learning ThanksThanksHi Dennis, Umbraco TV access is free or not? Hi Alex, I would like to add, our Umbraco TV channel, there you can find some basic stuff about Umbraco CMS including MVC. https://umbraco.tv/videos/umbrac…
  • MVC
    Forum / MVC
    Created: August 16, 2016 - Last update: August 16, 2016
    Hi, How to start Umbraco 7 With MVC? Please suggest ThanksHi Alex, Please find below link for surface controller documentation. https://our.umbraco.org/documentation/reference/routing/surface-controllers https://umbraco.com/follow-us/blog-archive/2015/2/13/creating-multi-step-forms-using-a-surfa…
  • MVC Areas
    Forum / MVC Areas
    Created: August 03, 2017 - Last update: May 13, 2019
    Hi, I am new to Umbraco. In the Documentation section, haven't seen any topic about using MVC Areas in Umbraco. I currently have a number of pages which are using template, partials views and surface controllers and would like to put them into the structure of Areas. Do we have an example of the…
  • MVC form
    Forum / MVC form
    Created: February 17, 2016 - Last update: February 18, 2016
    Hi, I have an MVC form which needs to validate well with javaqscript disabled on the browser as well. I am unable to get it working . Has anyone had a scenario like this? Any help much appreciated. PoornimaGlad to hear you go it solved. Don't forget to mark this post as a solution so others can f…
  • nForum_MVC?
    Forum / nForum_MVC?
    Created: January 22, 2014 - Last update: December 10, 2014
    Probably missed a post on this but I remember last year you said you were working on nForum_MVC. Has any progress been made with this at all?   Alan  Here you can find the v7 version: http://our.umbraco.org/projects/collaboration/dialogue JeroenHi Lee, Followed this thread with inter…
  • MVC and Umbraco
    Forum / MVC and Umbraco
    Created: February 23, 2013 - Last update: March 25, 2022
    Hi All, Hope all is well, and firstly I would like to thank all the great minds behind the Umbraco project because I sincerely think it's a job well done! When I first started working on Umbraco, there was no hype about MVC, it was a well known architecture, but not applied as rigourously as it migh…
  • NavIt Mvc
    Starter Kits / Packages / Our
    Created: June 24, 2013 - Last update: December 14, 2023
     NavItMvc is a template Mvc partial view that is designed to be used for generating different types of navigation. I created this package to help those developing their own Mvc navigations as a starting guide as I found a lot users asking the same questions on the forum. NavItMvc install…
  • Umbraco 7.1.8 MVC - Devexpress MVC
    Forum / Umbraco 7.1.8 MVC - Devexpress MVC
    Created: November 04, 2014 - Last update: November 07, 2014
    Trying to implement Devexpress MVC components to a new Umbraco 7.1.8 installation. I need to place this in my "master layout" @Html.DevExpress().GetStyleSheets(new StyleSheet { ExtensionSuite = ExtensionSuite.NavigationAndLayout },new StyleSheet { ExtensionSuite = ExtensionSuite.Editors },new StyleS…
  • Umbraco 6 MVC - Custom MVC Route
    Forum / Umbraco 6 MVC - Custom MVC Route
    Created: May 29, 2013 - Last update: August 03, 2016
    Hello all,I am trying to register a custom route to an action in my SurfaceCntroller as follows: routes.MapRoute( "MemberProfile", // Route name "user/{profileURLtoCheck}", // URL with parameters new { controller = "ProfileSurface", action…
  • compatibility with DevExpress MVC?
    Forum / compatibility with DevExpress MVC?
    Created: February 27, 2014 - Last update: October 05, 2022
    does anyone know if Umbraco MVC (6.x) is compatible with DevExpress MVC product suite? if DevExpress is not compatible or if you know of other development suites that do work with Umbraco MVC that would be much appreciated. Many thanks in advance!I ended running into issues because I was trying to w…
  • Working with MVC in Umbraco
    Documentation / 10 / umbraco cms / reference / templating / mvc / README
    Created: - Last update: May 16, 2025
    Working with MVC in Umbraco How to work with MVC templates in Umbraco Viewsviewsmd Working with MVC Views and Razor syntax in Umbraco See some quick examples hereexamplesmd Partial Viewspartialviewsmd Documentation covering how to use Partial Views This is not documentation about using Parti…
  • MVC Display Templates?
    Forum / MVC Display Templates?
    Created: March 10, 2015 - Last update: March 10, 2015
    Is it possible to use MVC display templates with our MacroPartial views? Typically they would reside in Views\Shared\DisplayTemplates for a normal MVC app. Where would I put them for Umbraco?
  • MVC Area support
    Forum / MVC Area support
    Created: August 03, 2017 - Last update: August 03, 2017
    Hi, I am new to umbraco. how is MVC areas supported in v7.x? I have a number of pages created through Content in backoffice and would like to put them into the structure of MVC Areas. The pages are composed of partial views which in turn generated from various surface controllers.
  • MVC in Umbraco Platform?
    Forum / MVC in Umbraco Platform?
    Created: March 12, 2015 - Last update: March 17, 2015
    How to integrate MVC in Umbraco platform?Thanks for the valuable answer. We will implement MVC model as per your suggestions.You can have a look at the Hybrid Framework. It has some nice examples: https://our.umbraco.org/projects/developer-tools/hybrid-framework-for-umbraco-v7 JeroenHi IDS Logi…
  • Umbraco with Pure MVC
    Forum / Umbraco with Pure MVC
    Created: March 07, 2017 - Last update: March 07, 2017
    Hi, Just a quick question about using Umbraco with pure MVC. I was wondering is it possible to create website where pages like Home , contact us , who we are and other contect pages can be created in Umbraco so user can update these pages. And pages like shopping cart, product listing,checkout etc c…
  • Umbraco 7 and KendoUI MVC
    Forum / Umbraco 7 and KendoUI MVC
    Created: December 05, 2014 - Last update: December 05, 2014
    I just whant to know if someone else use Telerik KendoUI MVC with umbraco 7 ? I try to making work a MVC call from the kendo Listview to my controler but the call never reach the controller. I am not very familiar with Umbraco particular routing, and meaby is the point here? If you work with kendo,…
  • Upgrade Advice and MVC 5
    Forum / Upgrade Advice and MVC 5
    Created: August 14, 2015 - Last update: August 14, 2015
    If you are Upgrading Umbraco from 7.2.X to 7.2.8 and Upgrading from MVC 4 to MVC 5. Don't do both at the same time. Upgrading MVC 4 to 5 will break the web.config in the views directory, which causes webapi to blow up, so the umbraco installer won't be able to run. You won't have much information…
  • Does this approach 'break' MVC?
    Forum / Does this approach 'break' MVC?
    Created: March 29, 2019 - Last update: March 30, 2019
    I have a home page whose controller has an action result which returns a partial view. That partial contains a RenderAction which calls code in another controller to build a model based on IPublishedContent, then return another partial with the model passed in. Although it all seems to work, is it…
  • Istall Umbraco with asp.net mvc
    Forum / Istall Umbraco with asp.net mvc
    Created: March 13, 2019 - Last update: March 13, 2019
    I want to start my Mvc project with umbraco what is the besics.You can start a new **empty** project in Visual Studio. After that install the latest UmbracoCMS Nugt package and run it. [Link to the documentation][1] [1]: https://our.umbraco.com/Documentation/Umbraco-Cloud/Set-Up/Working-With-V…
  • MVC upload doesn't work
    Forum / MVC upload doesn't work
    Created: June 04, 2016 - Last update: July 03, 2016
    Hi. I have a Umbraco 7 working fine locally in Visual Studio. I have a MVC form working fine as well. However when I upload the MVC form to my web hotel I get the error: Exception Details: System.InvalidOperationException: No route in the route table matches the supplied values. The error com…
  • Block List MVC
    Developer tools / Packages / Our
    Created: March 28, 2021 - Last update: December 14, 2023
    If you are not the type of developer that likes to put business logic in your views, then the ability to have a controller for you partial view is a must. Block List MVC gives you the ability, to create Surface Controllers, to use when rendering items from a Block List in Umbraco.   For more…
  • Passing URL parameter - MVC
    Forum / Passing URL parameter - MVC
    Created: September 13, 2014 - Last update: November 14, 2014
    Hi I'm new to U7 MVC and I want to access a URL parameter 'date' in my controller. The URL will have the form http://mydomain.com/image/2014-09-13 where 2014-09-13 is the 'date' parameter. The 'date' parameter will be used to check for existing images. The controller will be used on the 'image'…
  • MVC Custom Macros for editors
    Forum / MVC Custom Macros for editors
    Created: May 23, 2017 - Last update: May 26, 2017
    I want to be able to create custom macros for editors outside of Umbraco. I was able to do this previously with WebForms. I found a way to do this, and it works , but I am wondering if the following is a good idea, or if there is a better way of doing this. 1. Create an MVC project 2. Remove re…
  • Using MVC Controllers with Umbraco
    Forum / Using MVC Controllers with Umbraco
    Created: August 21, 2015 - Last update: August 24, 2015
    I created an empty ASP.NET empty web application and installed Umbraco through nuget. I also added bootstrap to it. Since I installed an empty project, I don't get the controller intellisense (for example, when you right click on the controllers folder in MVC, it gives you the option to add a cont…
  • Converting masterpages to MVC
    Forum / Converting masterpages to MVC
    Created: December 30, 2019 - Last update: December 31, 2019
    We are running Umbraco 7.10.3. We read that upgrading to version 8+ will make master page templates unusable. We want to convert our master pages to MVC razor views in order to make upgrading Umbraco possible. Let's say we have the following templates in Umbraco where 3. inherits 2. and 2. inherits…
  • Integrate MVC app with umbraco
    Forum / Integrate MVC app with umbraco
    Created: December 09, 2016 - Last update: December 09, 2016
    Dear Umbraco Team Could you please advise best practice to intergrate web app with Umbraco ? I have a MVC web app i would like to integrate with Umbraco, it is a MVC C# app making use of Entity Framework & SQL server DB. Thanks Dibs The web app is a simple CRUD application with views for inpu…
  • From Website to MVC
    Forum / From Website to MVC
    Created: December 24, 2014 - Last update: December 24, 2014
    Hi, 0 down vote favorite I have installed Umbraco 7.2 manually using this guide. I opened the website using Visual Studio Express 2012 for Web. I was following along with the videos on Umbraco site and when I reached the Developer series, Surface Controllers (more specifically on creating…
  • MVC style route mapping
    Forum / MVC style route mapping
    Created: June 27, 2016 - Last update: June 28, 2016
    I'm trying to get my head around getting MVC type routing... This works fine, and the url looks like: https://(sitename)/currenttimefor/location/51.507222;-0.1275 //This code works perfect RouteTable.Routes.MapRoute( "CurrentTimeForLocation", "currenttimefor/{action}/{latlon}", new …
  • Search Form using MVC
    Forum / Search Form using MVC
    Created: January 04, 2017 - Last update: January 04, 2017
    Hi, I'm fairly new to umbraco, MVC and C#. I've been struggling to get a form to work with MVC, I'm using ASP.NET and Razor. I searched for answers, but couldn't find it. Here is what I want to do: I'm using a form to search published content by editors, I managed to make it work a bit by doing wh…
  • Existing MVC Project to Umbraco
    Forum / Existing MVC Project to Umbraco
    Created: May 02, 2018 - Last update: May 02, 2018
    Hi Umbraco Community, Firstly, hello, and I look forward to working with Umbraco and contributing too, in the long run. So I wonder if anyone can point me in the direction of a good guide on how to add Umbraco to an existing site developed in MVC. The existing site is a full solution with several…
  • uSync without UMB MVC
    Created: September 29, 2022 - Last update: September 29, 2022
    Hi, I would like to remove "Frontend Website" (MVC) from my UMB instance and use only Backoffice + my own API. If I remove in file startup.cs "`AddWebsite()"` from `AddUmbraco()` service ( also middleware `UseWebsite()` and endpoint `UseWebsiteEndpoints()` which is required `AddWebsite()` ) then…
  • Umbraco.Web/Mvc/ControllerExtensions.RenderViewResultAsString
    Forum / Umbraco.Web/Mvc/ControllerExtensions.RenderViewResultAsString
    Created: October 02, 2019 - Last update: October 02, 2019
    Hi, We have an Umbraco 8.1.5 web site that is occasionally crashing on random pages while trying to render any one of a number of different macros. The problem occurs in Umbraco.Web/Mvc/ControllerExtensions.RenderViewResultAsString, which contains this loop: - foreach (var v in vi…
  • Combining regular MVC and Umbraco
    Forum / Combining regular MVC and Umbraco
    Created: January 12, 2016 - Last update: January 12, 2016
    Hi all, I have an Umbraco website and I'd like to add a regular MVC page to it. So I've mapped attribute routing, so I can map to my controller actions and it all works fine. public void OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)…
  • Standard Website MVC
    Starter Kits / Packages / Our
    Created: November 10, 2012 - Last update: December 14, 2023
    The Standard Website MVC package installs a complete website that can be adapted to most standard website designs. It can also be useful as a prototype or starting point for further development. It contains: Homepage - Rotating images with 3 feature panels Standard Page - Left hand navigation a…
  • [SOLVED] Problems Routing MVC
    Forum / [SOLVED] Problems Routing MVC
    Created: June 18, 2015 - Last update: June 25, 2015
    Hello all, I'm having problems with Routing my MVC solution. I have set up a "pure" MVC solution with Route-Hijacking and it doesn't seem to be hitting any break points, I've created an ApplicationEventHandler and it doesn't seem to be hitting that or the routeconfig. When opening the page in…
  • Not working in Umbraco 7.1.6 MVC
    Created: October 23, 2014 - Last update: November 05, 2014
    Hello, I have installed this plugin and configured using each option: doctypes, templates and ID's and it just seems to not execute at all. Can anyone confirm if this plugin should work in 7.1.6 MVC? Thanks a lot.Hi Kamil That's awesome! Thanks for sharing :) I think you should mark your own last…
  • Nedfinity Mailchimp MVC
    Website utilities / Packages / Our
    Created: October 03, 2013 - Last update: December 14, 2023
    This package was created to allow integration of Mailchimp in Umbraco with MVC as the rendering engine. To use this package your Umbraco install has to be set to the MVC rendering Engine. (Set <defaultRenderingEngine>Mvc</defaultRenderingEngine> in /config/umbracoSettings.config) After…
  • Integrating umbraco with asp.net mvc
    Forum / Integrating umbraco with asp.net mvc
    Created: May 12, 2015 - Last update: May 14, 2015
    hi, I'm completly new to Umbraco.I've developed an Asp.NET MVC 5 custom application but I also need to manage content, faq, etc in multilanguage. It would be really nice to integrate Umbraco to let it handle all this contents. So my questions are : How can I integrate my app in Umbraco? Can I share…
  • How to make a Mvc checkboxlist?
    Forum / How to make a Mvc checkboxlist?
    Created: February 24, 2015 - Last update: February 24, 2015
    Hello :) This is the first time I work in Umbraco MVC where I need to make a form with a checkboxlist, but I do not know how to do it. I've tried using mvccbl extencion [mvccbl.com], but without success. – It didn't save the selected values on postback. So now i asks for some help here. :) NOT…
  • Quick mvc routing question
    Forum / Quick mvc routing question
    Created: June 05, 2015 - Last update: June 09, 2015
    Hopefully this might be a simple quesiton for someone who understands MVC well, I have a page and in it I want to have a link to a dynamically generated image served from the page's controller, ie so if my page is located at http://mysite/ExamplePage in the html I want a link like this <img src="…
  • MVC Get doesn&#39;t load
    Forum / MVC Get doesn't load
    Created: January 10, 2019 - Last update: January 11, 2019
    Hi I have partial view @model MyProject.Models.ListParameters @using Umbraco.Web @using MyProject.Controllers @using Umbraco.Web.Mvc @using (Html.BeginUmbracoForm("DisplayList", Model)) {...} and I also have controller public class ProductListController : U…
  • MVC Partial View and Macro
    Forum / MVC Partial View and Macro
    Created: May 01, 2016 - Last update: May 03, 2016
    I have created an MVC Partial View using SurfaceController. It works well. But I want to insert it in a Gird. My Questions: - I think I should create a macro then call that controller action using Html.Action and then insert the macro into grid. I just wondering if this way is correct and best pr…
  • Render Macro using MVC
    Forum / Render Macro using MVC
    Created: April 10, 2015 - Last update: April 13, 2015
    I'm trying to setup a contact form using MVC partial views and a macro, but although I can see my form correctly when using the content editor when browsing the site as a normal user the form won't display. This is what I have so far: Created a new partial view called RequestCallBack_Macro in…
  • Umbraco Forms / MVC
    Forum / Umbraco Forms / MVC
    Created: February 22, 2015 - Last update: February 23, 2015
    Hi, i just installed the latest Umbraco and Forms came installed. Does it need MVC as rendering engine in umbracosetings.config ? I now have it set to winforms and get an error when trying to load a page with a forms macro (which is a partialview).   thanks\  Yes sorry it should be Contour…
  • Not working in Umbraco 6 MVC
    Created: April 04, 2013 - Last update: October 13, 2014
    Hi there, I installed the package and set one of the DocTypes "Cart" to redirect, however, this didn't seem to do anything when I went to http://localhost/cart. I added the tamplate "Cart" as well but this still did nothing. Lastly I added NodeID 1169 to the config - still nothing. I completely…
  • Custom MVC Routes error
    Forum / Custom MVC Routes error
    Created: May 30, 2019 - Last update: September 11, 2019
    Dear Umbraco Team, I have created a Custom MVC route, via this article. When i build and run application via Visual Studio i get the YSOD with the following error Unable to resolve type: dummy.Controllers.HomeController, service name: Description: An unhandled exception occurred during the…
  • Displaying Data using MVC
    Forum / Displaying Data using MVC
    Created: April 09, 2015 - Last update: April 09, 2015
    Hi folks, I understand that what I'm asking here might be outside what this forum is all about but I'm stuck (well I never really got started) and will try anything!! I've got an Umbraco v7.2.4 install and I'm trying to display some data on a template using MVC but I cannot get it to work. So apolog…
  • MVC model error in Controllers
    Forum / MVC model error in Controllers
    Created: May 11, 2018 - Last update: May 11, 2018
    Hi, My controller is not getting model in MVC Umbraco,Its giving error in Modelname. Adding my code: public class ContactFormSurfaceController : SurfaceController { public ActionResult RenderContactForm() { return PartialView("ContactForm", new ContactFormViewModel()); …
  • Process for creating MVC forms
    Forum / Process for creating MVC forms
    Created: September 22, 2013 - Last update: December 02, 2014
      Hi, I understand this may have been asked before but I cannot find exactly what I'm looking for, so here goes. I need to create a wizard/multi step form in Umbraco 6.1 website and would like to know how anyone else would approach this in terms of redirecting/moving between different steps in…
  • MVC views not in subfolder?
    Forum / MVC views not in subfolder?
    Created: November 16, 2012 - Last update: October 01, 2014
    Why are view's build in the Umbraco not set in his own directory? I want to do this http://our.umbraco.org/wiki/codegarden-2009/open-space-minutes/working-in-visual-studio-when-developing-umbraco-solutions with a MVC project and then copy the view directory to Umbraco but there all the files are dir…
  • Starting with MVC Umbraco form
    Forum / Starting with MVC Umbraco form
    Created: January 30, 2020 - Last update: January 30, 2020
    I'm fairly familiar with MVC and hoping someone could give me some guidance or a link on how I could create a form i.e. contact once I have created the model with two fields which are name and email. Would I create a document type and then assign the control to the template? New with Umbraco so d…
  • Umbraco 4.7.1.1 and MVC 4
    Forum / Umbraco 4.7.1.1 and MVC 4
    Created: March 04, 2014 - Last update: June 23, 2015
    For reasons too many to mention I cannot currently upgrade our corporate site past 4.7.1.1. I have gotten everything else in the site to work with MVC 4 using assembly redirects etc. However, our Contour forms won't render due to the following error: Expression of type 'System.Web.Mvc.MvcWebRazorHo…
  • Custom route / MVC
    Forum / Custom route / MVC
    Created: May 08, 2021 - Last update: July 03, 2021
    I'm developing a webshop solution which will run multiple shops out of the same install / IIS instance. It will be small merchandise shops for customers ( shop.customer1.com, customer2shop.com, webshop.customer3.com etc, created in different root nodes with each one having its own products etc). S…
  • Working with MVC Views in Umbraco
    Documentation / 10 / umbraco cms / reference / templating / mvc / views
    Created: - Last update: May 16, 2025
    Working with MVC Views and Razor syntax in Umbraco Properties available in Views All Umbraco views inherit from UmbracoCmsWebCommonViewsUmbracoViewPageContentModelsNameOfYourDocType along with the using statement using ContentModels UmbracoCmsWebCommonPublishedModels This exposes many propertie…
  • MVC SurfaceController -Post Action
    Forum / MVC SurfaceController -Post Action
    Created: June 19, 2015 - Last update: June 23, 2015
    Hi, I've created a SurfaceController and Partial View to display a list of umbraco contents and allow them to be deleted in the frontend. The displaying works well, but I don't know how to create the delete buttons? I guess it should be posted to the current page, so Html.ActionLink isn't the rig…
  • Custom MVC Routes
    Documentation / 10 / umbraco cms / reference / routing / custom routes
    Created: - Last update: May 16, 2025
    Custom MVC Routes Documentation about how to setup your own custom controllers and routes that need to exist alongside the Umbraco pipeline Where to put your routing logic There two places you can specify your routing depending on whether it in the context of a package or your own site If it y…
  • Upgrading from Umbraco 6 + MVC 5 to Umbraco 7 + MVC 4
    Forum / Upgrading from Umbraco 6 + MVC 5 to Umbraco 7 + MVC 4
    Created: May 08, 2014 - Last update: July 20, 2017
    I just ran into this problem as I had a project in my solution running Umbraco 6.x and MVC 5.x, and couldn't use nuget to upgrade it to Umbraco 7.x - nor could I downgrade MVC. Umbraco 7 isn't compatible with MVC5, you see. What I did was close visual studio, checkout another project with MVC 4 inst…
  • MVC Partial View Macro vs MVC Partial View
    Forum / MVC Partial View Macro vs MVC Partial View
    Created: April 26, 2015 - Last update: April 26, 2015
    Hi, Is there a recommened way or best practices on whether to use Macro (MVC View) vs actal MVC Partial View?   Thanks, BilalFor rendering consider it a standard MVC pattern with Views and Partials, for accessing Umbraco data see this [documentation][1] and detail on the UmbracoHelper [here][2]…
  • Is there a uCommerce MVC Razor Demo Store
    Created: May 14, 2015 - Last update: May 14, 2015
    Am I correct in saying that the uCommerce Razor Demo Store for Umbraco is based on WebForms rather than MVC ? If so is there a uCommerce MVC Razor Demo Store ?   Thanks Terry Clancy ClanceZOK thanks very much. Dennis   Terry Clancy ClanceZHi Terry, Yes the Avenue Clothing uCommerce Demo…
  • Existing MVC project Authentication with Umbraco
    Forum / Existing MVC project Authentication with Umbraco
    Created: April 23, 2015 - Last update: April 23, 2015
    Hi, I am new to Umbraco and would like to ask a quite general question.  We have an MVC app running and would like to have Umbraco as a separate site.  However, we would like to have existing MVC authentication mechanism used in Umbraco.  In other words, users in Umbraco should be abl…
  • how does Umbraco MVC map to standard .net MVC directory structure?
    Forum / how does Umbraco MVC map to standard .net MVC directory structure?
    Created: October 11, 2016 - Last update: October 11, 2016
    Hi, I'm fairly new to the world of Umbraco but I have already tried to search for the answer to my question without success. Can anyone point me to resources/tutorials explaining how and why Umbraco deviates from the standard Controllers/Models/Views directory structure. Thanks, Adam.Hi Adam, Do…
  • Umbraco v6 MVC Razor Cheatsheets
    Forum / Umbraco v6 MVC Razor Cheatsheets
    Created: November 09, 2015 - Last update: November 09, 2015
    I've just noticed a typo on the Dynamic Umbraco v6 MVC Razor Cheatsheet. In the first column there is a Default Media Properties section, it says UmbrachHeight rather than UmbracoHeight.
  • Need help getting started with MVC.
    Forum / Need help getting started with MVC.
    Created: August 03, 2015 - Last update: August 05, 2015
    Hi, I've yet to see a good example of how to implement MVC in umbraco v6. First of all, the default file structure of umbraco has neither a models nor a views folder. To most users of MVC, including myslef this is the only way they understand MVC. What I need to know is, in detail, where should i…
  • Offer to help making an MVC version
    Created: March 06, 2013 - Last update: December 20, 2023
    Hi Jorge, Thanks for this great starter kit.  I'm quite keen on porting it to MVC for Umbraco 6+.  Is this in the works at present?  If not I would be up for contributing to it, as I have a bit of time right now.  If you are interested I can make an MVC fork on your github repo a…
  • How to add MVC to an existing project?
    Forum / How to add MVC to an existing project?
    Created: January 16, 2018 - Last update: January 17, 2018
    Hi everyone, Is possible add MVC to an existing Umbraco project?What error did you get? If your local matches the webserver code it shouldn't be throwing any errors.Joshua, I did it today, and I got a huge error. Seriously this freaked me out.Did you copy the compiled DLL from the bin folder of yo…
  • Mixing WebForms and MVC on Umbraco 7.4.1
    Forum / Mixing WebForms and MVC on Umbraco 7.4.1
    Created: June 13, 2016 - Last update: June 13, 2016
    I am completely upgrading an old site to Umbraco 7.4.1. The new site uses MVC exclusively. However, there are a lot of old usercontrols / masterpages containing custom (but non-Umbraco) functionality that cannot be quickly and easily upgraded. I would like to just have those as masterpages on the…
  • MVC 5, Umbraco Nuget Install
    Forum / MVC 5, Umbraco Nuget Install
    Created: May 08, 2015 - Last update: July 15, 2015
    Hi, So I'm not certain if I'm posting in the right place, however I've been unable to install the Umbraco CMS via nuget into a new MVC 5 project in Visual Studio. It is trying to install an old version of MVC 4, but it fails saying that there is no Umbraocms.Core version that is compatible with th…
  • Umbraco Website And MVC Website In ONE
    Forum / Umbraco Website And MVC Website In ONE
    Created: January 30, 2010 - Last update: March 22, 2016
    Would it be possible in .NET Runtime 4.0 or 3.5 to have a website that was both an umbraco website and an MVC website in one? Why would I want this? To take advantage of BOTH Umbraco AND MVC. Now to be clear, I don't want MVC In umbraco, so waiting till 5.0 is not going to cut it. I want a website t…
  • Creating Blog / magazine with U7 &amp; MVC
    Forum / Creating Blog / magazine with U7 & MVC
    Created: June 08, 2016 - Last update: June 09, 2016
    Hey guys, Any good tutorial how to create a magazine style / blog with MVC for U7? (still using the "old" Razor...) Thanks . Hi Dennis, thanks. But actually I'm not looking for a package, rather I like to write the code by myself. Therefore, I'm looking for a tutorial. I built my magazine using t…
  • Support for MVC Partial Views with RenderTemplateFile
    Created: March 26, 2015 - Last update: March 27, 2015
    Hi guys, I've been doing an Umbraco 7 installation of TeaCommerce and I decided to implement some of the shiny AJAX form posting stuff. One of the things I want to do is refresh my minicart, which has product information and little images and stuff in it and is in the header of every page. I thought…
  • Umbraco + MVC page Redirect with data
    Forum / Umbraco + MVC page Redirect with data
    Created: January 27, 2016 - Last update: March 25, 2016
    I want to redirect to other Umbraco page with model data. Currently i am just redirecting to other Umbraco page but not with model data. public ActionResult CNOReplacement(MasterViewModel Model) { ViewBag.TestData = "Testing ViewBag data passing !!"; …
  • Fetching typed MVC title and description
    Created: November 02, 2015 - Last update: April 05, 2016
    Hi, This is more likely me not understanding than a bug, but when fetching the title and description using the typed MVC example - how do we handle empty metaData. I understand that these values should be filled in (this works great when they are supplied). @{ var metaData = Model.Con…
  • Login from external mvc app
    Forum / Login from external mvc app
    Created: February 25, 2016 - Last update: February 25, 2016
    Hello everyone. I'm sorry for my english, but i hope that you will understand me. I have installed umbraco and external mvc application. How can I login(or simulate it) from my external app? It is possible? Thank you in advance!!!Hi Dmitry, Do you want to login to admin part of Umbraco ? Thanks
  • Blend Umbraco with ASP.Net MVC Site
    Forum / Blend Umbraco with ASP.Net MVC Site
    Created: June 08, 2017 - Last update: June 12, 2017
    We have built an extensive custom MVC ecommerce site with all the usual aspects you'd expect - categories, products, basket checkout etc. Within the site we want to create a whole range of informational content and ideally are looking at using a Umbraco to do this so non tech users can author the c…
  • MVC Using a custom controller and viewmodel
    Forum / MVC Using a custom controller and viewmodel
    Created: December 18, 2012 - Last update: March 20, 2018
    I'm writing a website in Umbraco 4.11.0 using MVC and I'm trying to add a form to a page, so far I've learnt almost everything from the MVC documentation on this page: http://our.umbraco.org/documentation/Reference/Mvc. To create the form I've assumed that I need to use a custom controller in o…
  • Umbraco 7 MVC custom Routes
    uMultiDeleteContent / Backoffice extensions / Packages / Our
    Created: January 03, 2015 - Last update: January 05, 2015
    A web-application with complex business logic. but I want to use umbraco as the cms. I also want to have a traditional Model View Controller set up. I want to have custom ViewModels attached to strongly typed razor views. I want Controllers to process request and return my custom viewmodels. So…
  • MVC 4 not working with Umbraco 4.11.9
    Forum / MVC 4 not working with Umbraco 4.11.9
    Created: June 04, 2013 - Last update: May 07, 2015
    Hi,I'm tryin gmy first test project with Umbraco 4.11.9 and MVC 4. I have create the Umbraco site and database all working well. Then created a new MVC 4 project and added a controller as shown below namespace UmbracoMVCDemo.FrontEnd.Controllers {        public class D…
  • Combine classic MVC Project and Umbraco?
    Forum / Combine classic MVC Project and Umbraco?
    Created: March 07, 2015 - Last update: March 09, 2015
    Hello, a customer have created a complete website as a classic mvc project in visual studio. Now, he will only a few site develop with umbraco. But I have not yet made themselves something like this. Is that even possible? I had already proposed to simply convert the entire web page with all control…
  • Hijack MVC route with additional parameters
    Forum / Hijack MVC route with additional parameters
    Created: January 07, 2014 - Last update: February 09, 2015
    We're moving all business logic for a site into MVC controllers to make it testable. So we've added a set of controllers to deal with certain pages on the site with complex functionality. Using search as an example we'd like to pass additional parameters along with the RenderModel into a hijacked r…
  • Securing a back office MVC controller
    Forum / Securing a back office MVC controller
    Created: August 18, 2014 - Last update: February 27, 2015
    I have a project where I'm integrating some existing MVC pages into the v7 back office. I have some MVC controllers that I want to ONLY be accessible to Umbraco back office users. According to the intellisense documentation (as well, as [this article][1] by Tim G), the class "UmbracoAuthorizedContr…
  • Need to use standard MVC controller
    Forum / Need to use standard MVC controller
    Created: February 14, 2020 - Last update: February 17, 2020
    Hi, In the project I'm working on I'm using telerik kendo ui components, more specifically the editor with image/file upload. This component makes use of a closed source standard MVC controller that allow for file listing / upload. So I can't make it a RenderMVCController nor a SurfaceController, I…
  • Best practice for MVC in Umbraco 7
    Forum / Best practice for MVC in Umbraco 7
    Created: March 17, 2014 - Last update: December 02, 2016
    Hello dear Umbracians I have given my self the task of creating a true MVC website in our lovely Umbraco 7. But I keep hitting the wall with some missing best practice and documentation. What are the best way of creating a strongly typed MVC setup and when to do what? I have read the following artic…
  • Enable unobtrusive validation for mvc forms
    Forum / Enable unobtrusive validation for mvc forms
    Created: December 11, 2012 - Last update: November 28, 2016
    The form is rendered using "Html.BeginUmbracoForm()" and the model is anotated with some validation attributes, as per sugestion on this documen: http://our.umbraco.org/documentation/Reference/Mvc/forms Now, how can I enable client side validation so MVC can automatically wires up these validat…
  • Mvc Architecture and umbraco Doc Type
    Forum / Mvc Architecture and umbraco Doc Type
    Created: April 29, 2015 - Last update: May 06, 2015
    Hey guys, Just wondering if anyone might be able to offer some help on what I would imagine is something others have come across. I have an mvc site structure with a controller that has multiple action methods which have associated views. So for example. Controller - MyNews (inherits from RenderMvcC…
  • Umbraco Integration In ASP.Net MVC Project
    Forum / Umbraco Integration In ASP.Net MVC Project
    Created: March 09, 2016 - Last update: May 26, 2023
    Hi All, We are re engineering our web site and are thinking of integrating Umbraco in to our ASP.Net MVC5 project using NUGet package manager. To make it more simple both Umbraco and ASP.Net MVC5 will be in the same web project. That is CMS editor of Umbraco and our MVC code which we will be writ…
  • Using MVC Partial Views in Umbraco
    Documentation / 10 / umbraco cms / reference / templating / mvc
    Created: - Last update: May 16, 2025
    Using MVC Partial Views in Umbraco This section will show you how to use MVC Partial Views in Umbraco Please note this is documentation relating to the use of native MVC partial views not Partial View Macrosmacrospartialviewmacrosmd Overview Using Partial Views in Umbraco is exactly the same a…
  • Get Umbraco Forms data MVC
    Forum / Get Umbraco Forms data MVC
    Created: August 30, 2017 - Last update: May 09, 2019
    Hello, Does anyone have any snippets of code on how to properly sort/filter Umbraco Forms data using a Controller? I'm able to render a form as a partial view and post and have the controller take action but how to handle from there I'm stuck. Also, I'm really banging my head with accessing forms…
  • Angular - Equivalent to asp.net mvc DisplayTemplates
    Forum / Angular - Equivalent to asp.net mvc DisplayTemplates
    Created: June 28, 2018 - Last update: July 06, 2018
    Hello Community, I have custom section where i want to display almost the same information as in a FrontendPage that is using a Html.DisplayFor mvc template. the ideia is to reuse the same services and viewmodels in backoffice as we have in the frontend part. Is there a way to equivalent thing…
  • Nedfinity Mailchimp MVC error 500
    Forum / Nedfinity Mailchimp MVC error 500
    Created: December 03, 2015 - Last update: June 08, 2017
    I am trying to implement the Nedfinity Mailchimp MVC package in an Umbraco 7 solution. It works fine until you try to add an existing email adress into mailchimp. I get this remote server error 500: [MailChimpApiException: Error while making API call: {"status":"error","code":214,"name":"List_A…
  • MVC forms integrate to Umbraco 7.5.3
    ShowOff / Website utilities / Packages / Our
    Created: November 17, 2016 - Last update: November 22, 2016
    Hi all, I am trying to create few forms like contact us, login, forgot password , my profile etc in to umbraco 7 site. I have umbraco 4 site with webform integrations to handle all these features plus shopping carts and many more features. I am looking for create brand new site using Umbraco 7 MV…
  • Mvc implementation of good-old Usercontrols
    Forum / Mvc implementation of good-old Usercontrols
    Created: April 03, 2017 - Last update: April 03, 2017
    Hi Guys, I stopped using Umbraco at v4.x and now try to jumpstart into v7.x The first thing i ran into is; I used to develop "usercontrols" and place them on the (webforms) page. Nice and neet. I need to do something like that in the current Mvc version. But how..... I kind finf the right tutoria…
  • SilverStripe vs Umbraco (ASP MVC)
    Forum / SilverStripe vs Umbraco (ASP MVC)
    Created: December 02, 2016 - Last update: December 02, 2016
    I'm eager to hear some experiences on this area. Without any MVC development experience I dove into SilverStripe because the structure and API seemed **clean**, **logical** and **flexible**. I'm looking for experiences from people who worked with Umbraco (ASP MVC) and SilverStripe and invite them t…
  • umbracoApplication.Error not firing if exception accure in MVC ?
    Forum / umbracoApplication.Error not firing if exception accure in MVC ?
    Created: December 05, 2014 - Last update: December 05, 2014
    If my understanding is correct with Umbraco 7 we can't have global.asax file. I have to handle asp.net's application error event and log errors. I follow [this][1] link and hock umbracoApplication.Error event. Issue is, on error this event is not firing. When I run application I can see umbracoAppl…
  • MVC strongly typed views and forms
    Forum / MVC strongly typed views and forms
    Created: October 28, 2014 - Last update: October 30, 2014
    Hi all, For the past six months I've been away from Umbraco doing AngularJS projects and now I find myself doing a rather large Umbraco (7) MVC project with a lot of forms manipulating data in a custom (non-Umbraco related) database. I can't for the life of me remember how I go about doing forms i…
  • MVC partial view filter problems???
    Forum / MVC partial view filter problems???
    Created: August 11, 2015 - Last update: August 18, 2015
    I'm still trying to get my head around mvc implementation in Umbraco but currently stuck on a problem. I have a template with two Html.Action partial views. 1. The first will shows the results from a filter http://www.merthyr.gov.uk/council/data-protection-and-freedom-of-information/disclosure-log…
  • Best practices with MVC using Umbraco
    Forum / Best practices with MVC using Umbraco
    Created: August 15, 2018 - Last update: August 15, 2018
    Hi All, I was wondering what is the best practice or recommended way to develop an Umbraco MVC website. So far I have come across the following: 1) Umbraco back-office is used to create document types, related templates and from there, the actual content pages. This is depicted in the official [U…
  • How much Umbraco is ASP.net MVC?
    Forum / How much Umbraco is ASP.net MVC?
    Created: January 04, 2016 - Last update: January 05, 2016
    Hi! I am new to Umbraco, reading and playing with it in my free time for about a month, already watched all videos on Umbraco.tv, read a couple of tutorials in web. I am wondering, how much Umbraco is good for developers? I want to create website with many custom features, so need easily extendable…
  • Macro and MVC forms in Umbraco 8
    Forum / Macro and MVC forms in Umbraco 8
    Created: August 28, 2020 - Last update: September 15, 2020
    Hello there, I am trying to make a MVC form as a macro. Even though it sees right in the back-end on the front-end it doesn't render itself correcly. Can someone help me? Here is how it looks on the back-end: ![back-end][1] and here is how it looks on the front-end: ![front-end][2] And below yo…
  • Umbraco Project Development Using MVC
    Forum / Umbraco Project Development Using MVC
    Created: March 23, 2016 - Last update: March 23, 2016
    Hi All, I have some working experience in creating Umbraco based application using Web Forms devleopment. I have been assigned task to create application using Umbraco based application using MVC. Can any one please share some important links and videos which could be helpful for me to start lear…

Code Of Conduct - Privacy Policy

 

Our.umbraco.com is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community.