Sidhartha's profileInherited from System.Ob...BlogLists Tools Help

Blog


    June 28

    O'Reilly now sells chapters... any takers???

    orly_indian.jpg

    Don't like the book, but love a particular chapter??? no worries...

    Don't have money to buy the book, but have enough to buy a Mc-burger??? no worries...

    O'Reilly is now selling chapters in a book separately for $3.99.

    June 16

    Enable trace for your WCF service

    If you are stuck with something and no way to proceed, what can be your best friend other than the trace. I ended up in the same situation some time back and found that there is a tool available with .Net Framework 3.0 called SvcTraceViewer.exe which can give every possible detail a developer/administrator might want to look at for diagnosing certain problem.

    But, to use this tool you would require the trace log. To obtain the trace for your service, you have to instruct the WCF engine to do so.

    Thankfully, its is as straightforward and simple as it can be. All you need to do is just add these few lines to your config file and you are all set to go.

    <system.diagnostics>
      <trace autoflush="true" />
      <sources>
        <source name="System.ServiceModel" switchValue="Verbose"> 
          <listeners>
            <add name ="myWCFServiceTrace"
                     type="System.Diagnostics.XmlWriterTraceListener"
                     initializeData= "myWCFService.e2e" />
          </listeners> 
        </source>
      </sources>
    </system.diagnostics>

    You can specify the level of trace to be generated by changing the switchValue attribute. The possible values are Critical | Error | Warning | Information | Verbose.

    Verbose is to generate the complete trace and should be used in situations when you are totally lost. I mean, when you don't have any clue which method failed.

    I'll write a more elaborated post when I find some more time.

    Narrow mindedness - a bliss for sure :p

    Its been long since I wrote a blog and had to re-start with a rant

    Friends...this is a rant... if you have any better job, please mind your business first. After all, you are being paid for that ;)

    What is the problem with us?

    I switched on the television and everywhere it is the latest movie... people praise him and treat him like god... what's big deal one might ask... this certainly seems to be a big deal for some of the folks. No, I'm not commenting on the actor or his acting abilities. What seems humiliating is the behavior of certain individuals.

    First thing they do is start debating who is the Indian super star??? Is North movies great or South movies great...

    Friends, its a movie after all... North Indians will not watch a South Indian movie for an obvious language barrier. And several South Indians do not watch North Indian movies for the same reason... Not everyone understands other's language. So what's big deal.

    When I was in Florida, I met people who do not even understand English and do not watch Hollywood movies... so what's big deal... nothing at all.

    It is democracy my friend... as long as you are not destroying the public property and not causing inconvenience to your compatriots, everything should be fine... Just move on with your lives... there are bigger problems to solve... certainly not who is the super star.

    AFA my take on the publicity... if I do business and I spend 100 Rupees I'd try to make at least 110 out of it... and they spent 85 Crores ;)

    So... I switched off my television and turned on my laptop with an even firm determination that television/movies sucks big time - no matter which language/actor it is. You too switch off those crap and instead spend some quality time with your families, your friends.

    enough of complaining, now... which theatre are they showing this movie???