Tag Archives: .NET

Verify that the current user is granted access in the appropriate allowAccounts section of SMSvcHost.exe.config

Quick tip that maybe will save others time:

In Windows 7 ( and maybe Vista) when hosting a WCF Service in a console application AS A USER and not as administrator, you might get an exception telling you that you don’t have access to register with the net.tcp port sharing service.

To resolve this problem:

- Download PsGetSid ( this will give you the … read full article

NServiceBus with NHibernate and MySQL

In the last project I have been working i finally got a chance to design and implement a solution based on NServiceBus and NHibernate, two tools I’ve been watching for a while but never got a chance to play with in more than sample applications. For some external reasons I’ve been forced to use MySQL as a database server in this project.

C# HTTP Request

A few years ago I’ve written an article on how to perform a synchronous HTTP request using Qt 4.2. I I’ve seen this article today and since now I’m mostly working with C# i was wandering how fast can i do the same thing in c#. After very few minutes I’ve managed to came up with this:
using System;
using System.Net;
using System.IO;

class Program
{
static… read full article

C# Extension Methods

After a few months I’ve enjoyed the newly ( or not ) added extension methods in 3.0 yesterday i discovered that one of the assumptions I’ve made about them was false. My assumption was that if the instance on witch you call an extension method is NULL you would get a NullReferenceException. Turns out it’s not the case and you can call the extension method on a null reference… read full article

ASP.NET MVC or ASP.NET just got plesent

I’ve been really busy the last months with the new job where we use c#. I’ve grown found to it … it has a lot of nice features … lambda expressions, anonymous types, generic types. Sure there are a lot of thing that can be improved like real generic types ( aka C++ templates ) but it’s a really reliable tool.

In the past I’ve worked on a few… read full article