Solved

queries wcf

Posted on 2013-05-14
6
525 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
Suggested Courses

617 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