CodeGarden 2014

MVC Purée

June 26, 2014

Andy Butland / Zone

Given my background in the development of both Umbraco CMS and custom web applications using ASP.Net MVC, when MVC rendering support was featured in V4.10, it was the obvious way to go for future projects.

Working at gold partner Zone in London, we've built a number of sites using Umbraco and MVC. We've found that there's actually a number of different ways to do "MVC with Umbraco": the perhaps traditional Umbraco way with a fair bit of logic and data access in the templates or views, using surface controllers and child actions and/or using route hijacking. We've used a number of these approaches and found costs and benefits of each - which I think would make an interesting session.

Currently the model I use - and would focus on in the talk - is to go a more purist MVC approach, using dependency injection, thin controllers with route hijacking, mapping of Umbraco content to custom view models and use of strongly typed views. Tieing all this together is a mapping package ( that we've recently built, released and discussed on auHangout. We also look to use unit testing where possible.

In summary, the proposed discussion would be on ways to use MVC in Umbraco, and would cover:

  • quick primer on ASP.Net MVC and best practices in this area
  • approaches to MVC in Umbraco
  • surface controllers
  • route hijacking
  • custom view models and strongly typed views
  • mapping from Umbraco and other content to these view models
  • unit testing challenges and approaches
  • Q & A (no doubt there's as much to learn in this area as to impart!)

Rate this video

1 star 2 star 3 star 4 star 5 star
Steve March 17, 2019 12:14 PM Delete

It was so nice to see this video and enjoy so much to find out the facts. Black Leather Jacket Timeless Women Designer

Jhoney March 17, 2019 12:12 PM Delete

Thanks for sharing this video . . . it was so good to see P T Barnum grey Trench Coat Thanks

fallen kingdom vest March 16, 2019 11:23 AM Delete

I don't have any word to appreciate this post….. fallen kingdom vestReally it is an interesting post….The person who created this post it was a great human.. Thank you for sharing this amazing one post. keep us in your touch.

David Millar March 15, 2019 04:10 PM Delete

You can spread the word manually, and after your blog gains some popularity it'll start showing up. like and Either that, or you can pay to advertise on other websites. Eddie Redmayne Coat

george23watson March 08, 2019 05:04 AM Delete

The success of any blog depends upon the ideas and how well blogger conveys his ideas.

In the same way, the success of any app depends upon its planning and execution of the plan. Expert app developers India first make strategy and then they start building an app according to that. Hybrid app developers also have knowledge of what kind of app will suit which type of business category and which platform is best for your app depending upon your target audience.

Most importantly they know the latest techniques. So, plan to make an app for your business after knowing the average app development cost in India.

Jasmine March 06, 2019 11:11 PM Delete

I think the admin of this web site is truly working hard in favor of his website, because here every data is quality based data. Toy Reviews

Hareem March 06, 2019 11:10 PM Delete

Heya, Although when i was held direct after your web diary using the engines like google while endeavoring to find this shocking all around useful survey and your study is generally evidently rather totally fulfilling to have the capacity to our point of view. Guest Post Site

Naila March 06, 2019 11:10 PM Delete

This is a great little post with some valuable tips. I totally agree. The way you bring passion and engagement into the things you do can really change your outlook on live. Imported Baby Clothes in Pakistan

Kim Lang March 06, 2019 11:09 PM Delete

Tremendous article, numerous good quality information. I am about to show my pals and ask them what they think.
Wedding Favors Singapore

Nerea March 06, 2019 11:08 PM Delete

Wow! Finally I got a blog from where I be able to actually get helpful information concerning my study and knowledge. SEO Singapore

Amanda March 06, 2019 11:08 PM Delete

Thanks for this brief article, very interesting and useful. Mobile App Development

Sabrina March 06, 2019 11:07 PM Delete

I am really thankful to you for sharing such a motivational post. wordpress website management services

Mike Rooney March 05, 2019 06:10 AM Delete

Wow. I think it's actually relieving that you didn't take offense to her prayer. and they get angry and say "keep your religious crap away from me" or something like that. So thank you..that made my day. Navy Blue Leather Jacket Mens

Mike Rooney March 05, 2019 05:54 AM Delete

This video shows clearly that Hillary Clinton is a classical. gestures and her laughter in this video speak volumes in psychiatric circles. Navy Blue Leather Jacket Mens

Reyna Smith March 01, 2019 08:53 AM Delete

Thanks for sharing the.
Get complete kodi setup wizard​ help.

Maria Hernandez February 26, 2019 09:27 AM Delete

We assist you if you find that the product was discontinued and cannot be replaced or repaired. In that situation, we offer either a full refund or credit of the same amount of the purchased material.
belkin range extender n300 setup

Cisco Carlos jacket online February 14, 2019 10:52 AM Delete

Wow great blog I think my friend was right, My friend suggest me to visit your blog to get useful information and now I’m also satisfied he was right now I’m your visitor. good work sir keep it up. Cisco Carlos jacket online

Nissa February 11, 2019 08:30 AM Delete

In this video clearly shared the details of developing both Umbraco CMS and custom web applications using ASP.Net MVC. While using restart print spooler MVC in Umbraco it supports many features and here everything clearly discussed.

vidya prapti mantra February 02, 2019 06:30 AM Delete

Vidya Prapti Mantras are chanted for awakening intelligence, enhancing memory, sharpening learning power and brightening communication skills.

Alexis Jones January 11, 2019 11:13 AM Delete

Thanks for sharing this useful video.
www Hulu com Activate

Amayra Singh January 06, 2019 10:11 AM Delete

Very nice content...

Simran Preet Kaur December 19, 2018 05:47 AM Delete

Hi! This is my first visit to your blog! It is remarkable among different posts that I ve read in a long time.

Best Mobile Repairing Course in Delhi Ncr
Best Mobile Repairing Institute in Delhi Ncr

Gagan Deep December 14, 2018 09:29 AM Delete

Great! Thanks for your Post and I just subscribe your blog. This is a nice blog..

Find Mobile Repairing Course in New Delhi
Find Mobile Repairing Institute in New Delhi

rick December 02, 2018 12:47 PM Delete

You finished a couple fine focuses there. I did an inquiry on the subject and discovered almost all persons will oblige with your online journal. backlinks

Arlo Max November 24, 2018 09:52 AM Delete

Very kind to see this information you shared. I saved it to my bookmarks and will visit on daily basis.
Andrew Marc jacket

Lina Dany November 24, 2018 09:48 AM Delete

Nice video. Really liked it
I have to upload my videos about Winter Shearling Jackets

Ronaldane November 20, 2018 12:43 PM Delete

Happy to be part of it.

shawnkemp November 02, 2018 07:10 AM Delete

It is a new information you have shared with us. Accidentally I have seen the post and I came to know about the best meal replacement shakes. Actually, Chris Jericho WWE Jacket first time i was hearing about this shakes

liza August 11, 2018 11:15 AM Delete

If I create a custom internet utility for a business enterprise, how can i make certain the copyright will belong to me.?
I need to ensure the custom utility code may be used for different corporations, without any prison implications. i'm in the big apple and i am a IT consultant

apiw igi May 29, 2018 10:59 AM Delete

You can now see the new lectures of the great advice like the embrace, extend and enrich and more others which are quite interesting. Catch the best moment with and enjoy the new choice of the life in this session.

Add a comment...
Post as (log out)