On Mon, Jan 31, 2011 at 4:18 PM, Ryan Riley <[email protected]>wrote:

> On Mon, Jan 31, 2011 at 1:32 PM, Erick Thompson 
> <[email protected]>wrote:
>
>> What hacks do you see as needed for implementing REST via MVC?
>>
>
> How do you you manage conneg? What about ETags, Last-Modified or
> If-Modified-Since headers? You can do these things, but they don't generally
> fit as neatly into MVC. Where do you do them? Is it in the Model or
> Controller (or View)? Finally, where's the hypermedia constraint? This last
> point is entirely missing. Yes, you can roll your own, but it isn't
> available in the box. I'd consider that a "hack" for REST support.
>
> Cheers,
> Ryan
>

I suppose my point is that it's almost easier in some scenarios to just use
IHttpModule or IHttpHandler to create a REST service than MVC. Depends on
what you are doing.

Cheers,
Ryan

-- 
You received this message because you are subscribed to the Google Groups 
"Seattle area Alt.Net" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/altnetseattle?hl=en.

Reply via email to