Solved

queries wcf

Posted on 2013-05-14
6
506 Views
Last Modified: 2013-06-05
HI Experts

1.we have a 4 services ,every services is doing by individual.my question is should we take separate
wcf service application for each service or we have to take class library ,in class library we create 4 services
then make webapplication with svc file and deploy it in iis server?

which one will be the best.create a separate service or class library for all service.
issue:if there will be change in one service we need to the changes in class library then reference dll in web site
then again host in iis but for separate app other will not impacted?

please suggest pros and cons,which will be feasible approach

2.how to call web service from wcf service,please provide
code snippet.

A service ==> B Service
B service have method validate(name),A service will call B service and pass name parameter,
it will be validate in B service and if name is matched it will return true to A service otherwise false.
0
Comment
Question by:nicemanish
  • 2
6 Comments
 
LVL 5

Expert Comment

by:milindsaraswala
ID: 39165013
0
 

Accepted Solution

by:
nicemanish earned 0 total points
ID: 39167320
Hi srosebabu
 can you comment on this question
0
 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 39210336
Hello,

I suggest create one Service and create 4 Different Function/Class as per your requirement.

below example may help you

http://msdn.microsoft.com/en-us/library/ms751433.aspx
0
 

Author Closing Comment

by:nicemanish
ID: 39221466
well for the best practise.i used 1 wcf service appliaction.inside that application i addesd all 4 services svc and interface.2.i ahve taken the class library for datacontarct for each services.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question