Hi @Rafaiya Rushdha Oishi ,
You can try to use (localdb)\mssqllocaldb as server name to connect to the LocalDB automatic instance.
<add name="xxxx" connectionString="Data Source=(localdb)\mssqllocaldb;
You can check this link to learn more.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
YihuiSun