2,321 questions
0
votes
2
answers
2k
views
Where is the IIS Express tray icon since Windows 11 and Visual Studio 2022?
What is a prefered way to get to the configuration of IIS express ? The one launched by Visual Studio 2022 ?
I used to share access to the running Visual Studio iis developement app over the local ...
0
votes
4
answers
14k
views
How to change the IIS Express development port on a WebForms project in VS2022
I have a legacy ASP.NET WebForms app I need to get running. When running it in Visual Studio 2022 it uses port 50007 (http://localhost:50007/). That port has been helpfully reserved by Hyper-V and so ...
0
votes
1
answer
91
views
.NET 6 Requests taking too long to reach server
I have a .NET 6 WebAPI that was working perfectly fine until last week in my local environment.
Now when I try to make any request from any source in my localhost, the requests take between 1 and 4 ...
1
vote
2
answers
1k
views
“The connection has timed out.” in iis
I Create a New Website in Windows IIS , It has been working for several months
but i get this error today.
“The connection has timed out.”
the server 192.168.1.7 at is taking too long to respond
i ...
0
votes
1
answer
191
views
Starting IIS Express cmd rather than VS2022
The ASP.Net Core 6 Web Api runs under IIS Express via VS2022 just fine and allows me to load the swagger page (http://localhost:8084/swagger/index.html):
#Software: Microsoft Internet Information ...
1
vote
0
answers
96
views
Why IIS Express is ignoring network route in routing table?
We have a REST API which is working with Azure CosmosDB. This Azure CosmosDB account has enabled firewall, which allowing traffic from xxx.xxx.xxx.xxx IP address(which is our OpenVPN server).
On ...
0
votes
1
answer
357
views
SwaggerUI causes Index.html startup side effect on IIS express in Blazor App
I created a new Blazor Server project and added SwaggerUI and now the application searches for index.html as the start up object when I debug.
Interesting, I isolated the offending code to the ...
0
votes
1
answer
337
views
After adding an additional binding to IIS Express, traffic to localhost is refused
After adding the binding *:44335:bs-local.com to my applicationhost.config and adding a urlacl rule with netsh, IIS Express no longer serves localhost:44334. I would like to use both bindings in IIS ...
0
votes
1
answer
2k
views
IIs drive not found (PowerShell)
I'm trying to execute this commande new-webapppool and i keep getting that the IIS drive was not found, inthe documentation there is IIS:> while i have my local drive, how do I activate it?
I tried ...
0
votes
1
answer
939
views
Web App Running on Localhost using IIS Express Development Certificate
So we have some software that when installed runs a web app on iis at localhost on the users machine..
In order to use ssl we provide the user with a self signed certificate.. which results in an ...
1
vote
2
answers
3k
views
How to access an IIS Express site on Windows 11 from a remote computer
How to access an IIS Express site on Windows 11 from a remote computer?
I'm able to make it works on Windows 10 (via Parallel Desktop 15 on my MacBook Pro intel chip with MacOS Monterey) by following ...
2
votes
0
answers
224
views
visual studio .net core web development - how to fully turn off caching on my desk
While developing, i need to readily edit js files in the wwwroot subfolders of my .net core. But when i make edits, despite clearing browser cach or stop and re - run the old JS files are still found. ...
0
votes
0
answers
47
views
Ghostscript read permissions debugging in visual studio iisexpress
Hi All: I have a website that generates a single-page PDF using iTextSharp and converts it to JPG using Ghostscript.net (1.2.3) and latest 64-bit libraries.
The process works fine when the website is ...
1
vote
2
answers
11k
views
IISExpress not running all projects in solution Visual Studio 2022
I have a solution with several ASP.NET web applications. In previous versions of VS, debugging any one of those apps would also start the others in IIS Express as shown under Sites.
VS 2022 was ...
1
vote
1
answer
2k
views
Missing "Access-Control-Allow-Methods" header for CORS in IIS Express
I know similar questions have been asked many times but after hours of using any suggestion I can find it still does not resolve.
This is ASP.Net Core 3.1 web app which serves a web API, which I need ...
0
votes
1
answer
150
views
How send redirects whithout the extension file on asp.net
Right now I'm working in a software developed by another programmer who it's no longer part of the project anymore, he send the complete source code of the project.
The thing is, that in some points ...
0
votes
1
answer
2k
views
Deploying Blazor to local IIS Express - Error: Duplicate ScriptResourceHandler
I need to deploy a blazor web application to computers that need to run our web app completely disconnected from the Internet running under IIS Express and working with a local database installed on ...
1
vote
0
answers
2k
views
"The specified port is in use" IIS Express error when debugging specific project in Visual Studio
I have been using this same project for years without having this issue. Suddenly it happens every time I first boot my PC.
If I go into the log, this is the error I get:
Failed to register URL "...
0
votes
1
answer
292
views
debug blazor wasm when using custom domain
Im building some Blazor wasm project
and to access OIDC i had to make my dev iis expres to run under https:/xxx.localhost
and OIDC is veryfying this callback url so it mus be like that
so i had to add ...
0
votes
1
answer
916
views
Authorization with windows authentication in ASP.NET Core 3.1
As I understand there is a way to retrieve group where user belong.
For example Admins, Users etc.
After doing that I want to transform this into claims. I cannot find how I can retrieve a user's ...
0
votes
1
answer
3k
views
IIS Express extremely slow start while debugging
I am working on a C# MVC project that is set up to run using IIS Express. I am using Rider as my IDE and every time i start the project using the "Run" option it starts up quickly without ...
7
votes
2
answers
18k
views
Visual Studio 2022 Access is Denied when adding the certificate to the Trusted Root Certificates store
I recently changed my IDE from VS 2019 to 2022 and I have not been able to successfully debug an SSL web site without receiving the popup message:
This project is configured to use SSL. To avoid SSL ...
2
votes
0
answers
359
views
Why does IIS Express not let me browse my website from my C# code
I want to start IIS Express from within C# (to run UI Tests)
I have an MVC website that lives in "D:\GitHub\myProj\net5.Proj.Ui" - if I debug it within Visual Studio, the website runs ...
1
vote
1
answer
2k
views
IIS Express reports all ports already in use
When I try to run IIS Express by debugging an asp.net application in visual studio, I get an error message that the port is being used by another application, regardless of which port I select in the ...
0
votes
1
answer
48
views
Unity Container returning base type but wasn't before
I just got my unity config working, I started playing with web.config transformers and now it won't stop returning the base type.
I've stepped through the code to confirm the mapto value being picked ...