ABP some of the features in the MVC

 It should be very familiar with the Attribute properties this thing right, ABP which extends some of the features, do filter permission to return content control, where a small note of.

 [DontWrapResult] // ABP default to return the results made package, using this feature will not be affected by the interference characteristics.

 [DisableAuditing] // add such features will be ignored verify access permissions.

 [Produces ( "application / x-javascript")] // Action writes above this, thus defining the only application / x-javascript format of such a request can be received.

 [ChildActionOnly] // this is used in the above Action page layout, indicating that the browser can not access, can only be accessed via @ Html.Action ( "Header", "Layout").

 [AbpMvcAuthorize ( "authority name")] // limit specified permission can access.

 

Guess you like

Origin www.cnblogs.com/shuai7boy/p/10963082.html