iis-express

Having problems using IIS Express SSL with VS2012 and a Team

荒凉一梦 提交于 2019-12-03 09:32:15
问题 The Problem: ADFS2 requires that a RP Trust uses https. The RP trust being https://localhost:44310/PAWS/ . With that said, I need to have IIS Express use SSL locally. So, when I configure my ASP.NET MVC4 project to use IIS Express. When I check this in to TFS (source control) and another developer on the team gets latest. The project will not load for them. Visual Studio 2012 will display the following error messages when opening the solution: This is because IIS Express wont automatically

Visual Studio 2015 / IISExpress change SSL port

人走茶凉 提交于 2019-12-03 08:15:01
问题 I have 2 projects, a Web API and a client angularJS project (that was created using the Empty Project template). My client has asked me to force SSL, so for the Web API I created a filterAttribute. Anyway, I changed both projects to be SSL Enabled. The problem is, both projects show their SSL URL to be http://localhost:44300 which obviously won't work. So I decided to change the applicationhost.config file. For Visual Studio 2015, this appears to be in the .vs folder. When I change it in

Visual Studio 2017 Doesn't Run Core Apps with IIS Express

冷暖自知 提交于 2019-12-03 08:11:38
I am having an issue with Visual Studio 2017 RC where when I run an MVC and/or WebAPI app using IIS Express the app never actually runs. Instead I get stuck with a page in the browser indicating it is trying to attach and from there it goes no further. If I open another tab/window in the browser and try to navigate directly to the launch URL, it just spins forever. Likewise when I run this using the dot net run command, the app launches and runs fine. There do not seem to be any errors that I can see, just that the browser spins indefinitely without actually ever loading the page/endpoint.

Accessing IIS 7.5 Express from another machine on the intranet

你。 提交于 2019-12-03 06:38:21
I am running on VS 2010 Pro with SP1 Beta and IIS 7.5 Express. Everything is working fine, but I am trying to access the site from another machine on our intranet and it does not seem to see anything, I simply get a: "Oops! This link appears to be broken." error in Chrome. Even if I am on the machine and type in: 123.45.6.8/SiteName instead of: localhost/SiteName (which works), I get the error. Can this be done with IIS 7.5 Express? Thank you. IIS Express by default only supports local connections - according to a statement by ScottGu, there should be an option to explicitly enable remote

Visual Studio 2015 - ASP.Net application won’t start until restarting Visual Studio

≯℡__Kan透↙ 提交于 2019-12-03 05:55:21
问题 Sometimes when I try to start a ASP.Net application (debugging) the application will not start. Visual studio looks like the application is running, the status bar changes its color to orange. A Browser opens and is loading “forever”. IIS Express is running and the site gets displayed in the context menu of the IIS try application. I do not get any exception; the application just won’t start. I tried to stop debugging and manually stopped IIS Express and started debugging again, but it didn’t

Is it possible to use custom host headers / bindings with IIS7 Express?

落爺英雄遲暮 提交于 2019-12-03 05:54:57
问题 I'm trying to configure a new ASP.NET MVC3 using IIS7 express (on my local development machine) to use a custom domain name . eg. my local dev machine. kick open my web browser goto http://dev.www.mydomain.com my visual studio mvc project kicks in I've hacked my hosts file to include (yes, i saved the file .. which also meant i had to have admin rights enabled ... 127.0.0.1 dev.www.mydomain.com I just can't figure out how to use IIS7 express to get configured to do this. I went to MVC Project

How to enable Directory browsing by default on IIS Express

时光怂恿深爱的人放手 提交于 2019-12-03 05:06:22
问题 Cassini (Visual Studio development web server) by default enables directory browsing, how can I enable directory browsing on IIS Express by default? (I don't want to have a separate configuration for each project I have? 回答1: You should be able to use AppCmd.exe to manage IIS Express. Try this: appcmd set config /section:directoryBrowse /enabled:true More info on AppCmd.exe here: http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe 回答2: Go to Web.config file of your project. Add

How to set Allow Parent Paths in IIS Express Config

蓝咒 提交于 2019-12-03 04:27:32
I'm assuming this is possible in the applicationhost.config file but I did not see a parent paths setting. How do you allow parent paths for a specific site running under IIS Express? Browse to C:\Documents and Settings\$your user name$\My Documents\IISExpress\config Open applicationHost.config Find the <system.webServer> section Change the <asp> section to the following… By default it only had the cache and empty limits bits but feel free to adjust any parameters you don't want. <asp enableParentPaths="true" bufferingOn="true" errorsToNTLog="true" appAllowDebugging="true" appAllowClientDebug=

Slow startup with IIS Express

拥有回忆 提交于 2019-12-03 04:27:13
I have a problem with my MVC application and startup. Every time I make a change and one the app its take a long time to start up. I have about 100 lines with ''iisexpress.exe' (CLR v4.0.30319:' Do I have to start iisexpress every time I run my application? After disabling logging, I found significant improvement Just delete following in Program Files \IISexpress\iisexpress.config OR .vs\config\applicationhost.config <add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" /> <add name="HttpLoggingModule" lockItem="true" /> Martin Belcher - Eigo I had this same problem, tested with VS2010

iisexpress hangs when starting MVC project

非 Y 不嫁゛ 提交于 2019-12-03 03:51:19
Given Visual Studio 2015 Update 1 Target Framework .NET Framework 4.5.2 System.Web.Mvc version 5.2.2.0 When I start my website project (F5) Then The website loads in the web browser and the web browser keeps loading. Tried and no difference: CTRL+F5 (start without debugging) Disables browser link Disabled anti-virus Start with Chrome Workaround: kill iisexpress.exe then it works for one debugging session What Process Monitor tells me when I view iisexpress.exe activity: There's an infinite loop of the following registry activity: 13:04:58,7285089 iisexpress.exe 11816 RegQueryKey HKLM SUCCESS