C#
-
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
-
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
-
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
-
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
-
BigInteger in Java and C#
I was working on a task where I need to generate a BigInteger number in C# which should be the same if generated in Java. Two libraries – in Java and C# should generate BigInteger and they … more
-
Unbind TFS
This a follow up post to the previous one Migration from TFS to Git
If you migrated your code from TFS to Git you'll soon realise that you don't need all the TFS bindings. After spending some time … more
Categories: Git
Tags: C#, Git, TFS, Tools, Visual Studio
-
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
-
A simple way of adding Privacy Policy to your WinRT application
Every WinRT application should have a Privacy Policy otherwise you will fail the Store certification. You put the Privacy Policy in Charms, Settings. At the moment of writing this article there isn& … more
-
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 TargetType="ListBoxItem">
<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
Categories: .NET
Tags: .NET, C#, TFS, Visual Studio
-
Create JSON string using object initializer
Suppose we have the following JSON:
{
"success":"true",
"msg":"User created"
}
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
- 1