iis-express

Using Fiddler with IIS7 Express

懵懂的女人 提交于 2019-11-28 17:12:27
I am using IIS7 Express while developing my web application. I need to use fiddler to investigate an issue and cannot figure out how to configure things so I can get the HTTP stream. It seems that IIS7 express will only listen on localhost which means I cannot access the stream. EricLaw This has nothing to do with IIS7 Express and everything to do with the fact that you're using loopback traffic. Ref: https://www.fiddlerbook.com/fiddler/help/hookup.asp#Q-LocalTraffic Click Rules > Customize Rules. Update your Rules file like so: static function OnBeforeRequest(oSession:Fiddler.Session) { if

How do I change my IIS Express SSL certificate for one that will work with Chrome 58+?

可紊 提交于 2019-11-28 17:11:34
问题 Chrome 58+ drops support for CN in SSL certs, which means (at least on my machine) that browsing sites hosted in IIS Express throw constant security warnings. How do I change my IIS Express SSL certificate for one that will work with Chrom 58+? 回答1: The answer Chris gave solves the issue, thanks! Because my whole team had this issue, I created a little Powershell script to run the steps in Chris' answer. https://gist.github.com/camieleggermont/5b2971a96e80a658863106b21c479988 Running this in

Create SDDL failed, Error: 1332

删除回忆录丶 提交于 2019-11-28 17:08:24
I'm trying to use IIS Express with Visual Studio 2010 SP1. I'm following this tutorial . When I run this command. netsh http add urlacl url=https://Melnibone:443/ user=everyone I get this message: Create SDDL failed, Error: 1332 What's happening? Well, I have found the problem. I'm running Windows 7 in Spanish, so the right command is: netsh http add urlacl url=https://Melnibone:443/ user=todos Funny, isn't it? UPDATE : If you want, you can add a comment to this question telling us how it is in your language. For me, this issue was caused because there was already an HTTP reservation for the

Visual Studio 2015 Update 1 - No IIS Express Response While Debugging

旧时模样 提交于 2019-11-28 17:06:30
I have an error in my code development environment. I can't solve it and I can't work properly rightnow. Details: I'm working with "Visual Studio 2015 Update 1", "Windows 8.1 ( with latest updates )". I'm launching one webapi2(resource service) and two asp.net mvc applications(backend and frontend) in Visual Studio Start - debug mode. We are using IIS express not local IIS (inetmgr) because my team mates don't want to run solution in it. Here is the start action of one project: The problem is: When I (start)launch the Visual Studio for debug mode; Visual Studio opens the browser but

.vs\\config\\applicationhost.config in source control

萝らか妹 提交于 2019-11-28 16:08:00
Visual Studio 2015 adds a file named .vs\config\applicationhost.config to the root of a solution when an ASP.NET Web application project is created. Should this file be checked in to source control or should it be ignored (so that each user will have their own local copy)? tugberk You should ignore .vs folder all together . However, there are cases where you want to persist some config on your applicationhost.config file such as registering FQDN as explained here . For this type of config, you want to use the global application host file where you can persist your changes. In a classic Web

Exposing localhost to the internet via tunneling (using ngrok): HTTP error 400: bad request; invalid hostname

*爱你&永不变心* 提交于 2019-11-28 14:56:32
From previous versions of the question, there is this: Browse website with ip address rather than localhost , which outlines pretty much what I've done so far...I've got the local IP working. Then I found ngrok, and apparently I don't need to connect via the IP. What I am trying to do is expose my website running on localhost to the internet. I found a tool that will do this: ngrok. Running the website in visual studio, the website starts up on localhost/port#. I run the command "ngrok http port#" in the command line. Everything seems to start up fine. I generate a couple of URLs, and the

ASP.NET Dev Server (Cassini), IIS Express and multiple threads

大憨熊 提交于 2019-11-28 14:04:56
I can't seem to find any information on this anywhere. Either it's my imagination or the ASP.NET Dev Server (Cassini) cannot handle multiple threads (e.g. multiple requests). Is this correct? Does IIS Express handle multiple threads? Yes, functionally speaking, cassini processes one request at a time. IIS Express is an almost full IIS implementation and will provide expected performance. 来源: https://stackoverflow.com/questions/3261144/asp-net-dev-server-cassini-iis-express-and-multiple-threads

What is wrong with this HttpWebRequest/HttpWebResponse code (why is it considered a “bad” request (400))? [closed]

旧城冷巷雨未停 提交于 2019-11-28 13:05:55
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . Based on the info from this MS link, I've got the following code in a Windows CE / Compact Framework app which calls a REST method in a Web API server app: public static string SendXMLFile2(string uri, string data) { //TODO: Remove below after testing String s = data.Substring(0, 128); MessageBox

Automatically Kill IIS Express Process After Debugging (VS Express 2013 Web)

杀马特。学长 韩版系。学妹 提交于 2019-11-28 11:13:34
I'm developing an ASP.NET (Razor v2) Web Site in Visual Studio 2013 Express for Web, so when I run the site to debug, VS automatically starts up an IIS Express process. When I stop debugging using the VS "Stop Debugging" button, the IIS Express System Tray and IIS Express Worker Process continue running, even after VS detaches. (And, I suspect, carrying a bad state from one run to the next, but that's a different question entirely.) Is there a VS option or project setting somewhere that I can set to automatically kill this process once I hit the "Stop Debugging" control in VS? Yes, add the

IIS Express 7.5 not processing requests concurrently

假装没事ソ 提交于 2019-11-28 09:04:39
Just installed IIS Express 7.5 and am trying to debug a concurrency issue in an ASP.NET MVC 3 application. I don't however seem to be able to get the web server to process requests concurrently, they just get executed one by one. I'm running Apache Bench to simulate a concurrent load but it's just getting queued up. Anybody got any ideas? Thanks. If you are using sessions and reusing the Session ID for your concurrent requests, ASP.NET will queue the requests because it needs an exclusive lock on the session for each request. Taken from http://msdn.microsoft.com/en-us/library/ms178581.aspx