Click here to Skip to main content
15,914,444 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: About REST - Why Oh Why Pin
User 483504724-Apr-17 4:37
User 483504724-Apr-17 4:37 
GeneralRe: About REST - Why Oh Why Pin
Michael Breeden24-Apr-17 4:54
Michael Breeden24-Apr-17 4:54 
GeneralRe: About REST - Why Oh Why Pin
User 483504724-Apr-17 4:57
User 483504724-Apr-17 4:57 
GeneralRe: About REST - Why Oh Why Pin
Vark11124-Apr-17 6:02
Vark11124-Apr-17 6:02 
GeneralRe: About REST - Why Oh Why Pin
User 483504724-Apr-17 6:40
User 483504724-Apr-17 6:40 
GeneralRe: About REST - Why Oh Why Pin
Vark11124-Apr-17 6:57
Vark11124-Apr-17 6:57 
GeneralRe: About REST - Why Oh Why Pin
User 483504724-Apr-17 7:12
User 483504724-Apr-17 7:12 
GeneralRe: About REST - Why Oh Why Pin
Vark11124-Apr-17 7:54
Vark11124-Apr-17 7:54 
Termi Nater wrote:
what is your preferred approach with partial object updates?

There's a verb for that as well Smile | :)
PATCH

I'd still need the person Id, though, and chances are I will have already hit a GET endpoint to pull data to display on the UI that lets my end user make the edits I'm going to ultimately persist. So my use cases for PATCH are few and far between. About the only time I use PATCH regularly is when I have an auto-save form that sends the partial object back every time you dirty a field, then tab out of it. If I still require my user to click a button to save the data, then I might as well just send all the fields and use PUT/POST.

Of course, I haven't done any .NET-based server stuff in a couple years. These days my back end is a Java ESB, so I have access to lots of verbs (including DELETE as a real verb - not the weird actionName thing that MVC puts you through). .NET core might be better in this regard, but then you're writing a lot of route handlers in there anyway, so until that ecosystem starts getting more robust, I will probably stay away from it.
GeneralRe: About REST - Why Oh Why Pin
User 483504724-Apr-17 8:01
User 483504724-Apr-17 8:01 
GeneralRe: About REST - Why Oh Why Pin
Nathan Minier25-Apr-17 1:39
professionalNathan Minier25-Apr-17 1:39 
GeneralRe: About REST - Why Oh Why Pin
Michael Breeden27-Apr-17 5:08
Michael Breeden27-Apr-17 5:08 
GeneralRe: About REST - Why Oh Why Pin
Nathan Minier28-Apr-17 1:53
professionalNathan Minier28-Apr-17 1:53 
GeneralRe: About REST - Why Oh Why Pin
Michael Breeden28-Apr-17 5:00
Michael Breeden28-Apr-17 5:00 
GeneralRe: About REST - Why Oh Why Pin
Nathan Minier28-Apr-17 9:26
professionalNathan Minier28-Apr-17 9:26 
Generalfast.ai Pin
Marc Clifton24-Apr-17 3:02
mvaMarc Clifton24-Apr-17 3:02 
GeneralRe: fast.ai Pin
Munchies_Matt24-Apr-17 3:14
Munchies_Matt24-Apr-17 3:14 
GeneralRe: fast.ai Pin
Mark_Wallace24-Apr-17 3:20
Mark_Wallace24-Apr-17 3:20 
GeneralRe: fast.ai Pin
Munchies_Matt24-Apr-17 3:28
Munchies_Matt24-Apr-17 3:28 
GeneralRe: fast.ai Pin
Marc Clifton24-Apr-17 3:25
mvaMarc Clifton24-Apr-17 3:25 
GeneralRe: fast.ai Pin
Munchies_Matt24-Apr-17 3:26
Munchies_Matt24-Apr-17 3:26 
GeneralRe: fast.ai Pin
Mark_Wallace24-Apr-17 7:18
Mark_Wallace24-Apr-17 7:18 
GeneralRe: fast.ai Pin
Marc Clifton24-Apr-17 13:55
mvaMarc Clifton24-Apr-17 13:55 
GeneralRe: fast.ai Pin
Munchies_Matt24-Apr-17 21:45
Munchies_Matt24-Apr-17 21:45 
GeneralJust when you thought Agile couldn't get more 'faddy'.. Pin
User 1013254624-Apr-17 0:11
User 1013254624-Apr-17 0:11 
GeneralRe: Just when you thought Agile couldn't get more 'faddy'.. Pin
Kornfeld Eliyahu Peter24-Apr-17 0:15
professionalKornfeld Eliyahu Peter24-Apr-17 0:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.