Solved

queries wcf

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
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…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now