troubleshooting Question

C# wcf void main

Avatar of Dan Violet Sagmiller (He/Him)
Dan Violet Sagmiller (He/Him)Flag for United States of America asked on
4 Comments1 Solution330 ViewsLast Modified:
I have a C# WCF project (vs2010u) and I need to be able to point to a start up method.  Most applications have static void main, but I don't see that here.

How can I get a WCF service to automatically execute a particular method on startup?

Also, is there a close event that I can have it respond to as well?


Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros