2013
21 articles published in 2013
-
URL rewrite and the www subdomain
What's the address of your website? www .domain.com or domain.com? There are two camps on the subject of the www subdomain. One believe it should be enforced ( www.yes-www.org ) and the other ( no-www.org ) that it...
-
The story behind _references.js
The _references.js file controls a key part of the JavaScript Intellisense in Visual Studio for web projects and can mean the difference between awesome Intellisense and none at all. This is the story of how it works and...
-
Shipping Visual Studio snippets in an extension
Snippets are the little shortcuts available in Visual Studio for all the different languages. Here's a well known C# code snippet in action: It just shows up in Intellisense and when you hit TAB, it folds out into this...
-
URL rewrite issues with ASP.NET Razor 3
I recently upgraded MiniBlog from using WebPages/Razor 2 to version 3. The upgrade was completely painless. I just upgraded the NuGet package and it didn't even touch my web.config. Thumbs up to the Razor team for that!...
-
Open static HTML files in the Visual Studio 2013 designer
Due to the brand new HTML editor in Visual Studio 2013, static HTML files no longer has the Design|Split|Source options enabled by default. That’s because the new HTML editor is the default editor for all HTML files with...
-
Web Essentials 2013 RTM
Today was the long-awaited day when Visual Studio 2013 RTM was released. Check out Scott Guthrie’s blog post about all the new features for web developers. Today is also the day Web Essentials 2013 ships as version 1.0...
-
My road to Visual Studio 2013
This summer has been one of the most productive I’ve ever had. Normally I spend summers balancing frozen margaritas in my hammock. That’s called Hammock Driven Development . You should try it. Visual Studio 2013 Preview...
-
Open sourcing Web Essentials 2012
At the //build/ conference when Visual Studio 2013 Preview was released, I open sourced Web Essentials 2013 live on stage . So far that has been really successful with 110 pull requests sent by the community. And Visual...
-
Are short demo videos helpful?
I’ve been recording a quite a few videos lately for showing off new features in Visual Studio and Web Essentials . Some videos also shows prototypes of what is coming down the line. The question is whether or not videos...
-
Auto-sync JavaScript Intellisense in VS2013 RC
Here’s a feature that you might have missed in Visual Studio 2013 RC. It’s one of my absolute favorite features because it solves a very common problem that I often run into when building websites. I think it’s better to...
-
Build Google Chrome Extensions in Visual Studio
A little while back, Sayed Hashimi and I built the Web Developer Checklist Chrome extension as a companion for the website webdevchecklist.com . We built the extension in Visual Studio and quickly realized that we could...
-
VS2013: New web developer features
In this video from //build/ I show what’s new for web developers in Visual Studio 2013. Here are some of the highlights: URL rewrite Intellisense in web.config JavaScript navigational dropdowns EcmaScript 6 support A few...
-
Web Developer Checklist - the Chrome extension
Earlier this year, Sayed and I released Web Developer Checklist to help web developer adhere to best practices. Checklists like these can be really helpful to make sure we don’t forget anything before releasing new or...
-
Talk to, hear, touch and see your code
When coding, I use both of my hands for typing and both my eyes fixed on the code I’m writing. When I don’t know a certain keyboard shortcut, I reach for the mouse and in doing so, look away from the main Visual Studio...
-
Introducing Pretty Paste for VS2012
Download Pretty Paste now! One of the things that have annoyed me about Visual Studio for many years, is the inconsistency when pasting code copied from websites. Depending on the browser you get different results...
-
AngularJS Intellisense in Visual Studio 2012
Recently, a lot of people have asked for Intellisense support for AngularJS in the Visual Studio HTML editor. The bad news is that there is no extensibility for providing additional HTML attribute Intellisense, so I...
-
Web Tools 2012.2 and Web Essentials
Today the ASP.NET and Web Tools 2012.2 update was released. Go download it right now ! It contains a lot of new and updated Visual Studio tooling features including: First class LESS editor Knockout.js Intellisense Paste...
-
Google Analytics vs. Google Page Speed
Nerd alert : This post is only for crazy website performance freaks. Proceed at your own risk. The holy grail for us crazy website performance freaks is to reach a perfect score of 100/100 in Google Page Speed without...
-
The ASP.NET developer checklist
In the beginning of January, we released the Web Developer Checklist with great interest from the general web community. The checklist helps raising awareness of common best practices for building websites. It was always...
-
Fix for uncompressed JS files on IIS
Rule #1 in website optimization is to enable GZip compression on the web server. This is very easy using web.config as explained here . However, some web servers have disabled automatic compression of JavaScript files...
-
Web Developer Checklist
So you just built a website and are about to make it public to the world. You go through a few checks to make sure that everything works as expected. Perhaps run HTML validation and other similar services. But are you...