visual studio 2012

A 12-post collection

HotTowel 1.1 with Durandal 2 Now Available

In the past 7 months since I introduced HotTowel as a way to jump-start SPA development, Visual Studio has evolved as have some of the key JavaScript libraries. Today you can now download an updated HotTowel Visual Studio template. I created 2 different templates base don how Visual Studio has evolved: one for Visual Studio 2012 and one for Visual Studio 2013 preview. You can grab them here (and please rate them on the Visual Studio Gallery): Download the HotTowel SPA project template for Visual Studio 2012 Download the HotTowel SPA project template for Visual Studio 2013 If you like these templates, join me in thanking Xinyang Qiu of Microsoft who helped me get through some of the more confusing...


Get Angular, Durandal, and JavaScript Templates with SideWaffle

Hungry for some file templates to get you started in the morning? Well now you can fill up on a set of web template packs for Visual Studio 2012 and 2013. SideWaffle is an open source project that creates a Visual Studio extension containing a set of file templates you can use for web projects. SideWaffle currently has several templates including 10 I contributed for Angular, Durandal, and creating a JavaScript IIFE. One of the best parts is that SideWaffle will be frequently updated with new and useful templates (they do check for high quality templates). I expect that in the near term we’ll see a lot of additions. Angular Controller (using Controller As syntax) Angular Controller (using...


AngularJS Code Snippets for Visual Studio

Controllers, services and directives are some of the core features in AngularJS where you’ll end up writing a lot of your code. So why not reduce the friction and keep them consistent? There is a lot of value in using consistent patterns in code. When I find myself using one, I create snippets to help me stick with the pattern. When the pattern evolves, I change the snippets to evolve with them. Recently I found myself using a similar pattern for create Angular controllers, factories/services and directives. So it just made sense to create Visual Studio snippets for each of them and share them. I use these and many other patterns in my upcoming course at Pluralsight...


SPA Conversations

Recently I was lucky enough to have the opportunity to be a guest on the Herding Code podcast and the Channel 9 Web Camps TV video series to discuss SPA. Herding Code Podcast The episode of the Herding Code podcast was hosted by Jon Galloway, K Scott Allen and Scott Koon. We sat down together, along with my friend Ward Bell, and we discussed the state of SPA today and the new Visual Studio templates. It was a very casual conversation between the 5 of us discussing a SPA from many angles. It’s a good listen for anyone who may share some of the same questions we posed and tried to answer in the podcast. You can download...


ASP.NET SPA Templates Released

Today the ASP.NET team released the RTM version of the ASP.NET and Web Frameworks 2012.2. This includes updates for ASP.NET MVC, ASP.NET Web API, ASP.NET Web Pages, Web Optimization, SignalR, and the ASP.NET SPA Template. The official announcement is on Scott Guthrie’s blog. I’ll focus this post on the new SPA templates that accompany this release. tr { border-bottom: #e7e7e7 1px dotted; } thead { font-weight: bold; } table tr td:first-child { text-align: left; } table td { padding: 4px; text-align: center; } Comparing the Templates I created a quick comparison chart of what’s inside each template. All of them have value depending on where your interests lay. ASP.NET SPABreezeEmberDurandalHot Towel Includes ToDo...