When you deploy an application to Windowes Azure, your application configuration cannot be changed cause it becomes part of the distributed package. So what can you do if you want to set some dynamic settings (i.e Connection String settings)? First of all you must use the ServiceDefinition.csdef file and add the...
Today I’ve released netDumbster (http://netdumbster.codeplex.com/) netDumbster is a .Net Fake SMTP Server clone of the popular Dumbster (http://quintanasoft.com/dumbster/) netDumbster is based on the API of nDumbster (http://ndumbster.sourceforge.net/default.html) and the nice C# Email Server (CSES) writen by Eric...
When running a query like the following: 1var query = nhib-Arms.Where(a => a.LeftHand.Thumb.Length == 1 || a.RightHand.Thumb.Length == 1); Thumb alias was always taken as part of the a.LeftHand association path, therefore leading to wrong results. I’ve worked on patch and test to fix this issue, so Thumb alias is once...
Yesterday I had the challenge to redirect – rewrite an url from my public IIS7 server to an internal Apache server. For instance a request to http://www.mysite.com/app handled by IIS should be redirected (using a reverse proxy) to ; http://127.0.0.1:8080/app where the internal Apache is listening. Trying to configure...
Yesterday I found myself stucked with a strange exception while programming a unit test using Rhino Mocks. Supose you have an interface like the following one. 1public interface ITest 2{ 3 object Freak(); 4} You can try a mock like the following: 1var test = MockRepository.GenerateMock(); 2 3test.Expect(t =>...