Category "asp.net"

ASP.NET Core 6: How to intercept all incoming requests to call an external service

I am planning to build a micro frontend to intercept and handle all incoming requests just calling an external service that will render the html that the micro

how to add an open "other" field in an http radio form

I want to make an open "other" field in an HTTP radio form like in the following picture. is it possible? i had in mind something like this: class="text"><

Why crystal report not refresh the parameters automatically?

I am using this code in asp.net to run crystal report : paramField.Name = "@ORDER_ID"; paramDiscreteValue.Value = TXTORDERID.Text.ToStri

Access to the path /usr/share\OPC Foundation\pki\own is denied - this happens when deploying the OPC UA server

I have a Dockerfile for a DOTNET application with multi layered image where my first image creates the artifacts and my second image copies the artifacts from

How to find the cause of occasional slowness in .NET WebApi

I am investigating some occasional slowness in a aspnet Webapi method (.NET 4.8, not core). The symptoms are that most of the time the API responds in a few ten

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