Patrick’s Bytes

Techie for the past 30 years…

Complex family relationships expressed in English

I know this is not the place to blog about family relationships (where are the codes?!) but when you have Raymond Chen (author of the book Old New Thing and developer in Windows Shell team) talked about this topic and finding out that he can write in Chinese then this is awesome.

Normally we Asians think that in English there are no word/ vocabulary to tell you want relationship you have with i.e. your father’s sister in law’s daughter. Chinese have word for every relationship but in English an uncle is just uncle, outsiders of your family won’t know when you call your uncle it’s your dad’s side or mum’s side. But here in Raymond’s blog post, I actually find out there is.

http://blogs.msdn.com/oldnewthing/archive/2009/04/27/9570320.aspx

WCF – MSMQ based web service returns error 503

I added MSMQ to my WCF web service (which was running OK) by adding the following endpoint to the service in web.config file

<endpoint
    address="net.msmq://server/private/queue1"
    binding="netMsmqBinding"
    bindingConfiguration="MsmqConfiguration"
    contract="ITestQueue" />

I also added the following binding

<netMsmqBinding>
    <binding name="MsmqConfiguration"
       exactlyOnce="false">
       <security mode="None"/>
    </binding>
</netMsmqBinding>

Once I deployed the Wcf service on Windows Server 2008, I also enable net.msmq on the website using the following command

appcmd set app "localhost/service" /enabledProtocols:net.msmq

However when I try to point to the svc file from my browser I got an Error 503 instead. Removing the MSMQ endpoint and I have the service up and running again.

After that I have a look at the website via the IIS Management Console and I realize that http protocol is not enabled for the website anymore

image

A normal web app will have http protocol such as below

image

At last I figure out that the appcmd actually overwrote the settings instead of adding on to it. So the correct appcmd command is:-

appcmd set app "localhost/service" /enabledProtocols:net.msmq, http

And I have the site running again with both http and msmq protocol enabled.

Windows 7 Release Candidate

WTB_banner_win7

The Windows team blog annouced that the final testing milestone for Win7 which is the RC will be available to MSDN and TechNet subscribers on 30th April.

On the mean time Paul Thurrott’s Super Site for Windows has tons of screenshots for Windows 7RC. Compared to Beta, I don’t see much difference except the news about a Virtual Windows XP Classic Mode.

Now I wonder how Paul got access to the build? :)

SharePoint Prezzo at IASA Chapter Meeting

My fellow SharePoint User Group co-founder Matthew was invited to speak at International Association of Software Architects (IASA) this Tuesday and he presented a topic on SharePoint Content Governance. About 15 members from IASA attended the talk held at Microsoft Malaysia’s office.

003

Teaching Prism and Sync Framework for SCoPE Penang

002

Got invited by Software Consortium of Penang (SCoPe) to conduct a one day course on Composite Application Guidance for WPF (Prism) and Sync Framework. Due to short notice, about 8 participants turned up for the weekend workshop.

My Prism hands on labs are downloadable here.

http://cid-732d1d42507315a3.skydrive.live.com/browse.aspx/Public/Prism

Older Posts »