Basically I\'ve followed a tutorial and decided to delete the .mdf file afterwards.
Now whenever I try to run the application I get the following error
Just change database name from web.config project level file and then update database.
connectionString = Data Source =(LocalDb)\MSSQLLocalDB;AttachDbFilename="|DataDirectory|\aspnet-Project name-20180413070506.mdf";Initial Catalog="aspnet--20180413070506";Integrated
Change the bold digit to some other number:
connectionString = Data Source==(LocalDb)\MSSQLLocalDB;AttachDbFilename="|DataDirectory|\aspnet-Project name-20180413070507.mdf";Initial Catalog="aspnet--20180413070507";Integrated