skip to Main Content

ASP.NET [PageRemote] did't work with class. Why?

This is ASP.NET Razor Pages Project with ASP.NET Identity Registration Page (.NET 8). Email checking (PageRemote) works fine, but only if the Email property is not a member of the Input class (automatically generated by ASP.NET Identity) [BindProperty] [Required] [EmailAddress]…

VIEW QUESTION

ListView Doesn't feed right by SQL select query in ASP.net C#

I have an ASP.net C# site. I feed one of the ListView in that with this code and it's work: protected void BindData() { string forwardedSearchText = Request.QueryString["SearchText"]; string forwardedSearchColumn = Convert.ToString(Session["SearchTitle"]); string strsql = "Select TbSoore.IdSoore, TbSoore.NameSoore, TbAye.NumberAye, TbAye.IdAye,…

VIEW QUESTION

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