ResponseMasking.AspNetCore.Filter 1.0.1

Asp.net Core MVC filter attribute for response masking.

Install-Package ResponseMasking.AspNetCore.Filter -Version 1.0.1
dotnet add package ResponseMasking.AspNetCore.Filter --version 1.0.1
<PackageReference Include="ResponseMasking.AspNetCore.Filter" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ResponseMasking.AspNetCore.Filter --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Asp.net Core MVC filter attribute for response masking.

Supports;

  • Generic List
  • Generic Paged List
  • Plain Text
  • Complex Types (not so complex (: )

Example for Generic List Response;

Model

alt text

Sample Response

alt text

Using In Controller

alt text

Postman Result - http://localhost:5000/api/users

alt text

Postman Result (Paged List) - http://localhost:5000/api/users/pagedlist

alt text

Postman Result (Single Item) - http://localhost:5000/api/users/1

alt text

Postman Result (Plain Text) - http://localhost:5000/api/users/1/citizenshipnumber

alt text

Asp.net Core MVC filter attribute for response masking.

Supports;

  • Generic List
  • Generic Paged List
  • Plain Text
  • Complex Types (not so complex (: )

Example for Generic List Response;

Model

alt text

Sample Response

alt text

Using In Controller

alt text

Postman Result - http://localhost:5000/api/users

alt text

Postman Result (Paged List) - http://localhost:5000/api/users/pagedlist

alt text

Postman Result (Single Item) - http://localhost:5000/api/users/1

alt text

Postman Result (Plain Text) - http://localhost:5000/api/users/1/citizenshipnumber

alt text

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 259 10/27/2018
1.0.0 222 10/25/2018