DEV Community

Discussion on: Blazor Server CRUD App Using Visual Studio Code

Collapse
 
rineshpk profile image
rinesh

The project is in .Net Core 3.1. If you are using .Net5.0, there may be some compatibility issues. Also, I couldn't see any images attached, for the issue details. Let me check with .Net5 and I will update you.

Collapse
 
pcoganwu profile image
pcoganwu

Thanks Rinesh. I also ran the project in .Net Core 3.1, I had the same issue. I will upload the file again. When trying to load the Employee data from the API, it is saying the connection string from the appsettings.json is null. The file is uploaded to this link dev-to-uploads.s3.amazonaws.com/i/...

Thread Thread
 
rineshpk profile image
rinesh

Did you checked appsettings.json?. It should contain a DefaultConnection sting as shown here dev-to-uploads.s3.amazonaws.com/i/...

Thread Thread
 
pcoganwu profile image
pcoganwu

Yes my appsettings.json have a DefaultConnection. See the link dev-to-uploads.s3.amazonaws.com/i/...