skip to Main Content

Asp.net Identity JWT Issue

I have tried to implement JWT token authorisation into my system but it's not working. I'm new to ASP.net so please go easy on me. I can login fine and i do get the token as expected. But when I…

VIEW QUESTION

Asp.net – Regex negative lookahead true then ignore rest of regex

I'm using the following IIS Rewrite Rule to block as many bots as possible. <rule name="BotBlock" stopProcessing="true"> <match url=".*" /> <conditions> <add input="{HTTP_USER_AGENT}" pattern="^$|b(?!.*googlebot.*b)w*(?:bot|crawl|spider)w*" /> </conditions> <action type="CustomResponse" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" /> </rule> The goal is to block all user…

VIEW QUESTION

Asp.net – Experiencing a data binding issue on a Blazor .NET 8 Web App

@page "/login" @using BlazorWebAppNew.Data @inject IJSRuntime JSRuntime @inject UserDataContext dataContext <PageTitle>Login</PageTitle> <div class="container mt-5"> <div class="row justify-content-center"> <div class="col-md-6"> <div class="card"> <div class="card-header"> <h6 class="card-title">Please log in</h6> </div> <div class="card-body"> <EditForm Model="@loginModel" OnValidSubmit="HandleLogin" FormName="LoginForm"> <DataAnnotationsValidator /> <ValidationSummary /> <div class="form-group…

VIEW QUESTION
Back To Top
Search