In the last post we looked at Routing in OWIN as we built up a simple little route engine. Today I want to look at how to bring power to our responses by making it easier to respond with different types.
In ASP.Net MVC you’re probabily use to write code like this:
public ActionResult Index() { return Json(new { FirstName = "Aaron", LastName = "Powell" }); } Here our Action (which comes from our Route) is defining that we want to output JSON to the response and it gives us a nice way which we can do it.
OWIN Responses
In the last post we looked at Routing in OWIN as we built up a simple little route engine. Today I want to look at how to bring power to our responses by making it easier to respond with different types.
In ASP.Net MVC you’re probabily use to wri…
Print
Share
Comment
Cite
Upload
Translate
APA
Posts on LINQ to Fail | Sciencx (2024-03-29T15:33:33+00:00) » OWIN Responses. Retrieved from https://www.scien.cx/2012/03/19/owin-responses/.
MLA" » OWIN Responses." Posts on LINQ to Fail | Sciencx - Monday March 19, 2012, https://www.scien.cx/2012/03/19/owin-responses/
HARVARDPosts on LINQ to Fail | Sciencx Monday March 19, 2012 » OWIN Responses., viewed 2024-03-29T15:33:33+00:00,<https://www.scien.cx/2012/03/19/owin-responses/>
VANCOUVERPosts on LINQ to Fail | Sciencx - » OWIN Responses. [Internet]. [Accessed 2024-03-29T15:33:33+00:00]. Available from: https://www.scien.cx/2012/03/19/owin-responses/
CHICAGO" » OWIN Responses." Posts on LINQ to Fail | Sciencx - Accessed 2024-03-29T15:33:33+00:00. https://www.scien.cx/2012/03/19/owin-responses/
IEEE" » OWIN Responses." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2012/03/19/owin-responses/. [Accessed: 2024-03-29T15:33:33+00:00]
rf:citation » OWIN Responses | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2012/03/19/owin-responses/ | 2024-03-29T15:33:33+00:00
https://github.com/addpipe/simple-recorderjs-demo