Validating endpoint URL in ASP.NET MVC

@MrMustafa Here is already shared working sample using ASP.net C# (Core)

Link