-
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
Categories: .NET
-
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
-
Soft Skills: The software developer's life manual - book review
I usually don't do book reviews. There are tons of good books but this one is THE book. The book that everyone with a career in software development should read. I don't mean a person whose job title … 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
-
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
-
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
-
Hosting NuGet in TeamCity and consume it in Visual Studio
Introduction
This post describes the setup of NuGet package inside TeamCity and configuration of your Visual Studio to consume the hosted packages. TeamCity version 7.1 is used.
When you … more
Tags: CI, Git, NuGet, TeamCity, Visual Studio
-
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
-
Git versioning for .NET projects with TeamCity
TeamCity has a nice feature which allows to create a build number automatically with every build. For example, MyLib.dll has version 1.2.3.0. When configuring TeamCity in the “Build number … more
Categories: Git
Tags: CI, Git, Powershell, TeamCity, Tools
-
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
-
Migration from TFS to Git
Some time ago we were trying to migrate our code from TFS 2008 to the hosted TFS (http://tfs.visualstudio.com) using TFS Integration tool - http://tfsintegration.codeplex.com/. After a few failed … more
Categories: Git
Tags: 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
-
Working with Ext JS cookies
Using cookies in ExtJS is really easy and straightforward but many people who are new to ExtJS struggle with this.
First of all you need to instantiate the cookie provider and configure the default … more