webdev.webserver

Why would my ASP.NET project run on the development server when not among the startup projects?

我是研究僧i 提交于 2020-02-02 02:14:47
问题 I have a visual studio 2008 solution that includes an asp.net-hosted remoting project in c#. The solution also contains other c# projects and c++ projects . When debugging the interaction between my c# client and the asp.net server, the debugging is great. I can literally step into server calls and back out. However, there are times in which I need to focus my debugging on a standalone executable without the asp.net project . My trouble is that, after settings the startup project(s) to other

How can I stop Visual Studio running all my web services

安稳与你 提交于 2019-12-21 06:50:59
问题 How to stop Visual Studio 2008 from automatically running my web services. I have a large Visual Studio 2008 solution that contains a number of web app projects and also several wcf web services. I have set the solution to have only one startup project, yet when I right-click on the web app project and select "Debug" > "Start New Instance" there appear multiple WebDev.WebServer icons in the system tray. There is one for every web service in the project. Note : My web app project does have one

stop development server when i stop debugging

久未见 提交于 2019-12-18 14:16:22
问题 How can automatically I stop the development web server when I stop debugging in Visual Studio? 回答1: There is no way to get the Asp.Net development service to automatically stop when you hit the "stop debugging" button, as all that does is detach the debugger. You could however explicitly kill the process yourself (which would in turn cause VS to stop debugging). This question shows how you might do this in a Macro: Automatically stop/restart ASP.NET Development Server on Build Alternatively

How do I ensure my script file isn't cached when debugging a VS MVC website?

为君一笑 提交于 2019-12-12 03:24:36
问题 I came across a problem today where the only way for the web program I am developing showed the most recent copy of a modified script was to reboot the machine. It is a file bundled in the master layout page, in a script bundle. I tried CTRL-F5 and deleted all files (I think) in Internet Options of IE11 to ensure it wasn't using the cached copy, but that was not sufficient. I then suspected the cause is related to the fact I am using the VS Development server in VS2010. I tried killing WebDev

Does Visual Studio's built-in web server support HTTP PUT?

好久不见. 提交于 2019-12-11 07:25:20
问题 Does the web server built into Visual Studio 2010 (and earlier, but 2010 in particular), WebDev.WebServer.exe , support the HTTP verb PUT? If so, does it support it by default or does it require configuration? If it requires configuration, please describe how to configure it. 回答1: In Visual Studio 2010 at least, the Visual Studio Development Server web server does seem to support the HTTP PUT method. I previously answered that it does not, but the URL for which I was submitting requests with

Why does SimpleHTTPServer redirect to ?querystring/ when I request ?querystring?

ぐ巨炮叔叔 提交于 2019-12-10 01:12:10
问题 I like to use Python's SimpleHTTPServer for local development of all kinds of web applications which require loading resources via Ajax calls etc. When I use query strings in my URLs, the server always redirects to the same URL with a slash appended. For example /folder/?id=1 redirects to /folder/?id=1/ using a HTTP 301 response. I simply start the server using python -m SimpleHTTPServer . Any idea how I could get rid of the redirecting behaviour? This is Python 2.7.2. 回答1: The right way to

Connect remotely to WebDev.WebServer.exe

不想你离开。 提交于 2019-12-06 18:26:11
问题 Developing an ASP.Net website. Running IE8. Need to test website under IE6. MultipleIE6 install broken by IE8 install (can't type in textboxes, yes I deleted cache, yes I re-registered the dll's). Created VPC running IE6. Can't connect to host WebDev.WebServer.exe. Is there any way to configure WebDev.WebServer.exe so that it will accept remote connections? 回答1: The workaround for the way that webdev.webserver is crippled to refuse remote requests is to use a lightweight proxy server running

Stopping ASP WebDev and Selenium servers from command line

橙三吉。 提交于 2019-12-06 16:13:43
问题 I am introducing Selenium tests into my build for the first time. I figured that to do this in NAnt, I would have to start the WebDev server first: <exec program="path/to/WebDev.WebServer.exe" commandline="/port:51150 /path:path/to/website" failonerror="true" resultproperty="selenium.webdev.server.running" spawn="true"> </exec> Then start the Selenium server: <exec program="path/to/java.exe" commandline="-jar path/to/selenium-server.jar" failonerror="false" spawn="true"> </exec> Then run my

Connect remotely to WebDev.WebServer.exe

僤鯓⒐⒋嵵緔 提交于 2019-12-05 00:02:09
Developing an ASP.Net website. Running IE8. Need to test website under IE6. MultipleIE6 install broken by IE8 install (can't type in textboxes, yes I deleted cache, yes I re-registered the dll's). Created VPC running IE6. Can't connect to host WebDev.WebServer.exe. Is there any way to configure WebDev.WebServer.exe so that it will accept remote connections? The workaround for the way that webdev.webserver is crippled to refuse remote requests is to use a lightweight proxy server running on the same host as webdev.webserver. The remote browser then uses the proxy and its requests appear to

Why does SimpleHTTPServer redirect to ?querystring/ when I request ?querystring?

天大地大妈咪最大 提交于 2019-12-04 23:57:34
I like to use Python's SimpleHTTPServer for local development of all kinds of web applications which require loading resources via Ajax calls etc. When I use query strings in my URLs, the server always redirects to the same URL with a slash appended. For example /folder/?id=1 redirects to /folder/?id=1/ using a HTTP 301 response. I simply start the server using python -m SimpleHTTPServer . Any idea how I could get rid of the redirecting behaviour? This is Python 2.7.2. Pratik Mandrekar The right way to do this, to ensure that the query parameters remain as they should, is to make sure you do a