Thursday, June 10, 2021

Error: Specified cast is not valid. Please correct before proceeding.(You might rename the current web.config and add a new one).

 This is a strange error with apparantly no reason. Closing and reopening visual studio resolves it.

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