iis-express

Activating Compression (esp. Dynamic Compression) with IIS-Express

帅比萌擦擦* 提交于 2019-12-21 11:55:20
问题 Is it somehow possible to enable dynamic compression (for WCF-Services) on an IIS-Express? It's a development environment issue so I cannot use the full version: but I need to figure out how it would behave with compression. 回答1: Go to IIS Express installation folder (%programfiles%\IIS Express) and run the following command to enable dynamic compression. appcmd set config -section:urlCompression /doDynamicCompression:true Then add mime-types. Run following commands to add wildcard entries or

How do I stop IIS from caching any files, ever, under any circumstances?

杀马特。学长 韩版系。学妹 提交于 2019-12-21 07:29:12
问题 I do some web development for work and the biggest hit to my productivity comes from IIS. It caches files that will not update even when they are changed, unless I restart IIS. Specifically, I am referring to html, js, and css files. This problem forces me to stop and start my web application constantly. Since I have Windows 7 I believe I have ISS 7.5. I am using IIS Express. This is so frustrating that I'd prefer IIS to never cache anything, ever. I am fine with a solution that stops all

How to solve “Microsoft Visual Studio (VS)” error “Unable to launch the IIS Express Web server”

为君一笑 提交于 2019-12-21 05:16:10
问题 PROBLEM In some cases "Microsoft Visual Studio (VS)" when you use "Microsoft Internet Information Services Express (IIS)" and you have attached web site project to IIS after run Build shown this error message Unable to launch the IIS Express Web server . How can I solve it if exception message does not shown nothing more? 回答1: PRE-REQUIREMENTS The best step is catch what exactly is going on. Download and use for it "Sysinternals Process Monitor (PM)". Run PM and create filter "'Process Name'

iis express running site without debug (ie running all the time while vs is open)

佐手、 提交于 2019-12-21 05:00:41
问题 My app for ages would keep runing even when I wasn't debugging in VS 2010. Now it only runs when debugging. It was really nice for it to run even when not debugging before? Any ideas why this might have stopped, I miss it working nicely? 回答1: I have noticed that in VS 2013 that if you uncheck 'Enable Edit and Continue' that it will work. 回答2: You can start it manually from the command line, either by site name or application pool: http://learn.iis.net/page.aspx/870/running-iis-express-from

HTTPS stopped working with IIS express

白昼怎懂夜的黑 提交于 2019-12-21 03:27:09
问题 I went through this whole procedure http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx a couple weeks ago and got https working on port 443 of all my IPs. The machine was rebooted a few days ago and I tried accessing the site again today (launched via VS2010, IIS express tray shows site running on 80 and 443). The http is working fine but https just says "internet explorer cannot display the page". I can see with netstat that the system process is

iisexpress hangs when starting MVC project

眉间皱痕 提交于 2019-12-20 14:46:43
问题 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

iisexpress hangs when starting MVC project

空扰寡人 提交于 2019-12-20 14:46:32
问题 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

Windows Authentication not working in IIS Express, debugging with Visual studio 2013, Windows 8

十年热恋 提交于 2019-12-20 10:30:03
问题 I just upgraded my application from Visual studio 2012 to Visual studio 2013. My windows authentication is not working any more. It is giving me below error. HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. In visual studio there is option to select authentication from website properties itself. So I disabled anonymous access and enable windows authentication but it is asking me for username and password as below popup. Even if I

applicationhost.config file path in IIS 7, 7.5, 8, 8.5 and IIS 10?

末鹿安然 提交于 2019-12-20 09:47:34
问题 Anyone please explain me the applicationhost.config file location in the different mentioned IIS versions. Please mention the exact locations in each iis version. Apt answers will be appreciated. 回答1: For the "big" IIS versions since IIS 7, the location is always the same: %windir%\System32\inetsrv\config\applicationHost.config For IIS Express there is one per user, the default location is: %USERPROFILE%\Documents\IISExpress\config\applicationhost.config again it's the same for all versions.

IISExpress cannot find ssl page running localhost with Visual Studio 2013

萝らか妹 提交于 2019-12-20 09:11:14
问题 When I access the site as http://localhost:26049, the site runs fine. If I try to access the site with https://localhost:44319, I get page not found. This is my project properties: This is from my IISExpress application config: <site name="MVC Authentication" id="2"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="F:\Projects\MySite\Test" /> </application> <bindings> <binding protocol="https" bindingInformation="*:44319:localhost" />