Login:  Password:    
forgot my password
sign up!
Search: 

Message logging and tracing - WCF - Lesson 11 | .net courses

In this video will see too how to turn message logging and tracing on and specify the log levels and the log files (with extension .svclog).

1 0
Course:   WCF - Windows Communication Foundation

download the application please visit www.mrbool.com/player

Title: Message logging and tracing - WCF - Lesson 11

Duration:  24 minutes

Summary: In this video, we need to discuss message logging and tracing. We start with the MathService that we created previously. In this service we created two simple methods for Multiplying and Moding two numbers. We created a console host to host the service, and a client to call the methods in the service. In order to turn message tracing and logging we use the App.config on the service side and the client side. We can edit the config file by hand, but it is easier to use the configuration editor. In the configuration editor, we use the diagnostics section. We turn message logging and tracing on and specify the log levels and the log files (with extension .svclog). We run the client and make some calls to the service. After we exit out, we show all files in the solution. Couple of those files (on the client and the service) have .svclog extension. We open those files using the trace viewer. The tool name is SvcTraceViewer.exe. When we open the files using the tool, we are able to see all the messages that were exchanged between the client and the service.

Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.

Technology Used: Windows Communication Foundation.

Keywords: Windows Communication Foundation (WCF), ServiceContract, DataContract, Endpoint, Address, Binding, Contract, Service, Interface, class, Host, Client, Config.


Ayad Boudiab
Experience: A total of 10 years experience in developing applications using C++, Java, C#, ASP.NET, and SQL Server. In addition to 6 years experience in teaching programming courses at a local college. Degree: B.S. Computer Science Location: Atla...
Add your comment
[Fechar]

Este post é fechado - você precisa ter acesso ao post para incluir um comentário.


no comments have been posted - be the first!
Help us to improve! Give us your feedback:

Give your note to this post: 1 2 3 4 5 6 7 8 9 10
Is this post helpful? Yes No



[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 2,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 1,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,33
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits








mrbool.com
contact us   |   publish your post   |   buy credits

Copyright 2013 - all rights reserved to www.web-03.net