TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Martin Dodd
NA
3
0
Consuming a WCF service with a window service
Jun 25 2009 6:48 AM
Now can someone please help me, I have created a window service that consumes a WCF service. The service onStart creates a timer object that instantiates a handler to a method that periodically polls the WCF service. I am asking someone to give me some guidance as to how to consume the WCF service. The company I am working with has adviced me to process blocks of records, and then close and reopen the service, yet I have read that the WCF should be opened onStart and closed onStop. The WCF service is uploading and downloading approximately 100kb of data per record processed. Could someone also offer some advice as to the Service.model config parameters. I am using .NET Framework 3.5. Regards, Martin UPDATE: There has been lots of viewings, but little response, however I would like to share somethings I have learnt. First, try using largest values in you app.config for the parameters for the WCF model, don't spend time opening and closing WCF references as this takes a finite time to perform.
Reply
Answers (
4
)
Use svcutil.exe generated type as return value for webservice
Upgrade vb.net windows forms application to utilise WCF service with netTcpBinding