Browse by Tags

Tagged Content List
  • Blog Post: DbSyncProvider WCF Based Synchronization– Memory Performance Analysis Of DataSet Binary SerializationFormat Vs DataSet Surrogates

    I had posted earlier about the memory performance when using default DataSet serialization behavior vs. using a Surrogate. Users had some questions on how the DataSet surrogate compared with the DataSet’s Remoting SerializationFormat. With .Net Fx 2.0 DataSet shipped support for serializing DataSet in...
  • Blog Post: DbSyncProvider: Improving Memory Performance In WCF Based Synchronization

    Users have frequently wanted the ability to remotely synchronize relational nodes in a peer to peer fashion using SyncServices for ADO.NET. We have a sample demonstrating remote synchronization by using Windows Communication Foundation (WCF). I wanted to use this post to provide an easy way to optimize...
  • Blog Post: .Net 3.5 and Visual Studio 2008 released

    Just like that the .Net train continues to move along to the next version of the framework. Microsoft announced on Monday the availability of .Net 3.5 and Visual Studio 2008. Its the third version of .Net that I had the privilege of working on starting from 2.0. I didnt have an opportunity to own any...
  • Blog Post: Microsoft releasing .NET framework source code

    Microsoft is releasing the source code for the framework libraries. Read more about it here . Its not like you couldnt do this earlier. You could always have used .Net Reflector but having the ability to step in to the framework classes while debugging is neat. Looks like plans are on for releasing the...
  • Blog Post: WCF Extensibility - Plugging in custom message processing logic

    I have talked a lot about WCF's extensibility model and I never knew how much of the core functionality can be extended until a recent deep dive session with one of our customers developing on WCF. The client had a multi tier application with the middle tier using SOAP based messaging to communicate...
  • Blog Post: WCF Runtime Components

    After I posted my earlier entry on debugging WCF apps, I thought it would be a good idea to explain the different WCF runtime blocks . This way users can see how each block/class fits in the bigger picture and how the runtime processes new channels/messages. When Open () is called on a ServiceHost, the...
  • Blog Post: Debugging WCF Applications - What all I look for.

    When I am debugging any WCF runtime bug, I classify it in two categories. One that needs IDE (simple logic bugs) and others that need WinDbg. Every one is familiar with the IDE debugging and will leave that topic for another day. Today I wanted to talk a little bit about how I debug WCF bugs that require...
  • Blog Post: WCF Channels AutoOpen vs Open Semantics

    Wanted to write up a post on whats the difference between "auto" opening a WCF Channel and explicitly calling "Open" on it. Michael Maruchek posted a detailed and well explained post at http://blogs.msdn.com/mjm/archive/2006/11/13/auto-open-part-1.aspx . Waiting for part 2. Since Micheal did such...
  • Blog Post: WinFx: UseSynchronizationContext Usage

    One of the most common problems we debug with WCF proxies invoked from WinForm/XAML app's is a perceived hang when duplex contract's are involved. The app usually has a " click to invoke proxy " button that invokes a method (which will callback the client) on the server and the app will freeze waiting...
  • Blog Post: WinFx 3.0 has RTM'd

    Sometime last Friday, admist cheers and high fives, our lead PM resolved the last bug that stopped us from signing off on WCF(code named Indigo). Bug # 1 was opened way back when Indigo was in planning stages and with this bug we signed off on the product. Today Microsoft announced RTM of the .Net 3...
  • Blog Post: What happens when InstanceContext.Release/GetServiceInstance() is called on a Singleton

    InstanceContext has two methods, ReleaseServiceInstance and GetServiceInstance , that can be used by users to dynamically release and create new service instances. Service instance is the actual .Net instance of the contract on which operations are invoked. This post is to clarify the behavior of the...
  • Blog Post: IInstanceContextProvider threading model

    IInstanceContextProvider is the extension used by WCF runtime to associate/create InstanceContexts for every Message being processed. As I mentioned earlier this extension is called for every message arriving on every channel. This means that two messages from the same channel can race with each other...
  • Blog Post: WCF June/July CTP: QnA

    We have an internal alias where people developing apps on WCF post questions. Generally we see some questions that are commonly faced by people and thought it would be a good idea to make a quick HowTo or QnA on some topics that WCF newbie users may find useful. Q: How to know if a server channel...
  • Blog Post: Usage pattern for IInstanceContextInitializer vs IInstanceContextProvider

    I mentioned in my previous post that June CTP introduces a new extension to enable sharing. One common question being raised internally is the difference between IInstanceContextProvider.InitializeInstanceContext and IInstanceContextProvider.Initialize . Both these methods are called whenever a new InstanceContext...
  • Blog Post: WinFx June CTP: ServiceThrottle changes

    Users will find 2 changes in ServiceThrottle and ServiceThrottlingBehavior classes in WinFx's JuneCTP. First is a Property name change and second is the change to some of the default values. 1. Name changes MaxConnections renamed to MaxConcurrentSessions MaxInstances renamed to MaxConcurrentInstances...
  • Blog Post: Winfx June CTP: What happened to InstanceContextMode.Shareable

    The June CTP of WinFx introduces some breaking changes and the detailed API changes can be downloaded from here . One of the changes we made is to the InstanceContextMode enum. This enum denotes how WCF manages the InstanceContext lifetime. InstanceContext is the wrapper that the runtime creates for...
  • Blog Post: Announcing availability of WinFx (.Net Framework 3.0) June CTP

    Winfx's (renamed to .Net Framework 3.0 ) June CTP is available here . I know its been a while since I posted and the primary reason is because most of the stuff I was working on wasnt publicly available and they should now be in this CTP. Maheshwar Jayaraman
  • Blog Post: WCF Feb CTP: Multiple ServiceEndpoints sharing a common Uri to listen for messages.

    With the feb CTP release we added the ability for multiple ServiceEndpoint's on a service to share a common listen URI. I wanted to walk through a sample explaining how to achieve this. Lets assume we have this sample Service. [ServiceContract] public interface IService { [OperationContract...
  • Blog Post: IEndpointBehavior vs IServiceBehavior

    Why should this be a post topic? From the naming, its clear that one is for extending the "Service" and the other is for extending "Endpoints". We recently had a interesting question posted in our internal forums on this topic and so though I should share it. The ApplyDispatchBehavior method on IServiceBehavior...
  • Blog Post: What happened to IChannelBehavior?

    With the WCF Feb CTP release the IChannelBehavior interface has been removed. In previous CTP's this interface would be used to write a behavior that will let users add customization points on the client side. Actually, we have rewired the behavior mechanism which hopefully will be much clearer to use...
  • Blog Post: WCF Feb CTP namespace changes

    I wanted to talk a little bit about the namespace changes in the Feb CTP of WCP (Indigo). With the new namespaces we feel that all classes are now present where its supposed to be (although we are open to suggestions if you feel some classes are misplaced). Previously all classes were under System.ServiceModel...
  • Blog Post: WinFx Feb CTP online!!

    We just released the Feb CTP of Winfx and it can be downloaded here . With this you will find a ton of changes (Class/Method renames, changes, naming conventions and cuts) and so your existing code will not compile. As usual we have listed all the breaking changes from the Jan CTP here . Do read it as...
  • Blog Post: GoLive license for WCF

    How confident are we of the Windows Communication Foundation beta: confident enough to issue GoLive license for it. Read more about it at http://msdn.microsoft.com/winfx/getthebeta/golive/default.aspx . The GoLive license is for Beta2 of WCF. Mahesh
Page 1 of 1 (23 items)