Skip to content
View HugoVG's full-sized avatar
🐦
Borb
🐦
Borb
  • 03:46 (UTC +02:00)

Highlights

  • Pro

Organizations

@baka-bot-org
Block or Report

Block or report HugoVG

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
HugoVG/README.md

Hi 👋, I'm Hugo / Hogo

I'm a Developer From The Netherlands

I like to use Reflections to solve most of my issues

Daily tools, languages and frameworks:


Knowledge about / Worked with:

Pinned

  1. Saving a Picture as png to an server... Saving a Picture as png to an server regardless of OS, png for better xamarin support, no system.drawing works on linux/windows,
    1
    using SixLabors.ImageSharp;
    2
    using SixLabors.ImageSharp.Processing;
    3
    public static class GenericHelperFunctions
    4
    {
    5
        public static bool RegChecks(string checkedto)
  2. Identity framework, logging in and r... Identity framework, logging in and registering with Username instead of email
    1
    //Replace Email
    2
    <div class="form-floating">
    3
        <input asp-for="Input.Email" class="form-control" autocomplete="username" aria-required="true" />
    4
        <label asp-for="Input.Email" class="form-label"></label>
    5
        <span asp-validation-for="Input.Email" class="text-danger"></span>
  3. Json web tokens, JWT, for C# API, Json web tokens, JWT, for C# API,
    1
    public interface IJWTStore
    2
    {
    3
        Tokens Authenticate(LoginUser users); //This is a small Model of just Username Password you can make your own
    4
        string GetNameFromToken(string token);
    5
    }
  4. Seeding an identity database with a ... Seeding an identity database with a super user
    1
    CreateDatabase();
    2
    using (var scope = app.Services.CreateScope()) //Creates a new scope
    3
    {
    4
        //Resolve ASP .NET Core Identity with DI help
    5
        var roleManager = (RoleManager<IdentityRole>)scope.ServiceProvider.GetService<RoleManager<IdentityRole>>(); //gets services
  5. AppDiagram AppDiagram Public

    C# 5 1