iis-express

Using ssl with localhost with asp.net mvc 5 on VS2015

蹲街弑〆低调 提交于 2021-02-19 05:54:28
问题 I'm trying to test my website locally using SSL with IIS Express. It has the following properties set: SSL Enabled set to 'true' SSL URL is set https://localhost:44354/ But whenever I open the https address, I get the following error: In "Microsoft Edge": In Google Chrome: I've read article after articles, including some on SO but to no avail. I've tried the following: I've deleted my IIS Express Development Certificate I've repaired IIS Express 10 via the Control Panel I've removed the

ASP.NET Core 3.1 web application throws error 500.30 when run on IIS Express, but not when using dotnet watch run

爷,独闯天下 提交于 2021-02-18 22:55:07
问题 When running my application from Visual Studio 2019 on IIS Express the web page gives error 500.30 and in the output it says, Exception thrown: 'System.NullReferenceException' in System.Private.CoreLib.dll However, when running it in a terminal using dotnet watch run the page runs without errors and displays correctly. I've tried running the debugger and the error is always thrown on this line, CreateHostBuilder(args).Build().Run(); after my ConfigureSerives Method below completes // This

My app quits serving static files after the Windows April Update

这一生的挚爱 提交于 2021-02-18 18:43:06
问题 I have an app where the Content folder is filled by another process that builds a frontend app, and the Visual Studio project itself doesn't know what's in the folder. I set up the web.config with a standard <staticContent> node and <modules runAllManagedModulesForAllRequests="true"> . I have my RouteConfig set up with routes.IgnoreRoute("content/*"); The app typically runs with IIS Express, but I have also run it with IIS proper. This has all worked fine to load js, css, and other static

My app quits serving static files after the Windows April Update

大兔子大兔子 提交于 2021-02-18 18:42:15
问题 I have an app where the Content folder is filled by another process that builds a frontend app, and the Visual Studio project itself doesn't know what's in the folder. I set up the web.config with a standard <staticContent> node and <modules runAllManagedModulesForAllRequests="true"> . I have my RouteConfig set up with routes.IgnoreRoute("content/*"); The app typically runs with IIS Express, but I have also run it with IIS proper. This has all worked fine to load js, css, and other static

How to allow anonymous access to web-site on IIS 7.5?

房东的猫 提交于 2021-02-18 11:39:08
问题 tl;dr : Why does <allow users="?"> work on IIS Express, but not on IIS? Background I have a new asp.net web-forms project. When running locally on Windows 7 IIS Express, i can block "all users" from accessing the site by adding a deny * rule to web.config: web.config <configuration> <system.web> <authorization> <deny users="*" /> </authorization> </system.web> </configuration> this causes me to be denied access: And so that makes sense. I can deny access to anonymous users I the web.config, i

Ngrok configure multiple port in same domain

倾然丶 夕夏残阳落幕 提交于 2021-02-17 07:40:23
问题 Is it possible to open multiples ports in ngrok in same domain? Something like: Fowarding http://example.ngrok.com:50001 -> 127.0.0.1:50001 Fowarding http://example.ngrok.com:50002 -> 127.0.0.1:50002 I´m working in windows and it'll be useful for debuging with IIS Express 回答1: Yes, it is possible using multiple simultaneous tunnels, within the same hostname ! All you need to do, is to declare them on your configuration file, like this: authtoken: 4nq9771bPxe8ctg7LKr_2ClH7Y15Zqe4bWLWF9p

Can't connect to IIS Express using IP Address

自古美人都是妖i 提交于 2021-02-07 10:48:55
问题 From what I understand, VS2012 comes with the IIS Express version by default. And it allows you to connect to the development site using IP address. Currently I can connect using http://localhost:22222 . But this would not connect using this http://xxx.xxx.xxx.xxx:22222 where xxx just a local IP of the development machine . I have verified that the IIS Express is running and being used. The IE error was http 400 bad request. 回答1: I know you have asked question since a long time. I have an

Visual Studio debugging painfully slow when loading symbols

泪湿孤枕 提交于 2021-02-05 20:44:32
问题 I have an issue which is practically similar to Visual Studio debugging/loading very slow but I haven't managed to find a solution to such a problem. I have tried all what is described within that question and still, the symbol loading for the very first time is drastically slow. Similarly to the other question, when starting an MVC project, I get several lines within the Output panel which consist of something similar to: 'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft

Visual Studio debugging painfully slow when loading symbols

走远了吗. 提交于 2021-02-05 20:43:43
问题 I have an issue which is practically similar to Visual Studio debugging/loading very slow but I haven't managed to find a solution to such a problem. I have tried all what is described within that question and still, the symbol loading for the very first time is drastically slow. Similarly to the other question, when starting an MVC project, I get several lines within the Output panel which consist of something similar to: 'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft

WIX installer toolset - SQL Server and IIS express installation [closed]

一世执手 提交于 2021-02-05 11:47:30
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 9 months ago . Improve this question I have WIX installer with some custom UI screens out of which I have one custom UI screen with two radio buttons on it.i just want to install SQL Server Express and IIS Express depending radio button selection.How can i implement this functionality. I am using