Hi
I have 2 web pages that use 3 common functions. this i have in a separate file and compile it as a dll. my global.asax looks like this...
in my pages a.aspx.cs and b.aspx.cs i have the following code:
my email.dll has the coding for SendEmailToFriend function.
now if i have it this way is the processing of the pages going to be slow because of the dll reference in global.asax. or is it better to have the dll reference only in the cs files that invoke the function?
thnx
RamS
I have 2 web pages that use 3 common functions. this i have in a separate file and compile it as a dll. my global.asax looks like this...
HTML:
<object id="StringCollection" runat="server" class="TestApplication.MyClass" scope="Application" />
in my pages a.aspx.cs and b.aspx.cs i have the following code:
VB.NET:
Dim status As Boolean = StringCollection.SendEmailToFriend("abc@xyz.com", _
"pqr@pqr.com", Session("Email").ToString(), "Test Mail", "This is a test mail !!!")
my email.dll has the coding for SendEmailToFriend function.
now if i have it this way is the processing of the pages going to be slow because of the dll reference in global.asax. or is it better to have the dll reference only in the cs files that invoke the function?
thnx
RamS
Last edited by a moderator: