5
votes
4answers
8k views

How do the httppost, httpput etc attributes in ASP.NET MVC 2 work?

In ASP.NET MVC 2, a couple of new action filter attributes were introduced, as "shorthand" for attributes in ASP.NET MVC 1; for example, applying the HttpPostAttribute does the same thing as applying ...
0
votes
2answers
69 views

How can I get a collection and a Model in one Action in MVC?

How can I get a collection and a Model in one Action in MVC (http Post)?
0
votes
1answer
58 views

Using a custom value for HttpMethod

I'm using the HttpClient and I need to set a non-standard type for the HttpMethod. Where using HttpWebRequest only expects a string, HttpClient expects an HttpMethod. Enumerating the available values ...