News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
  1. In the application configuration file, add the IogKnownPii attribute to the message logging diagnostics
    source and set the value of the attribute to true.
    Generate the ContosoService class using the Add Service Reference wizard.
    Add a reference to System.ServiceModel. Routing.dll.
    Add the following code segment.

    ContosoService client = new ContosoService();
    SoapProcessingBehavior behavior = new SoapProcessingBehavior0;
    behavior.ProcessMessages = true;
    client.Endpoint.Behaviors.Add(behavior);
  2. In the application configuration file, add the following XML segment to the system.serviceModel
    configuration section group.

    <diagnostics>
    <messageLogging LogMessagesAtTransportLevel="true"
    IogEntireMessage="true" />
    </diagnostics>
  3. In the machine configuration file, add the following XML segment to the system.serviceModel configuration section.

    <machineSettings enableLoggingKnownPii="true" />

    Generate the ContosoService class using the Add Service Reference wizard. Add the following code segment.

    ContosoService client = new ContosoService(); client.Endpoint.Behaviors.Add(new CallbackDebugBehavior(true));
  4. In the machine configuration file, add the following XML segment to the system.serviceModel configuration section.

    <machineSettings enableLoggingKnownPii="true" />

    In the application configuration file, add the IogKnownPii attribute to the message logging diagnostics source and set the value of the attribute to true. In the application configuration file, add the following XML segment to the system.serviceModel configuration section group.

    <diagnostics>
    <messageLogging IogMessagesAtTransportLevel="true"/>
    </diagnostics>
Answer: Answer is d
comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;