visual studio 2012 | John Papa

John Papa

Evangelist on the loose

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 […]

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 […]

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 […]

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 […]

Hot Towel SPA – Visual Studio Project Template


Want to build a SPA but can’t decide where to start? Use Hot Towel and in seconds you’ll have a SPA and all the tools you need to build on it! You can get Hot Towel along with the new RTM version of ASP.NET and Web Tools 2012.2, as announced by Scott Guthrie today. Download the HotTowel SPA project template for Visual Studio 2012 here or download the HotTowel SPA project template for Visual Studio 2013 here. Download the VSIX for the Hot Towel SPA template here Hot Towel: Because you don’t want to go to the SPA without one! […]

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. 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 SPA Breeze Ember Durandal Hot Towel Includes ToDo Sample Yes Yes Yes Includes Bare Template Yes Yes Navigation […]

Publishing a Web App to Windows Azure


Often I like to test my web apps in a real website. For me, Windows Azure is ideally suited for this. I can spin up a site as needed, publish my demo, test it on a variety of devices, and tear it down when I am done. the best part is that it only takes a few moments to learn how to do this. What do you need? Just install Visual Studio 2012 and open a Windows Azure account and you are all set. In this post I’ll tell you how to set up an Azure website, how to publish […]

Knockout Intellisense in Visual Studio 2012


If you enjoy developing with Knockout.js, then you’ll be glad to hear that support has been added for Knockout Intellisense in Visual Studio 2012! These features are pretty cool and will save me and other developers from senseless typos. Developers who are newer to Knockout.js will enjoy the intellisense as an easy way to quickly learn the available built-in bindings. For this post I’ll explore these new features by using the new SPA Template included in the same release. You can read more about the SPA Template in my post Inside the ASP.NET SPA Template. The ASP.NET and Visual Web […]

Inside the ASP.NET Single Page Apps Template


The Single Page App (SPA) template is now available in the ASP.NET and Web Tools 2012.2 (Release Candidate). This SPA template has been updated since its beta release which I blogged about here. Kudos to Mads Kristensen for spearheading this at Microsoft. I’ve been a big fan of SPA and of Mads for a while. I was thrilled to see some of my feedback (from my previous post/review) make it into this template. This post contains a complete walk through of all of the key pieces on the server and client side. What is the Intention of the Template? Since […]

Zen Coding in Visual Studio 2012


Zen Coding is a faster way to write HTML using a CSS style selector syntax, and you can now use Zen Coding in Visual Studio via the Web Essentials 2012 plug in (v1.7).  Zen Coding was introduced by Sergey Chikuyonok in 2009 (according to Smashing Magazine) and has been updated over time to become a great way to write monotonous HTML much more efficiently. Special thanks  to Mads Kristensen and his team at Microsoft for adding Zen Coding to Visual Studio 2012 via Web Essentials 2012 (along with many other great features). Quick Reference Here is a quick list of […]

%d bloggers like this: