Middleware stories

Random problems & solutions covering Microsoft's distributed technologies

  • Middleware stories

    UsernameToken Profile vs. WCF

    • 5 Comments
    The WS-Security UsernameToken Profile 1.0 defines how the username and password can be encapsulated into a security token. The profile defines two different ways to transmit the password (or password equivalent): · wsse:PasswordText : the...
  • Middleware stories

    Override AtlThrow with care

    • 0 Comments
    ATL allows you to replace its stock routine, AtlThrow, for communicating an error back to the caller using exceptions. This is documented on MSDN here: http://msdn.microsoft.com/en-us/library/z325eyx0.aspx . Most of the time, when ATL encounters an...
  • Middleware stories

    WIF on Windows Server 2003

    • 0 Comments
    I was setting up Windows Identity Foundation (WIF, formerly known as Geneva) on Windows Server 2003 to reproduce a customer’s problem. However, I got the following exception, even when trying one of the WIF SDK samples: CryptographicException -...
  • Middleware stories

    Garbage collection vs. expression evaluation

    • 0 Comments
    A few months ago, a customer contacted us with a problem that seemed to be related to WCF. As it turned out, its roots were deep within the CLR… The error was indeed thrown by WCF: it was a System.ServiceModel.CommunicationObjectAbortedException: ...
  • Middleware stories

    Service metadata: size does matter

    • 0 Comments
    Web services use standards like WSDL and WS-Policy to describe themselves in an interoperable format. When you use WCF to implement your web service, generating the metadata is fortunately not your job (assuming you haven’t defined any custom binding...
  • Middleware stories

    Tool of the month: Microsoft Service Trace Viewer

    • 0 Comments
    I was quite busy during the last two months, but today I’m back with a new post. If you use WCF, you’ve probably already come across this tool, which is mostly marketed as WCF’s troubleshooting companion. However, it’s actually a very useful utility...
  • Middleware stories

    CAtlHttpClient and NTLM authentication

    • 0 Comments
    I’m working on a customer problem that revolves around NTLM authentication. To cut a long story short, it seems that customer’s client (which builds on ATL Server*) stopped authenticating its requests with IIS. While the actual cause of customer’s problem...
  • Middleware stories

    WCF Performance Counters

    • 0 Comments
    WCF offers its own set of performance counters, which allow you to observe the live performance of your services, from various aspects. However, WCF does not publish performance counter data by default, and even when enabled, you can choose which categories...
  • Middleware stories

    Avoid using Assembly.LoadFrom

    • 0 Comments
    On MSDN, there’s a warning that using Assembly.LoadFrom() has disadvantages . The following could be a good illustration of the problems that may arise. Not long ago I had a customer who was using Assembly.LoadFrom() to load types into their web service...
  • Middleware stories

    Visual Basic 6 and .NET COM Interop

    • 5 Comments
    This is a quite popular topic on the Internet, and this has a reason: a lot of developers need to integrate legacy components written in Visual Basic 6 with .NET. COM Interop is or should be one of the easiest ways to bring these two worlds together....
  • Middleware stories

    First post

    • 1 Comments
    Hello and welcome to my blog on MSDN. My name is Ákos Szegő and I work as a Technical Lead in the EMEA Distributed Services Team in developer support at Microsoft. My team supports our customers with a variety of problems that relate to middleware...
Page 1 of 1 (11 items)