.NET Zone is brought to you in partnership with:
  • submit to reddit
Mark Needham10/02/12
3291 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
2376 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
4484 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
2422 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
16305 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
2358 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
1959 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
8872 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
6300 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
3168 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
2973 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
6609 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
3736 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
7211 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
2410 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.

Filip Ekberg09/25/12
3560 views
0 replies

How to Avoid Shooting Yourself in the Foot with Tasks and Async

Since the release of .NET 4.5, you’ve been able to use the RTM version of Async & Await. There are some things though that can lead to very weird behaviors in your applications, and a lot of confusion.

Tim Murphy09/25/12
2970 views
0 replies

Windows 8 - Initial User Experience Review

This is the first Windows OS that I have had to spend much time exploring to even get started. The first thing I ran into was when I clicked on the desktop icon - I was lost. Where is the Start menu? Where are my programs? How do I get back to the Metro environment?

Merrick Chaffer09/24/12
2373 views
0 replies

Killing Visual Studio Quickly

Stick this in a batch file in your %systemroot%, then you can run it from anywhere.

Daniel Mohl09/23/12
3098 views
0 replies

F# Templates And F# Tools for VS2012 Express for Web

The F# team announced the F# Tools for Visual Studio 2012 Express for Web. This tool set now makes it easier than ever to create web applications that use F# for the server-side heavy lifting.

Sony Arouje09/23/12
5453 views
0 replies

DDPClient.NET– .NET Client For The Meteor Distributed Data Protocol

Using DDPClient.NET you can subscribe to published items or call a Meteor method and display the same in your ASP.NET or Desktop applications. Sony Arouje explains his approach.

Slobodan Pavkov09/23/12
3274 views
0 replies

.NET Gotcha #1: List vs. Collection Constructor

If you check the MSDN documentation for Collection constructor that accepts generic IList you will see this text: Initializes a new instance of the Collection class as a wrapper for the specified list.

Sasha Goldshtein09/22/12
4574 views
0 replies

Asynchronous WMI Queries: Stay Away From Them

WMI is known for requiring lots of attention to security. To establish a WMI connection to a remote machine, you need to muck around with registry settings, DCOM configuration, group policy details, and other infernal things which we developers like to defer to someone else.

Den D.09/21/12
1503 views
0 replies

Build Is Coming Up. Here Is An Interview With Rick Barraza @ Build 2011

During the BUILD 2011 conference I got to see Rick Barraza, currently a technical evangelist at Microsoft. Here is what he had to say.

Den D.09/21/12
1860 views
0 replies

Hackathons Make More Sense Than You Think

Hackathons are awesome. In this article I am sharing my experiences attending one and how that made me a better developer.

Den D.09/21/12
977 views
0 replies

"It’s Expensive Getting Hardware To Test On" Not An Excuse Not To Test

Bart van Zon put together a short blog post describing why some web developers, who chose Mac as their development platform, might attempt to avoid testing their product in Internet Explorer. Here is why the argument is not valid in the modern environment.