Print Page | Close Window

Debugging in VS and service

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1477
Printed Date: 22-Sep-2025 at 1:02am


Topic: Debugging in VS and service
Posted By: mbevins1
Subject: Debugging in VS and service
Date Posted: 17-Sep-2009 at 8:52am
Each time we debug our application it takes a while to start everything due to the devfore service haveing to restart each time we run the application.  Is there something we can do on our development machines to keep the service running?



Replies:
Posted By: enterprisetoday
Date Posted: 17-Sep-2009 at 3:58pm
Hi there,

Sometimes what I do is run the system in distributed (ie n-tier) mode. What you would need to do is modify your DomainModel app.config

This line:
<objectServer isDistributed="true" remoteBaseURL="http://localhost" serverPort="9009" serviceName="EntityService" />

You will then have to run a copy of your domainmodel/bos with ServerConsole.exe

All of this is dependent on how often you make modifications to your domainmodel/servermodel/partial classes etc. So if you are fiddling with (well.. the fiddly) client side components, it could save you some time.

Dallas



Print Page | Close Window