Wednesday, March 3, 2021

Partial views in bootstrap modal using AJAX

 This article explains how partial views can be used in bootstrap modal for CRUD operations on a related child entity. It uses ajax to dynamically load and save content displayed in a bootstrap modal dialog box.


https://www.codeproject.com/Articles/786085/ASP-NET-MVC-List-Editor-with-Bootstrap-Modals

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-...