Tuesday, October 6, 2015

Test a website performance–webpagetest.org

WebPageTest.org is a great tool to test your website performance.


From the website:

Run a free website speed test from multiple locations around the globe using real browsers (IE and Chrome) and at real consumer connection speeds. You can run simple tests or perform advanced testing including multi-step transactions, video capture, content blocking and much more. Your results will provide rich diagnostic information including resource loading waterfall charts, Page Speed optimization checks and suggestions for improvements.

Let’s have a look at some of the rich information it has to offer:

  • A high level overview with a score(between A and F) for important performance characteristics(Remark: I notice that I have some work to do optimizing and caching my images).


  • During the test, the page is loaded twice. Once to see how the first view performs and the second time to check for caches. A waterfall diagram is shown with all the loaded resources and a screenshot is taken from the loaded page.


  • If you click on a screenshot, you get another view where you see the difference between when the page is fully loaded and when the document complete is triggered. This give you some insight in how the user experiences the site when it’s ready to use.


  • The last thing you get to see is a content breakdown.


For each of the reports above you can drill down into a lot more details. What’s also nice is that you can choose the datacenter where you want to initiate your test. So if you want to see how an Asian customer experience your site, choose a nearby datacenter from the list:


Monday, October 5, 2015

Inspiring blog post–“Let a 1,000 flowers bloom. Then rip 999 of them out by the roots.”

Let’s start the week with an inspiring post by Peter Seibel about the Engineering Effectiveness team at Twitter. There is so much hidden knowledge in this post, that I can keep reading it over and over… Glimlach

Click on the link and learn!


Friday, October 2, 2015

Goodbye ClickOnce! Hello Squirrel!

Over the years I developed a ‘love/hate’ relationship with ClickOnce. Although really great when it works, the moment something goes wrong, you’re in for some pain.

Recently I discovered Squirrel, an open source product, using the following tagline: “Squirrel: It's like ClickOnce but Works™” Glimlach


Squirrel is both a set of tools and a library, to completely manage both installation and updating your Desktop Windows application, written in either C# or any other language. It even works on other platforms.

Squirrel uses NuGet packages to create installation and update packages, so creating an installer is easy.

Check out the user documentation and the Getting Started page, which includes a Quick Start guide.

Thursday, October 1, 2015

Visual Studio and Team Foundation Server 2015 ALM Virtual Machines

For years Brian Keller has been delivering a fully functional TFS VM together with a great set of hands-on-labs, everything an ALM expert needs to keep his knowledge up-to-date.

Last year Brian moved away from his role as evangelist for Microsoft ALM, luckily his colleague Sachin Hridayraj continued the story. Yesterday he released a brand new Visual Studio 2015 version, complete with a revised set of hands-on-labs and demo scripts, at http://aka.ms/ALMVMs.


Wednesday, September 30, 2015

.NET Code Documentation

Although good naming and a set of well written tests  can bring us so far, good documentation is sometimes indispensible.

Before releasing a component I was documenting a public API using the Visual Studio XML documentation. The exposed API was using generics, but I didn’t know what the correct documentation structure was.

MSDN brought the answer:

Tuesday, September 29, 2015

Today it’s AzureCon 2015

Don’t forget! Today it’s AzureCon 2015, a free, virtual event about Microsoft Azure.

Hear from the experts about the latest Azure innovation and easy-to-adopt solutions. Listen as customers take the stage to share their stories. Join live Q&As and interact with the architects and engineers who are building the latest features. Choose from more than 60 technical sessions—and accelerate your journey to the cloud.


Monday, September 28, 2015

Microsoft Unity - 'Microsoft.Practices.Unity.InjectedMembers' is obsolete: 'Use the IUnityContainer.RegisterType method instead of this interface'

While preparing a release I was cleaning up some build warnings that sneaked into the code.

One of the warnings I got was the following regarding Unity, Microsoft’s IoC container:

Warning              11           'Microsoft.Practices.Unity.InjectedMembers' is obsolete: 'Use the IUnityContainer.RegisterType method instead of this interface'                C:\Projects\Services\ServicesConfiguration.cs           136         38                Services

The warning was coming from the following code:

Using this code I’m configuring the constructor parameters when a ServiceAgentConfiguration class is resolved from the IoC container. I was doing this through the InjectedMembers object from Unity. However this class is obsolete, so I had to update my code to the following: