.NET Zone is brought to you in partnership with:
  • submit to reddit
Rodrigo De Castro10/05/12
4429 views
0 replies

Here's a BTree Library for .NET

As I was reading MongoDB deficiencies, one problem I learned about was the lack of counted BTrees. Since I wanted to learn more BTrees, I cooked up a basic implementation of BTrees in C#

Den D.10/04/12
3055 views
0 replies

Using Jump List Icons in Windows Desktop Applications

Den Delimarsky explains how you can leverage jump list capabilities in your desktop Windows applications - something that was introduced since Windows 7.

Nick Haslam10/04/12
2044 views
0 replies

T-SQL Tuesday #35 – Soylent Green – #TSQL2sday

Nick Haslam asks deverlopers - what is your most horrifying discovery from their work with SQL Server?

Rodrigo De Castro10/04/12
13023 views
1 replies

What? You Don't Spend Most of Your Work Time Coding?!

This is something no one tells you in college: you will not be coding as much as you think.

Sony Arouje10/04/12
9537 views
0 replies

Push Data in Real-time with SignalR

We've all spent plenty of time refreshing our browsers to see the updated score of a cricket match or fresh stock details. So it's particularly cool when the browser can display updated data without a manual refresh. But how do you implement that...

Troy Hunt10/03/12
13993 views
2 replies

5 Ways to do Source Control Really, Really Wrong

If working without everything being under source control is not both a scary thought and a distant memory – STOP IT RIGHT NOW! Seriously folks, we’re well and truly beyond this as a profession and many VCS products are free. Many come with very minimal financial and effort outlays.

Toni Petrina10/03/12
3738 views
0 replies

Iterate Over Enumeration Values in C#

I needed strong type and LINQ support for enumeration values, but the built-in method returns Array which is unusable.

Ayende Rahien10/03/12
3667 views
0 replies

Lucene.NET is Ugly

If you've ever had to go through the Lucene.NET codebase, I'm sure you’ll agree that it's quite ugly.

Toni Petrina10/02/12
2192 views
0 replies

Deserializing POC Objects From Strings Using RestSharp

RestSharp is a wonderful little library for communicating with REST services. There is one thing Toni likes about it in particular – the forgiving deserialization classes.

John Cook10/02/12
4017 views
1 replies

Russian Novel Programming

For a given program, you may have a location in version control, a location on your hard drive, a project name, a name for the program executable...

Mark Needham10/02/12
3167 views
0 replies

Testing XML Generation with vimdiff

A couple of weeks ago, I spent a bit of time writing a Ruby DSL to automate the setup of load balancers, firewall and NAT rules through the VCloud API.

Merrick Chaffer10/01/12
2189 views
0 replies

How to Create DataContracts and Translators for Entity Framework Objects

I've just come up with a fool-proof method for creating data contracts and associated translator logic from Entity Framework generated objects.

Samuel Jack10/01/12
4076 views
0 replies

A Quick Guide to Registration-Free COM in .Net (and How to Unit Test It)

A couple of times recently I’ve needed to set up a .Net application to use Registration-Free COM. So, as much for the benefit of my future self as for you, I’m going to summarize my know-how before it becomes used-to-know-how.

Sasha Goldshtein09/30/12
2270 views
0 replies

Sync Block Diagnostics with PSSCor2 (or PSSCor4)

In case you haven’t seen them, PSSCor2 and PSSCor4 are WinDbg extensions that augment and extend SOS functionality for .NET 2.0 and 4.0 applications, respectively.

Ricci Gian Maria09/30/12
15529 views
0 replies

Entity Framework 5 First Steps – Mapping

Suppose you want to specify a maximum length for the various columns, specify not-null columns, and you want them to be named with a convention. Finally, you don't want to use identity columns.

Senthil Kumar09/29/12
2251 views
0 replies

.NET Link Roundup: NFC, Diablo III API, and more

A collection of recent .NET-related links courtesy of Senthil Kumar, including posts on NFC in Windows 8 and a C# wrapper for Diablo III API.

Simone Chiaretta09/28/12
1800 views
0 replies

Web.NET European Conference: Agenda Now Available

I firmly believe that the future of web development will move away from enterprise features and the needless over-engineering typical of the last decade. That’s why I’m putting so much effort into this conference.

Filip Ekberg09/28/12
8560 views
0 replies

Let's Write Better Software

If consumers want to buy new phones every second year, why should vendors make phones that work for more than two years? This has gone too far, and I’m not just talking about mobile phones, but technology in general.

Daniel Mohl09/27/12
5969 views
0 replies

A Single Page App With Backbone.js, ASP.NET Web API, and F#

In this post, Daniel Mohl introduces a simple example of a single page application built with Backbone.js, ASP.NET Web API, F#, and more. The example is an overly simple contacts app that allows you to view contacts and create new ones.

Filip Ekberg09/27/12
3063 views
0 replies

What’s the difference between doing this and that in C#?

I often get the questions or enter discussions where the topic is: What is the difference between doing this and that in C#? It's not always that easy spotting the difference between code samples.

Douglas Rathbone09/27/12
2736 views
0 replies

Integration Testing FTP Connections in .NET

Testing the way your code behaves under real world conditions makes integration tests important regardless of abstraction. Here’s a simple trick to test FTP code in the wild.

Michael Georgiou09/26/12
6182 views
0 replies

Exporting CSV files in .NET

In development scenarios we often come across the need to export data from .net into CSV file format. A CSV file can be generated using different programming methods as follows.

Ricci Gian Maria09/26/12
3567 views
0 replies

Entity Framework 5.0: First Steps and Impressions

In situations where the customer prefers to use only Microsoft Stack libraries, EF 5.0 is a good way to quickly write an efficient data access module in very few clicks.

Greg Duncan09/25/12
6564 views
0 replies

When is XPS not XPS? When it's OXPS.

The XMLPaper Specification (XPS) was originally created by Microsoft and then adopted by ECMA TC46 as ECMA-388, the Open XML Paper Specification. This is also referred to as OpenXPS.

Juri Strumpflohner09/25/12
2268 views
0 replies

Entity Framework Schema Translations

When you define a mapping in Entity Framework you'll get an EntitySet section. The problem comes when you try to work with hard-coded schema definitions.