Recently, one of my colleague asked me, which WCF template
should I use to create a service? For experienced people, it may be a silly
question, but it is one of the common question among beginners, who just
entered into the world of services. That’s the motivation who made me write
this small post.
The developer can choose any of the above templates as per project need. Let’s go through them one-by-one.
WCF Service Library: This template is nothing but a simple
service library which uses App.config as its configuration file.
WCF Service Application: This template will create a web
site which in turn will be hosting a service in it. Here Web.Config will be
used to serve configuration settings.
WCF Workflow Service Application: This template is useful
when you want your workflow to be accessed as a web service.
Syndication service Library: This template is useful when
you want to expose RSS as a web service.
Hope now you are comfortable on which template to be chosen.Happy learning!
Comments
Post a Comment