Hello Guys, In this post, I am going to describe how we can rename any project under a visual studio solution. I often needed to rename the project name and each time I have to google it to find the correct solution and further often have to do some brainstorming to find out the correct solution, …
Our application requirement changes from day to day and same we have to do our work on the database side. There are n numbers of SQL operations we do in a database like creating tables, updating table, add columns, add foreign key relation and many more as per our requirements. As requirement comes I have to …
In web application development we often need to use the hidden fields inside the form, the field may contains any data like primary key of table, username etc. Any data that we don’t want people see. So what will happened if your Hidden field not getting updated ? You whole module work flow may affected due to this problem. …
Page LoadComplete event not getting fired, it actually works until you got something wrong. We will get to know later in this post why Page_LoadComplete was not working. So let’s get started. What was happening in my case that I had one base class (inheriting page class as normal) and that base class was further being inherited …
I created new project and I did setup routes and other necessary functions, now it was turn for form authentication. I follow up all necessary steps, required to validate the user like creating cookie etc like below: var userData = JsonConvert.SerializeObject(serializeModel); var expiryDate = model.RememberMe ? DateTime.Now.AddDays(14) : DateTime.Now.AddDays(1); var ticket = new FormsAuthenticationTicket(1, model.UserName, DateTime.Now, …