Blog Home  Sign In RSS 2.0 Atom 1.0 CDF  

  def Softwaremaker() :
         return "William Tay", "<Challenging Conventions />"

  knownType_Serialize, about = Softwaremaker()

 Friday, February 03, 2006

Not quite as complicated as it may sound.

Web Services Enhancements (WSE) 3.0 allows that re-usability element aspect. Say I am writing a ASMX 2.0 service with an intent to host it in another [internal ?] process via another transport (TCP, SMTP, MSMQ), I can easily do so.

The *.asmx file that contains

<%@ WebService Class="SomeSWMNamespace.SomeSWMService"%> is equivalent to WSE 3.0's

Protected Overrides Sub OnStart(ByVal args() As String)
    Dim address As Uri = New Uri("soap.tcp://swm/someSWMwindowsservice")
    SoapReceivers.Add(New EndpointReference(address), GetType(SomeSWMStockService))
End Sub

that is hosted via a Windows Service Process. Of course, the architecture of ASP.NET and IIS specifies the vDir and the physical *.asmx file as the physical endpoint address while you get to specify your own if you host it via another process.

In other words, the IHTTPHandler class for asmx endpoints and the Winows Service are different processes accessible via different transports (Http and Tcp) but hosting the same codebase. Incidentally, this codebase is a .NET Class Library with all the fanciful attribute decorations:

<WebServiceBinding(Name:="SomeSWMService", _
   Namespace:="", _
   ConformsTo:=WsiProfiles.BasicProfile1_1, EmitConformanceClaims:=True)> ...

<WebService(Namespace:="")> _
<Policy("SWMTracePolicy")> ...

Friday, February 03, 2006 10:29:59 AM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Sunday, January 29, 2006
    Saturday, January 28, 2006 11:54:04 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Friday, January 27, 2006

    Dont get me wrong. I love my new PocketPC Phone on Windows Mobile 5. Some great reviews can be found here, here, here and here.

    If you read all those reviews, it is with no doubt that everyone has their thumbs-up for this beauty and the common underlying praise is its Performance with a Samsung 400 MHZ Processor, which some suggests runs with the same cyclical power of a Intel 570 MHZ Processor, BUT outperforms even that of the Intel 624 MHZ that the Dell AXIM x50 has.

    This is the only PocketPC Phone that I have test-driven successfully with Skype. And if you know how the architecture of Skype works, if it can run Skype, it can run everything. In fact, I have chatted with many people over Skype using this phone ... No-one knows that I am chatting with them via a PocketPC Phone ... and it really makes me wonder about why would anyone bother with these types ?

    Anyways, while playing around with some of the softwares in there, I noticed a couple of boo-boos like those shown below

    Giggles aside and it is a great conversation starter amongst geeks, I have always preferred functionality over aesthetics - Who really cares how the food and the cook looks when it tastes good (the food, that is ...)

    I also fnid it fsacinatnig that the human brian is so cabaple of knowing and dceiphering the meaning, the intent, the samentics of these words, even though it is spelt wrognly.

    Is this an exercise of the brain or is it just simply to carry on the great legacy of software typos ?

    Thursday, January 26, 2006 9:00:34 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Thursday, January 26, 2006

    This is a long but great post (worth the time) comparing the presentation styles of Steve Jobs and Bill Gates. I must admit that I had fallen (almost) asleep hearing Bill present the last couple of times last year.

    His presentation was designed such that the focus was on his power-point slides. This is wrong. People are paying money to see and hear Bill speak. Bill has to carry himself ... and just like what that post mentioned > "There was a lot of  images and a lot of text".

    It was way too much.

    Wednesday, January 25, 2006 10:18:15 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Saturday, January 21, 2006

    I recently had a chance to sit down with a client to discuss about software systems as well as to find out what we can do for them in their new system proposal.

    I mentioned the 80/20 rule and explained to him what is was.

    Then, we talked about (Web) Services and he was aghast that we could still be using (Web) Services even within his own LAN - and not connected to the WWW.

    "...but I thought you need to be using a browser and connected to the internet to be using (Web) Services ? ..."

    Sigh. I have heard that one too many times. One of the recent misnomers, no doubt.

    Services, Services, Services. Code and Location is irrelevant. I had posted something like this a while back. It is good that the industry is taking some steps to correct this. See Point [1] of this referenced post.

    Friday, January 20, 2006 10:29:37 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Friday, January 20, 2006

    Sounds like SPAM ? It is not.

    This is a 100% ASP.NET 2.0 based CMS solution -- best of all it is free -- check out this blog post for some sites built with it.

    All the info you need is here. Let me know your thoughts if you are using it. I will be embarking on it very soon.


    Friday, January 20, 2006 1:22:50 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  • I am known to be a hard-driving consumer. Hey, I work hard for my money, they should do the same for mine. It is all fair and good.

    Recently, my phone line was bad (read: Noisy) and that affected my ADSL line as well (read: intermittent Internet Connectivity). When I called the service provider, they told me that the linesman would only come to my place after 3 days and, as usual, said: They will be there between 1300 to 1800 hours

    I was stunned. Where is the basic SLA ? They said that because of the rain these days, the Fault Lines Technicians and Engineers were swarmed and therefore were busy. I told them - to be honest - thats your problem; not mine. I cannot tell my boss or my clients that I can only answer emails or fight fires 3 days later because there was too much rain and a Global Billion-Dollar company like Singtel cannot handle it. They cannot compensate me for a quantifying amount for loss of service for 3 days because there is loss of business activities to me. Try to quantify that !!!

    Hey, SingTel - Learn ! Learn ! Learn ! If there is excessive rain and fault rates (read: Demands) are high. For goodness sake - Increase the size of your field team. Pay them per-incidence. Train more people. You have a basic service level to keep up. I will understand if your Comcenter gets terrorized or hi-jacked but Rain ? C'mon - That is hardly an excuse. As a global company that has revenues in billions - you ought to do better. Shame.

    And whats the deal with between 1300 - 1800 hours. I never did understand that. Why penalize a comsumer who has to take leave (hey, someone has to work hard to pay the service provider, dont they ?) to wait 5 hours for a technician who comes in and solves the problem within 10 minutes.

    I think this is becoming to be a Singaporean culture - started by the Government, of course. I still laugh when I hear our own economist forecasting: "...we expect our GDP to grow to between 1% to 4%".

    Dudes, that is a huge gap just to cover your as*es. If you are wrong, admit you are wrong. Dont give yourself that gap just so you can always be right.

    Try submitting that report to hard drivers in the US or Europe and see them cringed. Giving that GDP gap as actual reported numbers is insane. Dont they know that a 1% gap equates to billions of dollars. It is akin to saying that my company may rake in between 10 dollars and 1,000,000 dollars this year and get some angel investors to sink their see funds in it.

    Angel Investor: "Hey, I think I made a good investment today"
    His Wife: "Oh ? Which lucky company is that ?"
    Angel Investor: "Well, they stand to make 1,000,000 dollars because of their great product and wonderful management"
    His Wife: "Excellent ! Maybe its time to have that 3rd kid we have always wanted"
    Angel Investor: "Well, honey...not so soon ... because they can make just only 10 dollars too..."
    [His Wife puts on her clothes again ...]

    ...Thats why I think the weatherman in Singapore has the easiest job. Our weather is fairly constant all year around and I hope one day we dont hear our weatherperson saying something like: "...expect temperatures to be between 1 and 35 degree Celsius..." Of course, they are always right and never wrong.

    With all the noise I made and a threat to write to the press about it, the linesman came in 2 hours time on the very same day.

    Remind me not to go into any consumer business next time.

    Thursday, January 19, 2006 9:21:52 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Thursday, January 19, 2006
    Thursday, January 19, 2006 12:56:22 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  • Microsoft announced Go Live licenses this morning for Windows Communication Foundation (WCF, previously - Indigo) and Windows Workflow Foundation (WF) , which lets customers use the January Go Live releases of WCF and WWF in their deployment environments. Do note that these are unsupported Go Lives.) 

    More information about the Go Live program is at

    There are also a couple of community sites for WCF and WWF here:

    The community sites give users everything they need to start using WWF and WF today.  If you have some great samples, do post them to the sites;  The WCF sample gallery and WF activity gallery allow you to host the samples/activities on your own site and create links to your own site from the galleries.

    As mentioned, I will be introducing more WWF Blogging to this site. Do stay tuned.


    Wednesday, January 18, 2006 9:58:09 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Wednesday, January 18, 2006

    Two of my favourite features out of many in Visual Studio 2005.

    1) Finally - A Correction of what was wrong for some time - There is a Add Service Reference now. This is essentially what svcutil.exe does for you. Awesome. Now we know we are speaking services and messages ... No more calls please.

    2) A simple IDE enhancement but yet one that can generate lots of productivity. VS.NET will launch any project (of a solution) that my cursor is residing on. No more booting up of Class Libraries or Service Components by mistake anymore, (esp. in-front of an audience)

    Wednesday, January 18, 2006 3:08:43 AM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions

  •  Friday, January 13, 2006

    If you want some more of this, email me or comment your email here.

    [Update:] Sorry, many people have written in to me and all invites have all been given out.

    Friday, January 13, 2006 4:37:14 AM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer 
  • Blog reactions