Giter VIP home page Giter VIP logo

average-crm's Introduction

CRM

A WORK IN PROGRESS.

Platform Master
Blazor WebAssembly Build Status

average-crm's People

Contributors

brunoblanes avatar creeper-bot[bot] avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

average-crm's Issues

Add CPF validation

CPF needs to be validated by the server and the client before creating a new entity.

Remove redundant code

Check to see if the following lines of code could be put into a static method given they apear, at least in some form, on more than three different pages.

// Generates the user account confirmation code
logger.LogInformation($"User {Email} created a new account with password.");
var code = await userManager.GenerateEmailConfirmationTokenAsync(user);
code = WebEncoders.Base64UrlEncode(Encoding.UTF8.GetBytes(code));
var callbackUrl = Url.Page(
	"/Account/ConfirmEmail",
	pageHandler: null,
	values: new { area = "Identity", userId = user.Id, code, returnUrl },
	protocol: Request.Scheme);

// Sends a confirmation email to the user
await emailSender.SendEmailAsync(Email,
	"Confirm your email",
	$"Please confirm your account by <a href='{ HtmlEncoder.Default.Encode(callbackUrl)}'>clicking here</a>.");

Unhandled exception while loading the website

WASM: System.InvalidOperationException: Cannot provide a value for property 'AuthenticationStateProvider' on type 'Microsoft.AspNetCore.Components.Authorization.CascadingAuthenticationState'. There is no registered service of type 'Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider'.

Implement Table-per-type mapping

As of Entity Framework Core 5 Preview 8, TPT mapping is officially supported and I think it would be a better way to go forward.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.