asp.net mvc - The purpose of MVC API Controller -
im trying undertand how utilize api controller in asp.net mvc.
as default, methods get, post, put, delete. should using against knockout framework. im trying understand if can extend api controller homecoming more complex data, or should api controller handle crud?
thanks in advice.
you can want. web api extension regular controllers, allows create consumable webservices content negotitation , easier info querying.
by default, method decorated attributes aware, should utilize info extraction, delete deletion, post , set creation, modification. template start properly.
first illustration on asp.net web api page doesn't utilize crud:
http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api
asp.net-mvc
No comments:
Post a Comment