Friday, February 20, 2015

BrowserLink and Why Is My Page So Slow?

In Visual Studio 2013 Microsoft added a new feature called "Browser Link". I was running some razor web pages that had almost nothing to them and they were taking a lot longer to load then they should have. So I hit F12 in the browser and analyzed the network traffic, and low and behold I noticed 3 or 4 additional gets going back to IIS, including one websocket call, that I never added. The culprit?  Browser Link.

I'm not sure what Browser Link does, but here is how to disable it.  My page load times went back from 1.56 seconds to .02 seconds.

[Disable Browser Link]

Happy Speedier Coding.

Friday, February 06, 2015

Some Web Dev Bits and Pieces 2

Performance Optimization in ASP.NET Web Sites
A decent article describing some site enhancing performance tips.

Getting Start With Node.JS Tools For Visual Studio
An introduction to Node JS tooling for Visual Studio and a few Node tips.

Integrating AngularJS with Azure Active Directory Services and Office 365/SharePoint, Part 4
Adding AAD and OWIN code to handle user authentication (can be used for other things beyond Sharepoint).

Azure VM Blues: Fighting a losing Performance Battle
Datamine this article to find Azure performance tips and learn how to avoid some Azure pit falls.

Composing Synchronous and Asynchronous Functions in JavaScript
Learn about Javascript Async functions and some use scenarios.