C#
-
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
-
TeamCity Build Parameters for PowerShell
In this article I will describe how you can add custom parameters to your TeamCity build configuration and read them in Powershell. Although adding parameters is not difficult and it is documented ok … more
Tags: Powershell, TeamCity
-
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
-
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
-
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