I have a WCF service and a WorkerRole that I need to run at the same time. However, I can only set one of them as the StartUp project.
What could be done?
I have a WCF service and a WorkerRole that I need to run at the same time. However, I can only set one of them as the StartUp project.
What could be done?
You shouldn't be setting either of your roles as startup project. Rather, you should be setting the cloud project itself as the startup project. Then, you can set breakpoints in both of your roles.
To test, I just created a brand new cloud project with a WCF Web Role and a Worker Role. I set a breakpoint in the OnStart() of each, and hit both breakpoints.
© 2022 - 2024 — McMap. All rights reserved.