Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

oracle - Logging Framework for the ASP.NET application -


my application needs log informations user actions (inserts, updates, deletes, etc) , exceptions , want store de log on oracle10, i'am searching log framework use. read little bit about:

1 -log4net

2 - logging application block

3 - elmah

whats opinion these log tools? whats framework (or way implement) log on application?

*after discussion project manager, logging application block our choice, but, lets comment =)

both log4net , logging application block valid choices. think elmah focused on error logging, not (the thing) want.

at work, use log4net on couple of projects. stable, performant , extensible, , have never had problems it.

i logging log4net , log exceptions elmah also. can log unhandled exceptions manually, , exception catch , handle in application can logged single call elmah. might seem double-logging (and :-)). valuable have elmah log when unexpected has failed in application.

i have heard things nlog project, haven't used myself. seems bit more complex log4net, have added benefit of being able add contextual information log messages automatically (a bit elmah).


Comments