Environment versions
Network:
Windows 2008 Server
>Hi,
>I was thinking since Application_Start() is event, therefore the code in BaseGlobal should be executed as well. Doesn't it?
>
>Please advice. Thank you
No, you have to call it explicitly.
public class BaseGlobal : HttpApplication
{
void Application_Start(object sender, EventAgrs e)
{
// Set breakpoint string abc = "";
}
}
public class MyGlobal : BaseGlobal
{
void Application_Start(object sender, EventAgrs e)
{
// Set breakpoint string dddd = "";
BaseGlobal.Application_Start()
}
}
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only