dotnet / dotnet/Scaffolding

Add Identity in Blazor 9 project

Open
#3,102 6 comments 0 reactions 0 assignees View on GitHub
area-blazor area-scaffolding
Dominant language
C#
Stars
818
Forks
260
Avg merge
1d 8h
Merged PRs (30d)
10

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

I'm creating a new project using `.NET MAUI Blazor Hybrid and Web App` with `.NET9`. I want to add `Identity` to the project. To do so, right-click on the web project, select **Add** and then **New Scaffolded Item** and then select *Blazor Identity* from the window.

[![enter image description here][1]][1]

Then, I select all the dropdown lists with the default values.

[![enter image description here][2]][2]

After clicking *Add*, I get this error

[![enter image description here][3]][3]

What do I have to do in order to add *Identity* to my project? Is it better if I copy a n old implementation?

[1]: https://i.sstatic.net/wjjZ5miY.png
[2]: https://i.sstatic.net/WxA9uBdw.png
[3]: https://i.sstatic.net/THZCyhJj.png

### Expected Behavior

Using the procedure, I expect to add the Identity to the project

### Steps To Reproduce

See above

### Exceptions (if any)

_No response_

### .NET Version

net9

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.