Quantcast
Channel: maproutes Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 5

Created Issue: RESTful WS [9379]

0
0
Hi, I'm trying to use this lib for creating a RESTful WS with ASP.NET MVC 3.
This the code complete code http://pastebin.com/UbrMVXmH.
This controller method:
[HttpGet, Url("{who?}")]
public JsonResult SayHello(string who)
{
return Json(new { Message = "Hello, " + who + "!" }, JsonRequestBehavior.AllowGet);
}
doesn't pass the parameter when called:
http://localhost:8080/home/sayhello/somename

who contains a blank string

Where I'm wrong?

Regards,
Giacomo

Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images