Aklımda Kalası Kelimeler

* давайте работать вместе
* Zarf ve Mazruf, Zerafet(xHoyratlık) ile aynı kökten(za-ra-fe) gelir
* Bedesten
* Suç subuta ermiştir - Suç sabit olmuştur

5 Nisan 2013 Cuma

WCF incelemesi

WCF çağrısı:


Behaviour eklemek:



public class CustomBehaviour : IEndpointBehavior
{
    public void Validate(ServiceEndpoint endpoint)
    {


public class CustomBehaviour : IEndpointBehavior
{
    public void Validate(ServiceEndpoint endpoint)
    {
    }
    public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
    {

bindingParameters:


endpoint:

public class CustomBehaviour : IEndpointBehavior
{
    public void Validate(ServiceEndpoint endpoint)
    {
    }
    public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
    {
    }
    public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)
    {
        CustomBehaviour custom = ((CustomBehaviour)(endpoint.Behaviors[typeof(CustomBehaviour)]));
        MessageInspector mi = new MessageInspector()
            {
                M_Key = custom.M_Key,
                M_Value = custom.M_Value
            };
            
        clientRuntime.MessageInspectors.Add(mi);
    }
clientRuntime:

Hiç yorum yok: