Solutions to Date-Time Issue between Server Clients at different Timezone

After Investing lot of time in solving the date-time difference problem between Server and Clients due to them being at different Timezone, I understood few things which I would share with you. You can't control the clients timezone. You can only control your server side timezone. You can't force a your client.to accept your specific date-time. … Continue reading Solutions to Date-Time Issue between Server Clients at different Timezone

ASP.NET MVC Web.config move AppSettings to separate file

Let’s get the appSettings inside the web.config file to a separate file for better maintenance of the code. Step 1: Open your web.config file. Step 2: You will see your appSettings code in there Step 3: Create a new config file in the project name "PrivateSettings.config" and add the settings code you want to keep … Continue reading ASP.NET MVC Web.config move AppSettings to separate file

ASP.NET MVC Web.config move ConnectionStrings to separate file

Let's get the connectionStrings inside the web.config file to a separate file for better maintenance of the code. Step 1: Open your web.config file. Step 2: You will see your connectionStrings code in there Step 3: Add a new config file name as ConnectionStrings.config and copy the above code into it Step 4: In your … Continue reading ASP.NET MVC Web.config move ConnectionStrings to separate file