Instantly share code, notes, and snippets.

@Ibro Ibro/Startup.cs
Last active Feb 24, 2018

Embed
What would you like to do?
Validating Model, global filter attribute - https://codingblast.com/asp-net-core-global-model-validation/
services.AddMvcCore(options =>
{
options.Filters.Add(typeof(ValidateModelFilter));
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment