Questions tagged [asp.net]

Web application framework developed by Microsoft

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

What does Windows performance counter ASP.NET\Requests Current mean?

In Windows Performance Monitor, I can add a counter named ASP.NET\Requests Current. In our application, we use this counter to keep track of whether there are still ongoing requests or whether the VM ...
nitramk's user avatar
  • 203
0 votes
0 answers
50 views

Verify a JWT Token issued by Entra AD App Registration in Asp .NET core

I right now have an Entra/Azure AD App registration that is being used by a small Angular SPA to authenticate it to .net core APIs. when I decode the JWT the iss is "iss": "https://sts....
Kevin's user avatar
  • 101
0 votes
1 answer
74 views

Server error 502 - problems with .net core web app deploy made on GCloud's GKE using OAuth 2.0 Authentication

I have an MVC .net core 6 web application that uses Google's OAuth2.0 authentication and I cannot publish it with Kubernetes. Project context: Locally it compiles and runs normally, including creating ...
LostMyMind's user avatar
0 votes
1 answer
136 views

Using HttpPlatformHandler with IIS, is it possible to set a range limit for random ports assigned to %HTTP_PLATFORM_PORT%?

I have a microservice created with Flask that I have set up to run on Windows Server behind IIS using HttpPlatformHandler. It's working great except for one problem. There are other applications ...
user2205393's user avatar
1 vote
1 answer
39 views

Which applications use .NET shared framework

We have a production server running at the premises of our client. An external security scan was performed on this server indicating the Microsoft ASP.NET Core Shared Framework has some ...
svh's user avatar
  • 23
0 votes
1 answer
191 views

Errors running Asp.net Core website on Plesk on Windows Server 2019

I'm trying to run an Umbraco v12 (.NET Core 7) website on a client's Windows 2019 server, the only interface to which is Plesk control panel. I've verified that the .NET Core 7 framework is installed ...
Briquette's user avatar
  • 175
-1 votes
1 answer
369 views

ASP.Net: Problems loading WebResource.axd

(See also IIS - Ajax Problems when migrating to Windows Server 2022 and https://stackoverflow.com/questions/77523244/ajax-problems-when-migrating-to-windows-server-2022?noredirect=1#...
Bernd Morgeneyer's user avatar
2 votes
1 answer
194 views

Web site fails to start when trying to use shadow copy, no useful info in the event log

I have an ASP.NET Blazor web site, using .NET7 running on Windows Server 2022/IIS 10. Due to some problems I'm having with uploads, I decided to try enabling shadow copy, as this is supposed to avoid ...
Avrohom Yisroel's user avatar
0 votes
0 answers
518 views

.Net Framework 4.8 webapi site running on Windows Server 2022 takes several minutes to Recycle the application pool

I have a fully working .Net Framework 4.8 web site running on Windows Server 2019. The site has both MVC and Api Controllers. Automatic or manual Recycling the site takes just a few seconds. I ported ...
seagulledge's user avatar
0 votes
1 answer
59 views

asp.net cannot upload more than 25mb or receive 404 - File or directory not found

The upload used to work without issue before, and I cannot find anything that might have changed, except I did do updates on all servers. I rebooted all servers and tried uploading files, and the 404 ...
CodingEE's user avatar
  • 111
0 votes
0 answers
877 views

NGINX server is producing error response code 400 and "Bad Request" message when the server is rapidly requested

The API serves as a proxy for M3U8 videos. While accessed through an HTTP connection at IP:port requests to the API never result in a response code 400. Despite being tested under semi heavy load(10 ...
vynxc's user avatar
  • 1
0 votes
1 answer
46 views

My images are getting the upstream name as path

I have an ASP.NET application running in a docker container that's being server by an NGINX reverse-proxy also in a docker container. I'm not experienced at all with NGINX or hosting, so please ...
mmgyyc's user avatar
  • 1
1 vote
1 answer
833 views

How to cause ASP.NET app to recycle when OutOfMemoryException is thrown

I have a ASP.NET app (.NET framework 4.8) that runs in IIS on Server 2019. It happened a few times over that last few weeks that a customer tries to do some operation on the site that requires a large ...
Dani Avni's user avatar
  • 113
1 vote
0 answers
3k views

Modify the `Host` header or pass `X-Forwarded-Host` instead when using Nginx as reverse proxy?

I'm trying to use Nginx as a reverse proxy and the upstream server is an ASP.NET Core application where I've registered the ForwardedHeadersMiddleware, which will read three different X-Forwarded-* ...
Arad Alvand's user avatar
0 votes
0 answers
502 views

local IIS asp.net mvc web application using windows authentication keep prompting for credentials

I'm using windows 10 enterprise. localhost/mywebapp even not hitting home controller rather stuck on windows authentication prompt and no matter if I enter correct credential or bad credential it keep ...
kneethan's user avatar
0 votes
1 answer
885 views

Issues updating .NET Core - what patch am I supposed to use?

For a while now our vulnerability scanner has been detecting out of date .NET components on one of our servers and a management workstation; this is related to some software we recently deployed on it....
The ITea Guy's user avatar
0 votes
1 answer
38 views

Better to have one URL with all the memory or multiple copies of same URL sharing it

We have a site example.com and we have a large server 48 GB of RAM. Is it better to have one giant site using all the 48 GB or say eight copies of the same site each with its own App pool own ...
Tony's user avatar
  • 9
1 vote
0 answers
179 views

"Request timed out" asp.net error in web application after server migration to Azure

My company has migrated all of our on-prem servers to Azure. We are in the process of functional testing our application. So far, we have found no errors save for one. Whenever we click on a button on ...
Hey_Mindo's user avatar
0 votes
0 answers
174 views

Random IIS Failures

I have a 2 node IIS cluster using Microsoft Network Load Balancing under Windows Server 2019 hosting multiple websites/application pools. The cluster ran without problems for a year. However, ...
kittyhawk's user avatar
  • 171
0 votes
0 answers
55 views

Host ASP.NET site at specific endpoint

In short i would like to host an ASP.NET MVC 5 application at a specific endpoint. I have an application server AS01, and our domain controller DC01 (DNS server as well). The ASP.NET site is running ...
Felix Almesberger's user avatar
-1 votes
1 answer
218 views

Access ASP.NET website deployed on IIS Windows Server from outside network

I have an ASP.NET website deployed on IIS in Windows Server. It works fine in LAN. All PC in the network can access the website using the IP of server and port. Now I want to be able to access the ...
Humayun Ahmed's user avatar
3 votes
0 answers
81 views

Found a bug in the URL rewrite module that we can't fix. Need suggestions for outbound URL rewriting

I'm looking for some high-level options for coding around a bug I discovered in the URL rewrite module for outbound URL's. We're at an impasse with Microsoft because they need a full crash dump, which ...
Jonathon Anderson's user avatar
1 vote
0 answers
970 views

Is one of Anonymous or Windows Authentication really required for IIS when hosting an ASP.NET CORE application

I have an ASP.NET CORE application hosted in IIS. The application uses OAUTH/OIDC for authenticating API requests. I have observed that if neither Anonymous nor Windows Authentication is activated ...
Tom Carter's user avatar
0 votes
1 answer
666 views

How to show a default page on a protected website running on IIS

I can't figure out the correct syntax in my web.config to allow the general public to see the index.aspx as a default page and for any other page to go thru the login page. If I use www.mywebsite.com/...
Corobori's user avatar
  • 123
1 vote
0 answers
328 views

AWS Application Load Balancer bringing ASP.NET application down

I have an AWS Application Load Balancer configured with EC2 and an auto-scaling group. The EC2 instances run a Windows+IIS web server. The Web Server connects to a database. It has happened in some ...
Diego Jancic's user avatar
1 vote
1 answer
215 views

How many SSL certificates you need - aspnet core + Apache reverse proxy?

When you deploy aspnet core app on Linux you normally do it through reverse-proxy. I.e. Kestrel hosts the app and Apache handles the public internet traffic talking to Kestrel. So Kestrel and Apache ...
Boppity Bop's user avatar
0 votes
0 answers
593 views

Which application path to use for Windows IIS in Advanced Firewall Rules?

I'd like to unblock my IIS ASP.NET 4.5 webservice for public access. In Windows 10 Advanced Firewall Rules I added an inbound rule to accept all incoming requests for my webservice's port (e.g. 8001). ...
AxD's user avatar
  • 101
0 votes
1 answer
99 views

Apache SSL Installation [Not Duplicate]

I am trying to install ssl certificate on my ubuntu server 20.04 I have downloaded ssl files and put them in /home/ubuntu (will change once it works): api_limitlesssoft_com_key.txt api.limitlesssoft....
Aleksa Ristic's user avatar
1 vote
0 answers
300 views

Asp.net core To elastic beanstalk error 404 after deployment

I have an asp.net core web api that run an 404 after it get's deployed to elastic beanstalk. Any version from 1.0 to 5.0 all show the same error 404. The api works just fine on localhost but once it ...
Aboubacar Traore's user avatar
1 vote
1 answer
2k views

ASP.net IIS requests not timing out after executionTimeout Value

We have set system.web/httpRuntime executionTimeout = 60s for our .net 4.8 application hosted on server 2019 IIS 10. From time to time we see varied requests exceeding this timeout by a large margin, ...
bbergvt's user avatar
  • 111
0 votes
1 answer
224 views

Mail Enable email headers when sending emails via ASP.NET

I have multiple websites running on my server: domain1.com and domain2.com The problem is now that when I sent an email via ASP.NET from domain2.com, that in this email source I see (notice domain1): ...
Adam's user avatar
  • 287
0 votes
0 answers
260 views

Will IIS web gardens providing high availability?

I have an ASP.NET application (.NET FW 4.5) that occasionally crashes and has a long startup time due to an in-process cache. I am considering using an IIS walled garden (multiple worker processes) so ...
Aveer28's user avatar
0 votes
1 answer
533 views

Installing ASP.net on Ubuntu 20.04

I'm trying to add ASP.net onto my Ununtu 20.04 server. As per: https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu They tell you to: wget https://packages.microsoft.com/config/ubuntu/20....
Andrew Newby's user avatar
  • 1,154
1 vote
0 answers
157 views

How to set permissions on virtual network directory when application pool uses LOCALSYSTEM?

I have a Windows 10 web server development machine (let's call it: "DEVELOPMENTMACHINE") where the application pool uses LOCALSYSTEM. Without using LOCALSYSTEM, the Windows text-to-speech ...
jtsoftware's user avatar
0 votes
2 answers
3k views

IIS7.5: HTTPS->HTTP 302 redirect

I have an asp.net website running on IIS7 configured long ago. There appears to be a 302 redirection in place redirecting all requests over HTTPS to HTTP instead. I would like to remove this redirect ...
spatula5's user avatar
0 votes
1 answer
500 views

authenticate ASP.Net App on Azure WS2019 against Azure SQL via AAD - Access token could not be acquired No mapping between account names and securi

I try to reconfigure our ASP.Net app with .Net Framework 4.7.2 from SQL username/password Auth. to token based Azure Active Directory Authentication by using the system assigned managed identity of ...
Manfred's user avatar
0 votes
0 answers
48 views

add an asp .net core application to a ruby on rails site hosted on a linux server

I am new to web hosting, and please forgive my ignorance. my company has a website, and the site is an Ruby on Rails application with Passenger hosted on a linux server. I would like to know if it is ...
groupofsomething's user avatar
0 votes
1 answer
2k views

asp.net Secure Cookies behind load balancer

This is a hybrid MVC/webforms asp.net application using framework 4.8, forms authentication and Membership. I need to implement secure cookies. The web site is behind a Coyote load balancer which I ...
Tom Regan's user avatar
  • 133
1 vote
1 answer
1k views

How to remove an ASPNET Runtime?

I have an ASPNET Core Runtime that needs removed, but the means I've discovered doesn't seem to be working right. This is Version 2.1.17, which is old and needs gone. It is on a Windows 10 domain-...
The ITea Guy's user avatar
0 votes
1 answer
5k views

HTTP Error 500.19 - Internal Server Error for ASP.NET Core 3.1.0 MVC application deploye on IIS version 10

Here are the details about our development environment: DevExpress 20.2.3 (we are using DevExtreme) Microsoft Visual Studio Enterprise 2019 (Version 16.4.6) ASP.NET Core 3.1.0 AspNetCore.Mvc 3.1.0.0 ...
user1338998's user avatar
1 vote
0 answers
108 views

ASP.NET Core 2.0 Application Restart - Memory Usage

I have an ASP.NET Core 2.0 (NopCommerce 4.0) application on IIS v.1607 When my process arrives at (approximately) 1300MB of memory, the web site stops responding, and after some minutes the ...
Alessio Cavalieri's user avatar
0 votes
0 answers
528 views

How to solve ID1059 Cannot authenticate the user error?

I am not really experienced regarding a server/IIS issue. So I will try my best to explain the problem. I have two same web applications on two different servers (Test and Live Server). Both servers ...
user2018's user avatar
  • 101
0 votes
1 answer
228 views

Add custom steps in Azure Deployment Slots during swap

I'm analysing the Azure Deployment Slots functionality of Azure App Service to adopt zero downtime deployment strategy and i'm curious if it's possible to define some custom steps to be performed ...
O. Desiatnyk's user avatar
2 votes
1 answer
563 views

Browser Downloading ASP App Instead of Displaying

Windows Server 2012 R2 / IIS 8.5 In IIS > Sites > Default Website I have an (ASP) application, when I visit the localhost URL a file is downloaded instead of the page being displayed. The files ...
TheOrdinaryGeek's user avatar
1 vote
2 answers
2k views

Downgrade ASP.NET Core Hosting Bundle 5 to 3.1 or install them side by side?

Windows 2019 Server with IIS and ASP.NET Core Hosting Bundle 5.0.1 installed. I need to run Asp.Net Core 3.1 site on the machine. Should I just install ASP.NET Core Hosting Bundle 3.1 side by side ...
Serg's user avatar
  • 111
0 votes
1 answer
322 views

Protect static file on Asp Net Classic Mode with Forms Authentication

i'm struggling to resolve this issue since yesterday. I have a site (framework 4.0), hosted in a Windows Server with IIS 7.5 in Classic Mode. Unfortunately i can't changed this to Integrated Mode. I ...
Marco's user avatar
  • 1
0 votes
1 answer
2k views

Cannot read configuration file \\?\D:\home\site\.well-known\web.config

I have a strange situation where a single ASP.NET Core Web App I am running on Azure is having issues serving files from a particular directory. Specifically I am trying to serve a file from the path ...
Maxim Gershkovich's user avatar
0 votes
1 answer
2k views

new .NET version not showing up in Server Manager

I've installed .NET 4.7.2 on an EC2 running Windows Server 2016 but when I go to Server Manager > Add Roles and Features, I can't see that version anywhere in the Roles or Features lists for Web ...
JacobIRR's user avatar
  • 125
1 vote
1 answer
152 views

Adding ADFS to existing AD Application

We have an existing .NET application that uses Active Directory to authenticate users and search for user/OU data using DirectorySearcher object. Our customer has several AD servers and would like our ...
INoYouRyder's user avatar
0 votes
1 answer
585 views

Asp.net core Blazor app with google authentication getting lots of websocket errors

We have a simple asp.net core 3.1 Blazor server-side app which we are trying to run on google app engine but are getting lots of websocket errors during initial connection: WebSocket connection to '...
Michael Timmins's user avatar

1
2 3 4 5
25