I have an application whose front end is a web page.
In the background the application uses a class that generates events.
The application runs even if there are no sessions active.
(i.e. it runs without the user interface)
Events generated by the class are handled by the one web page the application presents.
When the web page is ‘shown’ the application adds handlers that the class generates.
When the web page is ‘closed’ the application removes the handlers.
So, what happens when there is no page to handle the events?
Does the RaiseEvent method ‘know’ that there isn’t a handler in place and does nothing?