RESTful Services
- Client-server constraint
- Stateless constraint
- Cache constraint
- Layered constraint
- Uniform interface constraint
About Uniform interface constraint
- Identification of Resource
- Manipulation of resource through representations
- Self-description messages
- Hypermedia as the engine of application state(HATOAS)
主要使用GET, POST, PUT, DELETE
你是谁
<authentication mode="forms">
<forms loginUrl="login" \>
</<authentication mode="forms">
你是否有权限访问这个URL
<authorization>
<deny users="?" />
</authorization>
如果IIS收到一个匿名请求,会创建一个token来标示这个用户。