-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: vishnuvr
Message 4 in Discussion
ya Nitin, Iam creating a component called Logger, as u know AOP means aspected
oriented programming.. Iam creating custom attributes over there and a message sink to
catch all my methods and logging all the messages into the log file, We have done this
component for windows apllication first when we tried to use the same component for
our current web application.. its able to create log file but not in the right folder,
where previously we are creating it in projects bin folder... This is where we are
facing a problem
public LogMethodCallsAttribute():base("LogMethodCalls")
{
LoggerSettings.CallingAssemblyPath = Assembly.GetExecutingAssembly().Location;
}
hi lohith i think we cant use Application.Startup path as its not a web component.
When we include this attributes in our client class(In this case its LogMethodCalls)..
When we create an object of this class this LogMethodCallsAttribute will be called
automatically...
I understand i explained little bit of it.. yes u guys just give me an hint how to do
the same thing in web
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]