Questions tagged [wcf-extensions]
50 questions
                    
                    49
                    
            votes
                
                11 answers
            
        Why isn't my custom WCF behavior extension element type being found?
I have a solution that contains two projects. One project is an ASP.NET Web Application Project, and one is a class library. The web application has a project reference to the class library. Neither of these is strongly-named.
In the class library,…
        
        Travis Illig
        
- 23,195
 - 2
 - 62
 - 85
 
                    17
                    
            votes
                
                1 answer
            
        WCF Operation.Context not Thread safe?
I'm code reviewing a WCF service.
In the header of each message we inject data that the service is going to use later to build a connection string to a DB.
That's because the service is going to be used by a number of different sites, each with its…
        
        Hoppers13
        
- 245
 - 2
 - 7
 
                    16
                    
            votes
                
                1 answer
            
        What is WCF dispatch pipeline message flow
I'm trying to gain a better understanding of WCF's dispatch process in particular the impact and effect on the various extensibility points. From the web pages listed at the bottom, it appears that WCF will do the following in the stated sequence…
        
        hg lim
        
- 185
 - 1
 - 9
 
                    13
                    
            votes
                
                1 answer
            
        The type [nameHere] registered for extension '[extensionHere]' could not be loaded
I've been learning and building JSONP Web services using WCF on fx3.5.  You can read some of the trials I had at .NET ASMX - Returning Pure JSON? I finally got a sample running but now I am I am dove tailing it into my app.
RivWorks.Web - the web…
        
        Keith Barrows
        
- 24,802
 - 26
 - 88
 - 134
 
                    9
                    
            votes
                
                2 answers
            
        WCF error: extension could not be loaded
I defined a class in my project which overrides IDispatchMessageInspector and I added the configuration related but it's doesn't work 
System.Configuration.ConfigurationErrorsException: The type 'InMotionGIT_NT.Address.Service, CustomHeaders,…
        
        Jorge
        
- 17,896
 - 19
 - 80
 - 126
 
                    8
                    
            votes
                
                5 answers
            
        The element 'behavior' has invalid child element 'myFaultExtension' in wcf app.config
I'm trying to catch regular exceptions from a WCF service in a Silverlight client application. For that I've included the respective changes in my WCF service as given in this MSDN article.
But when I configure the behavior extension and use the…
        
        padmavathi
        
- 389
 - 2
 - 6
 - 17
 
                    7
                    
            votes
                
                2 answers
            
        WCF: provide generic FaultException in IErrorHandler
Some context: We have a custom XSD and generate the WSDL and C# code using WSCF.blue.  The client side uses ChannelFactory and shares the interface which includes all the attributes added by WSCF.blue to match what is in the XSD.
I'm trying to… 
        
        Nelson Rothermel
        
- 9,436
 - 8
 - 62
 - 81
 
                    5
                    
            votes
                
                1 answer
            
        IDispatchMessageInspector: Improving BeforeSendReply functionality
In my WCF project I need to use custom headers in responses so I implemented  IDispatchMessageInspector. Honestly all works pretty fine, but I'm disturbing about one little thing.
The thing is that both BeforeSendReply and AfterReceiveRequest fires…
        
        Igor V Savchenko
        
- 1,076
 - 1
 - 17
 - 32
 
                    5
                    
            votes
                
                1 answer
            
        WCF Client Extensibility: IParemeterInspector.AfterCall and exception handling
For my WCF client, I'd like to be able to do some pre and post work for every operation of a given endpoint.
The pre work would like to make use of the operation name and the input arguments.
The post work would like to make use of (again) the…
        
        Matt Smith
        
- 17,026
 - 7
 - 53
 - 103
 
                    4
                    
            votes
                
                1 answer
            
        WCF extensions execution order
If i have few WCF extension modules of same kind (like parameter inspector) can i be sure they're executed in the order i define them in the configuration file?
    
        
            
        
            
            
                
                    
    
    
        
    
    
                
            
        
        
        UserControl
        
- 14,766
 - 20
 - 100
 - 187
 
                    4
                    
            votes
                
                1 answer
            
        Access MethodInfo in IOperationInvoker implementation
I have implemented IOperationInvoker to customize the WCF invokation.
In Invoke method I want to access custom attributes of the method which is invoked by OperationInvoker.
I have written the following code.
But, it's not giving the custom…
        
        meetjaydeep
        
- 1,752
 - 4
 - 25
 - 39
 
                    4
                    
            votes
                
                1 answer
            
        Sending WCF requests through ProxyServer
here is my client side WCF Config file :
  
    
      
        
            
            
                
                    
    
    
        
    
    
                
            
        
        
        patachi
        
- 315
 - 1
 - 2
 - 18
 
                    3
                    
            votes
                
                1 answer
            
        Differentiating requests from client and other services
We have a 3 tier application - winform based thick client, several WCF services hosted in windows services and sql. Some WCF services provide functionalities specific to UI in the clients but there are services running to do data loading,…
        
        Everything Matters
        
- 2,672
 - 4
 - 25
 - 42
 
                    3
                    
            votes
                
                0 answers
            
        Extending WCF Compact / Custom Headers
I'm developing an app which will be deployed across various platform including Windows Phone. Because of this, I only have access to the WCF Compact / Portable classes.
I need to be able to catch every outgoing request and incoming response in order…
        
        DavidReid
        
- 449
 - 1
 - 5
 - 21
 
                    3
                    
            votes
                
                3 answers
            
        WCF extension for adding outgoing message properties on client side dynamically
I am consuming a WCF service which has multiple operations, this service requires me to add outgoing message properties whenever I call any of its operations.
At the moment i am just adding the properties every time i call the service inside the…
        
        Bravo11
        
- 898
 - 2
 - 11
 - 24