.NET Identity Scaffolding Error

preview_player
Показать описание
If you are taking a .NET Course, where we are using the .NET Identity Class Library for Authentication. Then with the latest update of .NET 6 that is broken! (in cases when you have multiple project and references as seen here

.NET Identity Scaffolding has always been a little funky, and has broken many times in past as well!

If you ever encounter issue with that and are unable to proceed, I have shown in the video how to get that from a new project and continue with that roadblock.

Рекомендации по теме
Комментарии
Автор

Thanks for providing the work around so quickly. Was stuck at this issue for a while.

deepakjoyjose
Автор

Dear Sir, I have fixed this by reinstalling all the entityframework core, identity, sqlserver, tools and identity UI. Able to add Identity now. Thank you for your kind efforts and helping us to grow.

vaibhavsharma
Автор

following your udemy course and it was frustrating that you reached up to that mark in the course and then stuck on such issues. Thanks for a dedicated video to solve the problem😊😊

taqikhan
Автор

Thank you so much . Struggling since 2 days with this issue ❤❤ Thanks

saurabhmishra-rvsw
Автор

please make course of

please create course related to Blazor + Dapper + SQL with live demo

nikunj
Автор

Having had this not working for 4 hours, I concluded that this seems to me like a lot of workaround to get an auto-coder to write a boilerplate 30 files and 3 config lines.
For an introduction to "add scaffolded items" this has put me off using this facility.

To solve the problem and continue through the tangy tutorial, I simply copy and pasted your github for this section and manually updated the packages to 6.0.9, and then popped the errors by referring between your github.
Thank you for highlighting the changes on this issue so that I could bypass this troublesome part of the tutorial.

Please consider avoiding scaffolding implementation in future as this doesn't seem reliable or used that powerfully in this example.

DavidKershaw-xl
Автор

Really thanks ... Just today got into identity section... From afternoon I was searching for fix... By Evening i find this... I feel damn lucky 😃

RajPatel-rmgt
Автор

Looks like the problem has been resolved via Microsoft. I upgraded all relevant EF Core packages to 6.0.9 and also installed version 6.0.10 (released 27 September 2022). When I scaffolded identity, it completed without an error. Thanks again, Bhurgen!

AD
Автор

There was an error running the selected code generator. 'Package restore failed'. Rolling back package changes for 'MyPage'
I am facing this error since the time i started scaffolding. Does the solution is same for my problem also?

deepanshupant
Автор

I'm still stuck, it feels like I keep starting this project over and over again. It's a little frustrating.

gregoryallen
Автор

Thank You Sir....
i'm waiting for Notification System in Asp.Net Core & SignalR...!!!!

asharrasheed
Автор

Sir, how are you opening different solution in different window?

chamahge
Автор

Hi. After adding scaffold identity I got no errors but now when I am running my project it gives my HTTP Error 404. I searched around a little bit and some of the responses said to add areas in your controllers so I did that also. But I am stuck. can you help me why am i getting 404 error?

rutabaamjad
Автор

Hi. I want to amale identity CRUD and use repository pattern. M not getting the point

rehmanmustafa
Автор

Thank you so much sir, it is helpful for me.

DeepakSaini-vuen
Автор

I got this error last week while adding the Identity Scaffolded item to my existing Blazor server project.
I tried to add Identity Scaffolded item after updating the EF Core packages to 6.0.9 but unfortunately there seems to be some compatibility issue .
So, I rolled back the EF Core packages from 6.0.9 to 6.0.8 and everything worked fine.

maneshwar
Автор

I'm doing all but still facing same issue

ashwinikamble
Автор

Very helpful, If possible can you make one demo on deployment of this project on Linux platform.

manoharpatil
Автор

im facing the error when i want to create the Areas
Error is :Scaffolding failed.
To see more information, enable tracing by setting environment variable 'codegen_trace' = 1.

MuhammadSajid-lcbn
Автор

I am facing not accept post request on all category after adding identity before adding identity all crud operation and post method are run properly but when I added identity post request is not worked
How to solve these error ...

tx-bhagyashreedungarwal