asp.net-development-serv

Detect development server in asp.net (Visual Studio)

回眸只為那壹抹淺笑 提交于 2020-03-01 02:04:42
问题 Can you programatically detect if the Development server in Visual Studio is used instead of IIS? 回答1: In Visual Studio 2010, Request.ServerVariables("SERVER_SOFTWARE") will return Nothing (null) for the Development Server, and "Microsoft-IIS/7.5" for my Win7 Pro IIS/VS2010 installation. 来源: https://stackoverflow.com/questions/3500700/detect-development-server-in-asp-net-visual-studio

ASP.NET Development Server is not updating changes to markup/code

戏子无情 提交于 2020-01-02 03:59:45
问题 I've been working on the ASP.NET Development Server recently (on an MVC project and I'm finding that it is inconsistent in how it serves the changes I make to my code. For example, I make a change to the C#/HTML/CSS/JS in the dev environment and run the page, and the change appears on the screen. But if I edit the HTML again and run the page again, the new change doesn't appear. Even ctrl+F5 doesn't do it. I have to stop the web server and run the app again for the changes to update. Has

In which circumstances are suitable for Web Application or Web Site in Visual Studio?

这一生的挚爱 提交于 2019-12-24 09:53:53
问题 I have one project which has APP_CODE folder and runs with Windows Authentication . 1) I created Web Site and added the files of project but I couldn't run with windows authentication 2) Then I created web application project and check "Use Visual Studio Development Server". But now, I couldn't get access to the classes which are in App_Code folder. There is no choice to select Visual Studio Development Server when I use Web Site project! Questions: Why can't I add APP_CODE folder to the Web

What reason would Visual Studio ASP.NET Development Server start returning HTTP 503 errors?

北城余情 提交于 2019-12-22 08:38:24
问题 I've been putting together a website for a few weeks, most of the routine has just been creating new web forms with master pages. I've been using the ASP.NET Development Server to view my additions to the project as I've gone along, but today (seemingly out of nowhere) the server has been returning HTTP 503 errors. I tried restarting VS, then restarting workstation, then making sure that "bypass proxy for local addresses" was enabled on my workstation, but to no avail. Has anyone encountered

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

我的未来我决定 提交于 2019-12-17 20:54:15
问题 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? 回答1: 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

What is the difference between IIS server and development server provided by Visual studio?

£可爱£侵袭症+ 提交于 2019-12-12 14:14:01
问题 Can anyone please tell me the difference between IIS Server and Development server provided by Visual Studio. 回答1: Here is a few links to read up on :-) Core Differences Between IIS and the ASP.NET Development Server ASP.NET Development Server or Localhost IIS? What are the (dis)advantages of using Cassini instead of IIS? I don't know why your looking into this but you might want to take a look at IIS Express - Introducing IIS Express 回答2: There are MANY differences, some of them: Local

What reason would Visual Studio ASP.NET Development Server start returning HTTP 503 errors?

微笑、不失礼 提交于 2019-12-05 11:59:30
I've been putting together a website for a few weeks, most of the routine has just been creating new web forms with master pages. I've been using the ASP.NET Development Server to view my additions to the project as I've gone along, but today (seemingly out of nowhere) the server has been returning HTTP 503 errors. I tried restarting VS, then restarting workstation, then making sure that "bypass proxy for local addresses" was enabled on my workstation, but to no avail. Has anyone encountered this behavior before or does anyone have suggestions on logs I can review to investigate? Thanks in

ASP.NET Development Server is not updating changes to markup/code

不问归期 提交于 2019-12-05 06:42:40
I've been working on the ASP.NET Development Server recently (on an MVC project and I'm finding that it is inconsistent in how it serves the changes I make to my code. For example, I make a change to the C#/HTML/CSS/JS in the dev environment and run the page, and the change appears on the screen. But if I edit the HTML again and run the page again, the new change doesn't appear. Even ctrl+F5 doesn't do it. I have to stop the web server and run the app again for the changes to update. Has anyone else experienced this? Is there a way to sort this problem out? If I'm working in IIS and I change

How do I use Fiddler to listen to the asp.net development server (i.e. cassini)?

六眼飞鱼酱① 提交于 2019-12-01 18:30:20
问题 I am attempting to debug a (RESTful) WCF app using Fiddler. I run my project via VS IDE - which launches my app in the ASP.NET Development Server aka Cassini. I then launch Fiddler and in the Request Builder tab enter the following: "http://localhost:1066/GeneralService/sections/summary" with GET as the http method. Fiddler responds with "[Fiddler] Connection to localhost failed. Exception Text: No connection could be made because the target machine actively refused it ::1:1066 " Is there

How do I use Fiddler to listen to the asp.net development server (i.e. cassini)?

时光怂恿深爱的人放手 提交于 2019-12-01 18:18:41
I am attempting to debug a (RESTful) WCF app using Fiddler. I run my project via VS IDE - which launches my app in the ASP.NET Development Server aka Cassini. I then launch Fiddler and in the Request Builder tab enter the following: " http://localhost:1066/GeneralService/sections/summary " with GET as the http method. Fiddler responds with "[Fiddler] Connection to localhost failed. Exception Text: No connection could be made because the target machine actively refused it ::1:1066 " Is there some way for me to debug an app running on Cassini? Thanks, Steve Change the url to http://ipv4.fiddler