Questions tagged [service-design]

7 questions
3
votes
2 answers

Best practice to handle large WCF service

I'm working on a 4-player network game in WPF and learning WCF in the process. So far, to handle the network communication, I've followed the advice from the YeahTrivia game on Coding4Fun game: I use a dualHttpBinding, and have use a…
Anthony Brien
  • 6,106
  • 7
  • 43
  • 56
2
votes
1 answer

Web Service Contract Design - Single-Responsibility

I'm curious as to see how most developers go about designing the contracts to their web services. I am quite new to service architecture and especially new to WCF. In short, I'd like to find out what type of objects you are returning in your…
Daniel
  • 1,843
  • 2
  • 18
  • 27
1
vote
1 answer

Understanding Data Outside Of Service : SOA

Note: Data outside of service means the message returned by a service and consumed by the client. I have a service named LastBuyer Service. This will return the last buyer name of a book when I input the bookID to the service. When I call the…
LCJ
  • 22,196
  • 67
  • 260
  • 418
1
vote
1 answer

WCF Resources for SOA Design

I am looking for best resources and books for the following specific programming tasks. Could you please provide them? Note: I think, this question is suitable for stack overflow forum since it is addressing the specific programming tasks. • …
LCJ
  • 22,196
  • 67
  • 260
  • 418
1
vote
2 answers

REST API URI Design for users and sessions?

I'm new to REST design so I'd like some pointers here. Here is what I have so far: GET /api/users //all users GET /api/users/123 //specific GET /api/users/me //get your own profle POST …
Roger Johansson
  • 22,764
  • 18
  • 97
  • 193
0
votes
1 answer

Build better WCF service

I'm building WCF service and I have a question about WCF service design: For example: If I have a data accass layer with two class Person and Product: public class Person { public DataTable Select() {...} } public class Product { public…
Vano Maisuradze
  • 5,829
  • 6
  • 45
  • 73
0
votes
0 answers

How do I update a web API resource by request while also reacting with backend?

How do you update (RESTful) resources in a web API from the client, when you also need the backend to take actions regarding these changes? Let's say I have a RESTful web API with the following resources: Worker - id, first_name, last_name,…
mllm
  • 17,068
  • 15
  • 53
  • 64