Category "asp.net"

ASP.NET Framework 4.8 / 4.7 connected with external SSO by OpenId Connect with Authorization Code Grant flow, returns 404 on /signin-oidc

I'm trying to set up external SSO provider (FusionAuth) to ASP.NET Framework 4.8 project using OpenIDConnect/Oauth with Authorization Code Grant Request. When r

Validation Control are not working on live server [Google Cloud] with VS 2015 (Asp.Net with C#)

On my local machine everything is working fine...but on live server validation control are not working. [I am using Google Cloud (Windows Server 2019)]. I am u

jQuery Performance Long Running Tasks

var data = response.Data; var table = $('#' + tableId).dataTable(); table.fnClearTable()

How can I enable X-UA-Compatible meta tag in Edge Chromium with IE Mode?

I have an ASP.NET Web Forms website that works in Edge Chromium with IE Mode. To distribute the IE Mode website enablement to the domain user I have defined a G

What is the data type in ASP.NET Core for decimal(18,2) in sql

I have a Amount column in database which is in Varchar datatype, I am retrieving the data from table and I am casting for the amount should be returned as (123

I'm using a html.beginform to when i click in a button i go to a diferente Action, but i need to pass the values that i have inside my model aspnet c#

I'm developng a school project using a html.beginform to when i click in a button i go to a diferent Action, but i need to pass the values that i have inside my

Could not load file or assembly 'NLog.Web.AspNetCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c'

I'm upgrading my solution from .NET 5 to .NET 6 and getting the error at runtime Unhandled exception. System.IO.FileNotFoundException: Could not load file or a

Why Response.Redirect causes System.Threading.ThreadAbortException?

When I use Response.Redirect(...) to redirect my form to a new page I get the error: A first chance exception of type 'System.Threading.ThreadAbortException

How to sign data with RSA private Key on Javascript/jquery

I got this C# code but I need it to be done in Javascript. The idea is that I need to execute this bit of code when there is no internet in the browser, basical

EF Core 5.0 Many-To-Many delete from nested collection

My models are like this (simplified): public class Request { public string Id { get; set; } public List<Tag> Tags { get; set; }

Why result.Succeeded return failed in ASP Identity

When trying to add the ability to add a name during registration, an error occurred when logging into the account. When I register, the login is successful, but

How to invoke awaiting js fuction in razor pages c#

I'm using SignalR. I want to send updating request by websocket for each elements in foreach to update timer. But i'm getting error.Maybe connection can not get

Having Trouble retrieving "otherMobile" LDAP attribute vb.net

I am trying to retrieve "OtherMobile" attribute from AD. This is for an employee account recovery tool I am building. For some reason, I can't search on "othe

How to use DBContextFactory in Generic Repository

My current application has three layers: Web, Infrastructure and Core. Generic Repository is in Infrasturcture layer and works fine with DBContext. After I swit

How to Update the .config file using Azure DevOps "Update config" Task

I want to Update the Web.config file using Azure DevOps Release Pipeline. I am using [Update Config][1] Task from MarketPlace. [1]: https://marketplace.visualst

Docker .NET Framework is triggering error Access to the path 'C:\RoslynCompilers-3.6.0\tools\csc.exe' is denied

I am trying to run a simple ASP.NET application in a Docker Container. Unfortunately, this application is a .NET Framework (not .NET Core), and because of that,

Open the same app after downloading an a update

i'm doing a application update, and i've already code the part thats download and extracts content. now, i need to close current app, and open the same, but wit

How to declare scalar variable?

I get this error: System.Data.SqlClient.SqlException: 'Must declare the scalar variable "@refSlips".' Code: SqlConnection con = new SqlConnection(connectionSt

Blazor Server set multiple default values for select drop down list

I have a Blazor server app (.net 6) page that has a select drop down list, which is set to allow multiple selected items. I need to set default values, when th

Visual Studio 2022 Crashes when Adding SqlDataSource using any MS Access Database in ASP.NET C# Web Project

When adding a "SqlDataSource" using any version of MS Access database the app simply crashes when you "Test Connection". This happens in the designer when usin