Solved

queries wcf

Posted on 2013-05-14
6
514 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The viewer will learn how to dynamically set the form action using jQuery.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

820 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