Here I am going to demonstrate server side logging mechanism for Silverlight applications using NLog 2.0. Using this you can have centralized place for all logs it can be log files, database, ftp etc.
Why to use NLog
There are two popular logging platforms are there NLog and Log4Net. NLog 2.0 release is focused on adding support for new platforms (Silverlight, .NET Framework 4, Windows Phone 7.x), improving logging architecture and manageability and addressing most frequently reported user issues. It fully supports async-only operations. So for Silverlight, NLog is the best choice.
We can think two options for permanent logging one Client side or Server side. Client side logging hampers performance and does not allow you to see logs at centralize place. Now question comes how server side logging can be achieved by using NLog in an efficient way.
Read More...
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
Why to use NLog
There are two popular logging platforms are there NLog and Log4Net. NLog 2.0 release is focused on adding support for new platforms (Silverlight, .NET Framework 4, Windows Phone 7.x), improving logging architecture and manageability and addressing most frequently reported user issues. It fully supports async-only operations. So for Silverlight, NLog is the best choice.
We can think two options for permanent logging one Client side or Server side. Client side logging hampers performance and does not allow you to see logs at centralize place. Now question comes how server side logging can be achieved by using NLog in an efficient way.
Read More...
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
No comments:
Post a Comment