Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
1 answer
428 views

RESTful Way to Handle Updating Detail Records

If I need to update many detail rows, my Web API controller method might look like this, using an RPC style: [Route("api/updateAccountDetailStatus")] [HttpGet] public IHttpActionResult ...
Bob Horn's user avatar
  • 34.3k
7 votes
0 answers
2k views

Mixing REST and RPC logic in Web API 2 project

With web API 2 and the recent addition of Attribute Routing gave me the idea of creating a central API application for our corporate needs. But my problem is that pure REST approach feels somewhat ...
e4rthdog's user avatar
  • 5,213
5 votes
3 answers
5k views

Best Practices for multiple POST calls in Web Api on the same controller

I have a question for you guys that do Web API REST services. How do you design your services to handle a POST of a single entity, as well as being able to receive a POST of a collection of said ...
David Gunderson's user avatar
0 votes
2 answers
9k views

How do I do RPC style Asp.Net Web API calls properly?

UPDATE 9/12/2012: I shared my code with a co-worker and everything worked fine for him the first time without any changes. So, there must be something environmental on my box, Anyone have any ...
Tad Donaghe's user avatar
  • 6,588