Its like somebody just opened a window.

August 23, 2010

I can’t get over how nice Fluent NHibernate is.

Human Windows Workflow Foundation 3.5 over WCF

August 4, 2010

Couple of things I have started to notice some basic gotch-yas for developers around my place of employment.

Error on activity validation – cannot find condition

You will get this error when using embedded declarative code conditions in anything from a WhileActivity to a IfElseActivity. Basically if your .rule file is not named exactly the same as your .xoml file (including case!) the *.rules file will not load.

To fix this open up the *.csproj file and change the dependency to include the correct casing and names for the rules.

Windows 2008 Server R2 – Changing IIS To Not Listen on Port 80

June 1, 2010

Been diagnosing a problem between a SOLR index job and an IIS RESTful web service. At some point in the batch something bad happens and I don’t know what it is. I wanted to have a real-time monitor in place and tried to get fiddler up and running to monitor the http requests coming into IIS.

I could only do this by setting up a reverse proxy, having fiddler run on port 80 and redirect to port 81 to which IIS would be running. I did run into a snag, IIS still kept a hold on port 80 until I ran the below command line..

netsh http add iplisten ipaddress=x.x.x.x

1) stop all IIS services: net stop http /y
2) have IIS listen only on the IP address I’d designated for IIS: netsh http add iplisten ipaddress=x.x.x.x
3) restart IIS Services: net start w3svc

That allowed fiddler to run on port 80 and then redirect the responses to IIS. Then I got to see where the problem was. I tried wireshark, but I didnt need “capture” I only wanted streaming…