.NET Default Tracing itself provides a great way of writting logs. supports listerns, switches, priorities...etc. .NET 2.0 there is also a seperate Trace capabilities for Web based (ASP.NET).
then what is perpose of Enterprise Logging block over .NET default Tracing?
Please Mark as Answer, if it answers you, also correct me if I'm wrong.
what is perpose of Enterprise Logging block over .NET default Tracing?
Enterprise Library:
Logging applicaiton block allows you to simply configure and log any type of data(Events, Exceptions, Events data or any other data you wish to log from your application). It allows to simply configure and log to desired location as
Log file
Email (configure to send an email msg)
Database( using provided script it is quite easier to deploy the database and start logging)
Windows Events
and custom locations
In simple words 'It is readily available application block that allows a developer to customise and configure to Log valuable data to desired locations with simple configurations.
.NET Default Trace
It is quite feasible to utilise available .NET Trace methods with properties to log data. But when it comes to logging data other than
Windows Events it demands more plumbling. You got to write your code to log data into desired locations such as Database / Email / Log files.
Being said the above using ASP.NET HealthMonitoring configuration it is feasible to log ASP.NET web application events (to monitor various events of web application) as explained by Chris Pels in this video tutorial
Enterprise Library application blocks are reusable software components to meet day to day application requirements. Even though it is feasible to utilise .NET Default Tracing, you got to implement lot more work flow when you want to log
information other than windows events.
Hi Sukumar, Thanks for spending your time to explain the differeces in deail. I have read your exception/Logging blog post. it's good. There are some queries I have on that. I shall send you a priave message. Thanks a lot again.
Please Mark as Answer, if it answers you, also correct me if I'm wrong.
I have read your exception/Logging blog post. it's good. There are some queries I have on that. I shall send you a priave message.
Let you know that my article Enterprise Libary:Exception Handling block
is published as Article of the Day on www.asp.net home page.
You will see under 'Article of the Day' on right hand side.
Feel free to shoot any queries through my blog article page(you will find on www.asp.net home page, as explained above).
I would not be able to respond to any private messages until and unless i have really some free time to spare. I appreciate receiving your queries through blog posting.
Yes, I have seen. That's good. asking this is not relevent here. but curious to know how to submit/nominate our articles to
www.asp.net site to them selected to display in home page. If you think answering this question here in this thread is not good, please reply me to my mail
duttavr@gmail.com
Please Mark as Answer, if it answers you, also correct me if I'm wrong.
duttavr
Contributor
4035 Points
1079 Posts
.NET Default Trace vs Enterprise Logging Blocks
Feb 07, 2010 07:05 PM|LINK
.NET Default Tracing itself provides a great way of writting logs. supports listerns, switches, priorities...etc. .NET 2.0 there is also a seperate Trace capabilities for Web based (ASP.NET).
then what is perpose of Enterprise Logging block over .NET default Tracing?
Please Mark as Answer, if it answers you, also correct me if I'm wrong.
sukumarraju
All-Star
17361 Points
3059 Posts
Re: .NET Default Trace vs Enterprise Logging Blocks
Feb 07, 2010 08:33 PM|LINK
Enterprise Library:
Logging applicaiton block allows you to simply configure and log any type of data(Events, Exceptions, Events data or any other data you wish to log from your application). It allows to simply configure and log to desired location as
In simple words 'It is readily available application block that allows a developer to customise and configure to Log valuable data to desired locations with simple configurations.
.NET Default Trace
It is quite feasible to utilise available .NET Trace methods with properties to log data. But when it comes to logging data other than Windows Events it demands more plumbling. You got to write your code to log data into desired locations such as Database / Email / Log files.
Being said the above using ASP.NET HealthMonitoring configuration it is feasible to log ASP.NET web application events (to monitor various events of web application) as explained by Chris Pels in this video tutorial
http://www.asp.net/learn/videos/video-195.aspx
Conclusion:-
Enterprise Library application blocks are reusable software components to meet day to day application requirements. Even though it is feasible to utilise .NET Default Tracing, you got to implement lot more work flow when you want to log information other than windows events.
Application Architecture Guide 2.0
My Blog
Twitter
duttavr
Contributor
4035 Points
1079 Posts
Re: .NET Default Trace vs Enterprise Logging Blocks
Feb 09, 2010 06:51 AM|LINK
Hi Sukumar, Thanks for spending your time to explain the differeces in deail. I have read your exception/Logging blog post. it's good. There are some queries I have on that. I shall send you a priave message. Thanks a lot again.
Please Mark as Answer, if it answers you, also correct me if I'm wrong.
sukumarraju
All-Star
17361 Points
3059 Posts
Re: .NET Default Trace vs Enterprise Logging Blocks
Feb 09, 2010 09:02 AM|LINK
Let you know that my article Enterprise Libary:Exception Handling block is published as Article of the Day on www.asp.net home page.
You will see under 'Article of the Day' on right hand side.
Feel free to shoot any queries through my blog article page(you will find on www.asp.net home page, as explained above).
I would not be able to respond to any private messages until and unless i have really some free time to spare. I appreciate receiving your queries through blog posting.
http://www.asp.net/community/articles/rss.ashx
Application Architecture Guide 2.0
My Blog
Twitter
duttavr
Contributor
4035 Points
1079 Posts
Re: .NET Default Trace vs Enterprise Logging Blocks
Feb 09, 2010 09:17 AM|LINK
Hi Sukumar,
Yes, I have seen. That's good. asking this is not relevent here. but curious to know how to submit/nominate our articles to www.asp.net site to them selected to display in home page. If you think answering this question here in this thread is not good, please reply me to my mail duttavr@gmail.com
Please Mark as Answer, if it answers you, also correct me if I'm wrong.
duttavr
Contributor
4035 Points
1079 Posts
Re: .NET Default Trace vs Enterprise Logging Blocks
Feb 09, 2010 09:19 AM|LINK
I am sorry to distube you. I could see a link there. Thanks.
Please Mark as Answer, if it answers you, also correct me if I'm wrong.