Hi @CodeAffection, I am getting an error when doing the db migrations. The error is: "An error occurred while accessing the Microsoft.Extensions.Hosting services. Continuing without the application service provider. Error: Failed to load configuration from file" "Unable to create a 'DbContext' of type ''. The exception 'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[AuthECAPI.Models.AppDbContext]' while attempting to activate 'AuthECAPI.Models.AppDbContext'.' was thrown while attempting to create an instance."
Make sure the AppDbContext is defined and passed in the program.cs file, as shown in the video. Please share the program.cs file db injection code and AppDbContext code.
goo.gl/bPcyXW : Buy me a Coffee
bit.ly/4fpwP4y : Next Part (JWT Authentication)
bit.ly/3zktP96 : Same Topic with Angular Front-end
bit.ly/403lUVC : AspNet MVC with Identity Core
bit.ly/47yygKq : (Angular & .Net Core API) Tutorials
bit.ly/4fSmgXP : (React & .Net Core API) Tutorials
bit.ly/30fPDMg : AspNet Core MVC Tutorials
This is called a quality content. Thank you sir
Thank you.
Looking forward to the series, thank you.
working on it.
Waiting since long. Thank you sir for this.
very informative, very detailed and very clear, thanks so much 🙏
thanks for your wonderful feedback.
i love this series please keep going
Looking forward to the series. Angular + .net Core
Sure.
Looking forward to the series. Angular + .net Core
Sure thing.
Yes
That was a great video 🎉
Thanks ❤
Glad you found it helpful.
Great work
Thank you so much
Thank you!
How far will this series go, and will it cover user-specific permissions?
could you elaborate the requirement or share any online resources as a an example.
I think he means authorizations.
thanks for your effort 🥀🥀🥀🥀🥀
Thanks for being kind enough to appreciate the effort.
amazing
Glad you think so.
thats what i was looking for do you have any video of custom role creation and assigning them permission in mvc entity framework
Somewhat done with old version of asp.net web API
1st comment, hopefully 😊
! so fast !
Part 2?
most probably tomorrow else next monday.
Hi @CodeAffection, I am getting an error when doing the db migrations.
The error is:
"An error occurred while accessing the Microsoft.Extensions.Hosting services. Continuing without the application service provider. Error: Failed to load configuration from file"
"Unable to create a 'DbContext' of type ''. The exception 'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[AuthECAPI.Models.AppDbContext]' while attempting to activate 'AuthECAPI.Models.AppDbContext'.' was thrown while attempting to create an instance."
Make sure the AppDbContext is defined and passed in the program.cs file, as shown in the video.
Please share the program.cs file db injection code and AppDbContext code.
@@CodAffection Thank you for your help, the error was a spelling error in the appsettings.json file. 😂