Question

I'm trying to create a simple CalDav server using ASP.NET MVC 3, but the lack of the missing HTTP Verbs got me confused.

How can I add them and use them? Maybe I could create an ActionFilter for each one of the missing native ones...

RFC 4791 says that a CalDav protocol can use all of this verbs

OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, COPY, MOVE, PROPFIND, PROPPATCH, LOCK, UNLOCK, REPORT, ACL

In Bold are shown the native MCV3 verbs, and Italic the ones I want to implement in order to create a simple CalDav (will be open source on GIT, using DDay.iCal Library but I just need to start) :)

Is there anything that I can't find out there available?

Was it helpful?

Solution

Have a look at the AcceptVerbsAttribute. It takes a string array which I would imagine you could supply the ones you are looking for.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top