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.
I've just come up with a fool-proof method for creating data contracts and associated translator logic from Entity Framework generated objects.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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?
Stick this in a batch file in your %systemroot%, then you can run it from anywhere.
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.
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.
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.
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.
During the BUILD 2011 conference I got to see Rick Barraza, currently a technical evangelist at Microsoft. Here is what he had to say.
Hackathons are awesome. In this article I am sharing my experiences attending one and how that made me a better developer.
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.