User-271186128 posted
Hi mazhar,
Database migration if i have any change in validation field to non mandatory in razor view then i have to stop the website for Executing migration script.
Check the fields, whether it needs to migrate and change the database. Perhaps, you could try to use View Model in the Razor view, and validate the View Model, then, store the validated values in the database.
2) First time linq take loading time more.
As DA924 said, it's called cold vs warm queries.
3) higher risk of data losing.
You could automatically set up SQL Server backups on a schedule.
If you are using SQL Server Express, you can't use SQL Agent, so you must do it using a script (.bat or another) and schedule it with Windows Schedule task (or another program).
If you have another version, you can create a Maintenance plan for a full backup and then with SQL Agent create a Job to run it.
You could refer to
this answer for more details.
Best regards,
Dillion