Sign In

Developer's Diary

  • Home
  • About
  • Create NuGet packages using AppVeyor

    22 May 2015

    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

    Tags: .NET, CI, Git, NuGet

  • Displaying AppVeyor build status badge in a repository

    29 April 2015

     

    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

    Tags: .NET, CI, Tools

  • Running xUnit.net tests using ReSharper

    20 March 2015

    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

    Categories: .NET, C#

    Tags: .NET, C#, NuGet, Tools

  • Soft Skills: The software developer's life manual - book review

    Tags: Books

    05 January 2015

    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

    06 April 2014

    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

    28 January 2014

    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

    Categories: .NET, C#

    Tags: Powershell, TeamCity

  • Dynamic JSON with Json.NET

    16 November 2013

    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

    Tags: .NET, C#

  • Hosting NuGet in TeamCity and consume it in Visual Studio

    Tags: CI, Git, NuGet, TeamCity, Visual Studio

    21 September 2013

     

    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#

    Tags: C#, .NET, Java

    19 July 2013

    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

    Categories: .NET, C#

    Tags: C#, Java

  • Git versioning for .NET projects with TeamCity

    Tags: Git, CI, Powershell, TeamCity, Tools

    28 March 2013

    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

    Tags: C#, Git, TFS, Tools, Visual Studio

    20 March 2013

    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

    Tags: Git, TFS, Tools, Visual Studio

    16 February 2013

    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

    Tags: .NET, C#, Metro, MVVM, Visual Studio, Windows 8, WinRT, XAML

    18 November 2012

    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

    Categories: .NET, WinRT

    Tags: .NET, C#, Metro, MVVM, Visual Studio, Windows 8, WinRT, XAML

  • A simple way of adding Privacy Policy to your WinRT application

    Tags: .NET, C#, WinRT, Windows 8

    07 October 2012

    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

    Categories: .NET, WinRT

    Tags: .NET, C#, Metro, Windows 8, WinRT

  • ListBoxItem colors in Windows 8

    01 September 2012

    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

    Categories: .NET, C#, WinRT

    Tags: .NET, C#, Metro, Windows 8, XAML

  • Enable ApplicationBarMenuItem implementing MVVM approach in Windows Phone 7

    Tags: C#, .NET, WP7

    10 June 2012

    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

    Tags: .NET, C#, WP7

  • Installation of TFS 2011 beta

    Tags: C#, TSF, Visual Studio

    27 May 2012

    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

    Tags: json, initializer, serializer

    29 April 2012

    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

    Categories: .NET, C#

    Tags: .NET, C#

  • URL encoding dilemma

    Tags: C#, .NET, Encoding

    17 March 2012

    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

    Categories: .NET, C#

    Tags: .NET, C#

  • Working with Ext JS cookies

    Tags: sencha, extjs

    16 February 2012

    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

    Tags: extjs, sencha

  • <<
  • <
  • 1
  • 2
  • 3
  • >
  • >>
© 2014 Developer's Diary. All rights reserved.