question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blazor Webassembly Identity Scaffolding Not Working

See original GitHub issue

Create a new Blazor app using the Blazor WebAssembly App template with ASP.NET Core Hosted selected and Individual User Accounts authentication.

After the project is loaded add the identity scaffolding by right clicking the server project and selecting Add New Scaffolding Item… and select all files.

If you try to run the project, you will get a compile error due to missing using Microsoft.AspNetCore.Identity. If you fix that issue and follow the identity scaffolding read-me the app does not show correctly.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
filipgoriscommented, Jun 6, 2020

Exactly the same issue here, but on ASP.Net Core Web Applications:

  • Create a new Project
  • Select ASP.Net Core Web Application
  • Select ASP.Net Core 3.1
  • On the newly created project: Add > New Scaffolded Item… brings up the error mentioned by @bstorage: “Import ‘Microsoft.WebTools.Scaffolding.Core.ScaffolderFactory.FactoryConfigEvaluator’ could not be satisfied.”

Visual Studio 2019 Version 16.7.0 Preview 2.0 Templates 3.1.3

1reaction
bstoragecommented, Jun 5, 2020

After updating AspNetCore.Identity (2.2.0) and many other packages (not sure which are relevant here) I can no longer use scaffolding at all on Blazor WebAssembly, including on projects where I have used it previously. On right click of project and selecting Add/New scaffolded Item, I get an error titled “Import” having text: “‘Microsoft.WebTools.Scaffolding.Core.ScaffolderFactory.FactoryConfigEvaluator’ could not be satisfied.”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blazor Existing Project | Asp.net Identity scaffolding is not ...
I created a new project, did the authentication on a brand new application, then copied all the files over, renamed the namespaces, fixed...
Read more >
Scaffolding failing for identity in blazor - Microsoft Q&A
When I try to add identity thru the cli cause the tooling is broken form the gui I get this error. I am...
Read more >
.NET Identity Scaffolding Error - YouTube
NET 6 that is broken ! ... NET Identity Scaffolding has always been a little funky, and has broken ... NET 6 Web...
Read more >
Need Input Regarding Authentication/Identity for New ...
I went through the process of scaffolding all the Identity files, that process introduced several issues which were really annoying to fix ...
Read more >
ASP.NET core identity setup in blazor application
We will use Visual Studio Scaffolder to add identity support. Right click on the Blazor web project and select Add - New Scaffolded...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found