fretje / heroplate Goto Github PK
View Code? Open in Web Editor NEWA template with a blazor frontend and a separate aspnetcore api backend
License: MIT License
A template with a blazor frontend and a separate aspnetcore api backend
License: MIT License
Describe the bug
User tries to self Register
https://localhost:5002/users/self-register
To Reproduce
Fill out form for a new Registered user, click save
Exception
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Microsoft.EntityFrameworkCore
StackTrace:
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expression query, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.ExecuteAsync[TResult](Expression expression, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ExecuteAsync[TSource,TResult](MethodInfo operatorMethodInfo, IQueryable1 source, Expression expression, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ExecuteAsync[TSource,TResult](MethodInfo operatorMethodInfo, IQueryable
1 source, LambdaExpression expression, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.FirstOrDefaultAsync[TSource](IQueryable1 source, Expression
1 predicate, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore9.FindByNameAsync(String normalizedUserName, CancellationToken cancellationToken) at Microsoft.AspNetCore.Identity.UserManager
1.d__76.MoveNext()
at Microsoft.AspNetCore.Identity.UserValidator1.<ValidateUserName>d__6.MoveNext() at Microsoft.AspNetCore.Identity.UserValidator
1.d__5.MoveNext()
at Microsoft.AspNetCore.Identity.UserManager1.<ValidateUserAsync>d__174.MoveNext() at Microsoft.AspNetCore.Identity.UserManager
1.d__72.MoveNext()
at Microsoft.AspNetCore.Identity.UserManager`1.d__77.MoveNext()
at Heroplate.Api.Infrastructure.Identity.UserService.d__2.MoveNext() in D:\repos\heroplate\src\Api\Api.Infrastructure\Identity\UserService.CreateUpdate.cs:line 26
Is this repo still active ? Or do you suggest to jump back to the fullstackhero especially for the Wasm and the Net7 thing.
Are you guys waiting for net 8 for adapting the Wasm? Maybe some info would be nice. btw love your work..
public bool Contains(string key) =>
_cache.TryGetValue(key, out object _);
here.
Am I doing something wrong ?
How do the Duplicate Action works?
Thanks in Advance.
User Authentication - Change Password
Describe the solution you'd like
When a new user is created, the password is set to the default. The user can't change it and ideally should be setting their own password.
Describe alternatives you have considered
I have made some investigations in using Auth0 with this template. However, I'm a blocked by what seems like an Auth0 shortcoming in finding the page tag when it exists via an inherited layout.
Additional context
If plans are under way to revamp security using BFF this feature request may be irrelevant. I do think even having simple (and yes probably insecure) 2FA via email is a good idea. In some ways the 2FA and reset password are kinda similar I think.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.