Using KnockoutJS with SignalR in ASP.NET MVC

KnockoutJS is a MVVM implementation for JavaScript written by Steve Sanderson, in my opinion the author of the best ASP.NET MVC textbooks available. Simply put it lets you bind a JavaScript object model to your HTML UI using a Read more

A MongoDB Tutorial using C# and ASP.NET MVC

In this post I'm going to create a simple ASP.NET MVC website for a simple blog that uses MongoDB and the offical 10gen C# driver. MongoDB is no NOSQL database that stores information as Binary JSON (BSON) in documents. I Read more

Linq To SQL Tutorial

Check out some of my other Linq to SQL posts: EntityBase Inheritance Modifiers with SQLMetal Linq to SQL with WCF Services Linq to SQL Framework (Repository/Business wrapper) ObjectDataSource binding with server side paging and sorting Load Options Generic Framework using reflection This is a basic tutorial for Read more

Fix TeamCity failing to clone or pull from Git

Posted on by Joe in TeamCity | Leave a comment

I’ve had a pretty frustrating few hours today where TeamCity appeared to be very slow pulling from Git. I removed the VCS root and added it again, changed from HTTPS to SSH after which point it couldn’t even seem to pull anything from BitBucket.

After a bit of searching around I finally found my answer on stack overflow here – http://stackoverflow.com/questions/18766875/teamcity-getting-stuck-at-updating-sources-on-one-git-repo

By default TeamCity will only pull files <= 128mb. To change this you need to create an internal property that increases the size.

Create a new file in <Team City Data Directory>/config/ folder (c:\ProgramData\JetBrains\TeamCity\config by default) called internal.properties. Inside this file put the following:

teamcity.git.stream.file.threshold.mb=256