Blog Archives

Using Custom Routes in Umbraco

umbraco-logo

So if you come from a .Net MVC background and you’re building an Umbraco project, one of the first things you’re going to want to do is add your own custom routes. You create your custom controller and add your

Posted in Code, MVC, Umbraco Tagged with: , ,

Maintaining session info in AngularJS when you refresh the page

angularjs logo

EDIT: This article has proved to be the most popular article on my site, but I thought it was a bit “rambly” and also the code examples were out of date. So this is the March 2016 Remix with added

Posted in AngularJS, Code, MVC, Razor, Web development Tagged with: , , , , , ,

Binding Razor forms to an AngularJS model with Html.TextBoxFor()

angularjs logo featured image

I was hooking up my login page work with angular, but wanted to keep the MVC model authentication (because it works and I like it). So I tried this: @Html.TextBoxFor(m => m.userName, new { ng-model = “logon.userName” }) Surprisingly this

Posted in AngularJS, Code, MVC, Razor, SPA, Web development Tagged with: , , , , ,

About Maff

Maff Rigby

I'm a certified .Net, Umbraco and AngularJS freelance developer with over 15 years experience in the IT industry. As well as writing code I love to teach; I run a number of workshops and 1-1 coaching sessions on Angular JS and Umbraco, and share what I know and learn here!

I’m social (ish)

Connect with me on LinkedIn, follow me on Twitter, or fail to find me on Facebook.