Posts
  • Discovering coding pearls

    Solution to "Unable to start vsperfmon.exe"

    • 2 Comments
    I tried running VS2008's profiler and ran into the following problem: VS prompted me to login as admin and then run the profiler (even though I was already logged in). And it ultimately exited with the following error in the output window. Error VSP1398...
  • Discovering coding pearls

    REST endpoint hosted in a WCF windows service

    • 2 Comments
    I have a Windows service that acts as a cache server and is implemented using WCF. This service mainly returns a stream of data dictionaries to it's clients. Recently there was a request for me to make this service more "debuggable". One of the things...
  • Discovering coding pearls

    Have a unit test project but tests don't show up in TestView?

    • 1 Comments
    I recently had to deal with this issue in which I had created a unit test project with references to all the right Visual Studio quality dlls, and a well formed unit test class with all the pretty [TestClass] and [Test] attributes, but for some reason...
  • Discovering coding pearls

    Nulls returned in Async WCF queries

    • 1 Comments
    I'm talking about client side async calls -- i.e. when you use svcutil /a to generate async methods for your WCF service. This is usually rare, but happened to me yesterday -- I was getting nulls back in the EndResponse. I tried a lot of things -- dug...
  • Discovering coding pearls

    WCF Callback Gotchas

    • 1 Comments
    I got to use WCF callbacks recently and realized some of it's gotchas , which are listed here: Callbacks requires communication over duplex channel Requires all clients to implement the callback interface, exposed by the service BasicHttpBinding...
  • Discovering coding pearls

    Joins to be clear

    • 2 Comments
    Just to be clear, there are 5 types of a SQL joins: Cross-join or Cartesian Product - Joins all rows from one relation with rows from the other relation Inner join - Joins only those rows that have same data in the common attributes of the two...
  • Discovering coding pearls

    Ambiguous reference to System.UI.Web.Extensions.dll

    • 2 Comments
    If you install Visual studio 2008 while the 2005 version exists, and you have a website project that uses ajax, you're bound to run into the following issue: You'll see an error saying: "Ambiguous reference of System.UI.Web.Extensions.dll found" ....
  • Discovering coding pearls

    WCF service that works with different clients

    • 4 Comments
    I am back from a long & happy vacation and starting to write to my blog again. I was recently asked how can one make sure that a WCF proxy can work with different clients and here was my answer to them: 1. Keep your interface clean and simple. Don...
  • Discovering coding pearls

    Using ChannelFactory Vs. Proxies in WCF

    • 11 Comments
    I tried researching this area over the net, but couldn't find a whole lot. So, here's my blog about it and since this is my very first blog, I'd like to say "Hello World!" What does it mean to use ChannelFactory? When you share a common service...
Page 1 of 1 (9 items)