Another awesome stuff for developers from Microsoft! This past Wednesday Microsoftie Karsten Januszewski announced the Visual Studio Achievement Beta at Channel9.
Guess what? as a developer, you are writing hundred lines of code every
day without even...
In .Net version 2.0, Microsoft introduced the
TransactionScope class. This class provides an implicit programming
model in which distributed transaction are automatically managed by the
This programming model can...
I love ELMAH – this is
one those libraries which is both beautiful in its simplicity yet
powerful in what it allows you to do. Combine the power of ELMAH with
the convenience of NuGet and you can be up and running with absolutely
Today I had my first live webcast for Microsoft Belgium, about the new features released with ASP.NET MVC 4 at Build in September. There
were around 80+ people registered and around 50 people attending, and
almost nobody left before the end of the...
Last time I talked about System.Uri,
I was talking about a bug that prevents trailing dots from being used
for REST resources. Now the issue is different: how about relying on
System.Uri for domain validation?Orginally Authored by Rodrigo De CastroIt's...
have come across the phrases IoC, Dependency Injection, Mocking among
others, these are commonly used when talking about “Inversion Of
Control” which is the full meaning of the abbreviation IoC. So what is
this “IoC” that everyone is...
Today I have a new module to introduce you to. It’s a relatively
simple module for testing, and you can pick it up in short order and
start testing your scripts, modules, and even compiled .Net code. If you
put it together with WASP you can pretty...
A lot of people seems to have problems whenever I post a code review.
The general theme of the comments is mostly along the lines of: You are an evil person and a cyber bully to actually do those sort of things and humiliate people.You have something...
MvcMailer is an interesting component that you can use for sending
emails in ASP.NET MVC Framework. The very great thing is that it uses
Razor view engine views as email templates and is pretty easy to setup
and use. In this article you will see how to...
Nazmi Altun's Blog - Using Embedded Firebird Database In .Net Projects "... This post will show an example of using an embedded firebird database in .NET/C# projects. What is FireBird? From its official web-site( http://www.firebirdsql.org)...
For those of you living in a cave: PowerShell 3 will be released in Windows 8, and we got a CTP at roughly the same time as the Windows 8 Developer Preview was released (at Microsoft’s new //Build/ conference in September 2011). A second CTP was released...
BugAid - BugAid is free for non-commercial open source projects! "We here at BugAid Software are really big fans of the .NET open source community. From
NuGet to NHibernate to NUnit, you can hardly do any serious .NET
development work today...
Asynchronous controllers are as easy to do as standard
controllersAsynchronous operations in ASP.NET MVC have always been left a bit
behind. They appeared in ASP.NET MVC 2, remained untouched in v3, but
now in MVC 4 (especially in combination with...
I get used to DataAnnotations for model
validation very quickly. Indeed, it is great approach. You attribute you
model with corresponding attributes, rest is done by framework. It is
only ModelState.IsValid, all you have to do before starting...
About.com - C / C++ / C# - WinCheat - A Better MS Spy "I don't think the name is great as it sounds like a game hacking tool, but WinCheat
is an excellent open source improved version of WinSpy by Microsoft
developer Alin Constantin. Though it's...
Why you are being asked for a code sample and what it says about the employer.
At some point during the developer recruiting process, any hiring
manager with the remotest concept of due diligence is going to attempt
to get a preview of what to expect...
Midnight Programmer - SocialCounter.NET - .NET Library To Get Social Stats Few
months back I have shared a code snippet on my blog which will get
Twitter followers count, Facebook page like counts and Feed readers
count. Now I have release a...
In this article we are going to see how to install required tool for
ASP.NET MVC 4 and develop a simple MVC 4 application using the Visual
Studio 2010. Asp.Net MVC 4 framework is used for developing reliable
application using the Model...
When working with nested structures like configuration or XML it is a bit
of a pain with the syntax in C#. Consider this code below. The object
initializes in C# 3.0, but it's still pretty far from
ideal. The important point here is readability, which...
I recently took over a WPF application that needed a little bit of
refactoring. One of the places that had a lot of repeated code was the
about screen. By using reflection a bunch of properties were being
created to display things like the assembly...
for the beginner developer or for the developer who want their code to
speak and easy to understand to other developer who is going to maintain
the code, review the code etc.
To achive this thing most
of the people talks about commenting...
I have events web site where I want to show events start and end time
to visitors. I wrote simple extension method called DisplayTimeRange()
to display event time range on user-friendly manner. My goal is to show
times as 01.01.2012 10:00 – 14:00 and...
For an article I am writing, I wanted to compare a RavenDB model to a relational model, and I stumbled upon the following Northwind.NET project. I plugged in the Entity Framework Profiler and set out to watch what was going on. To be truthful, I expected it...
Last time I talked about the simple module pattern.
This is where you create a function that returns an object with
behavior and state and that behavior and state is implemented (and made
private) by using a closure. We showed this by using the module...
I look to Nuget as the package manager for Windows development in the same way that RubyGems
is to Ruby development. This may be immature of me but it works for my
scenarios. In comparing the different systems, I feel that Nuget is
lacking a few key...