Monday, September 23, 2013

DevDay 2013

I could not miss DevDay this year, mainly because of Jon Skeet. Master of answers on StackOverflow came to Cracow.

Windows Azure Active Directory Solutions

While I was looking for guidelines regarding implementation of WCF REST services with Federated Authentication I found this nice TechNet article with number of scenarios. It aggregates number of possible scenarios with pretty good explanation. And if you are looking for some more info in this topic, there is this nice free book from MS A Guide to Claims-Based Identity and Access Control.

Have a nice reading!

Sunday, May 26, 2013

Running Selenium WebDriver UI tests from TeamCity

Task is fairly simple but require one tweak.

When you run TeamCity agent as service, you need to allow interaction with user desktop. Keith Dahlby created nice solution to enable this feature for service working under any account which is not Local System.

After this tweak, works like a charm!

Executing scripts remotely from TeamCity using PowerShell

The problem I had to solve seems to be pretty simple on the beginning. Execute couple of deployment scripts on remote Windows 2008 R2 box, to perform deployment of web applications using with custom package manager used in our project.

Wednesday, December 12, 2012

JSONP WCF service over SSL

In .NET Framework 3.5 JSONP message encoding is not available out of the box. In this short post I will show how to configure WCF to support JSONP endpoint over SSL.

Sunday, November 18, 2012

Listing methods tagged with custom attribute

Attributes are very powerful mechanism in .NET. In this particular case, I had created custom attribute and wanted to list all methods tagged with it. Additionally my requirement was to get only methods which has been tagged with my custom attribute with specified parameter value.

Friday, September 7, 2012

Query execution time in miliseconds in SQL Server Management Studio

If you need to get query execution time in milliseconds in SQL Server Management Studio, there is a simple way to achieve this.