Apache Kafka for .NET developers
Apache Kafka became one of those technologies and buzzwords you hear often and looks to be very exotic and cool. Getting started with Apache Kafka as a .Net developer might look daunting and … more
A logging library for operations or a C# feature which Java developer will appreciate
This blog is not about how Java is better than C# or vice versa. It's about using existing features a language offers you - every language has its own strength.
I went to London Continuous Delivery … more
Azure Mobile Service deployment with Team City part 6. Integrate SpecFlow with TeamCity
In the previous blog post I explained how to configure TeamCity to run a PowerShell script which will deploy an Azure Mobile Service.
After the Mobile Service was deployed we want to run acceptance … more
Azure Mobile Service deployment with Team City part 5. Configuring Mobile in TeamCity
In the previous post we finished to create all the PowerShell scripts. The build and deployment run locally. Now it’s time to create a TeamCity configuration for it.
Open the TeamCity web page … more
Using Ninject with ASP.NET Web Api 2
Dependency Injection in Web Api 2 has changed. For this purpose the NuGet packages for Ninject has been updated adding some breaking changes. If you have used Ninject before and tried the same … more
Create NuGet packages using AppVeyor
This blog explains how to create a NuGet package and use AppVeyor as a continuous integration and deployment tool.
I found out about AppVeyor some time ago from Scott's blog - "AppVeyor - A good … more
Displaying AppVeyor build status badge in a repository
If you're using AppVeyor for your CI then you can display the build status in your repository readme page. You do that by using the Status Badge. There’s is good documentation on their … more
Running xUnit.net tests using ReSharper
If you have created new projects in Visual Studio recently and you use xUnit.net with ReSharper to run your tests you might find that your tests are not running. The reason for that is that xUnit.net … more
Serialize during debug in Visual Studio
Often during debugging we need to have a serialized version of an object. Usually we need this to get the serialized object and use it in another tool or parser.
An easy way of doing this is during … more
Tags: .NET, Visual Studio
Dynamic JSON with Json.NET
With the release of .NET 4.0 we can use dynamic feature when serializing/deserializing objects using JSON.NET. In this article I give examples how to use dynamic parsing of JSON object and extract … more
Building WinRT / Windows 8 Grouped items using MVVMLight
One of the reasons to use MVVM pattern is the fact that you can design before having the application fully implemented. Tests are also an important part but this is not the topic of this article. … more
Tags: .NET, C#, Metro, MVVM, Visual Studio, Windows 8, WinRT, XAML
ListBoxItem colors in Windows 8
In WPF you can override some resource in order change the colors of the ListBoxItem. For instance, overriding some standard brushes:
<Style.Resources& … more
Enable ApplicationBarMenuItem implementing MVVM approach in Windows Phone 7
This article will explain how to enable or disable an ApplicationBarMenuItem in Windows Phone 7 from a ViewModel object using MVVM pattern.
Suppose we have a page with a check box with the name … more
Installation of TFS 2011 beta
The new release of the TFS 2011 Beta comes with the Express edition. This edition is limited to 5 users but it can be a perfect solution for your home development environment. You don't need to … more
Tags: .NET, C#, TFS, Visual Studio
Create JSON string using object initializer
Suppose we have the following JSON:
We need to write a simple piece of code to build this JSON string.
Have you ever seen a code similar to … more
URL encoding dilemma
Ever had the necessity to encode the URL parameters from a console or library project and not a web project?
For this cases HttpUtility class from System.Web namespace would help us. But you need to … more