官术网_书友最值得收藏!

Summary

That was easy, wasn't it? We just set up the security for our APS.NET Web API that we will build upon in the upcoming chapters.

You learned about the security architecture of ASP.NET Web API that gave an overall view of what's under the hood. We then set up our browser client, from implementing the Web lookup service to calling the Web API with JavaScript and jQuery code.

You also learned about authentication and authorization techniques, which we will be covering in great detail later in the book. Moving on, you learned about HTTP Message Handlers, Principal, and the [Authorize] Attribute to control the authorization for the users.

Finally, you learned about custom authorization and authorization in a controller action to alter the behavior after processing the request based on the principal.

You learned a lot of stuff in this chapter. However, this is just the beginning. In the next chapter, you will implement a secured socket layer to the Web API. Let's get the ball rolling!

主站蜘蛛池模板: 安多县| 涟源市| 唐山市| 台南县| 沂源县| 习水县| 邢台市| 潜江市| 那曲县| 长阳| 宝应县| 阳谷县| 岢岚县| 民权县| 当阳市| 施甸县| 福海县| 河间市| 上饶县| 湖南省| 邵东县| 从化市| 富民县| 金昌市| 毕节市| 积石山| 阳新县| 江西省| 德惠市| 襄垣县| 信阳市| 兰溪市| 盈江县| 黔南| 台北市| 砚山县| 泌阳县| 东港市| 扎兰屯市| 当涂县| 玉田县|