Friday, November 16, 2018

IP restriction in ASP.Net Core

To restrict web requests in asp.net core by ip addresses follow these instructions:

https://damienbod.com/2016/12/18/implementing-a-client-white-list-using-asp-net-core-middleware/

No comments:

Regex Email validation in c# dot net core

 Use this regex /^_?[a-zA-Z0-9]([a-zA-Z0-9]*[._+-])*[a-zA-Z0-9_]+@(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.(?!-)[A-Za-z0-9-]{1,63}(?<!-))*\.[A-...