iis-7

IIS and HTTP pipelining, processing requests in parallel

我们两清 提交于 2020-02-25 13:38:38
问题 Is it possible to configure IIS in such a way that it can handle multiple HTTP requests that arrive on the same TCP socket in HTTP pipelining mode in parallel? We have a problem where multiple requests are done by a web client in a single TCP socket, using HTTP pipelining. The client basically sends let's say 10 requests at once, and then the server sends 10 responses (in the same order as the requests). Our server takes quite some time for each request, mostly waiting for external IO. It

IIS and HTTP pipelining, processing requests in parallel

走远了吗. 提交于 2020-02-25 13:38:26
问题 Is it possible to configure IIS in such a way that it can handle multiple HTTP requests that arrive on the same TCP socket in HTTP pipelining mode in parallel? We have a problem where multiple requests are done by a web client in a single TCP socket, using HTTP pipelining. The client basically sends let's say 10 requests at once, and then the server sends 10 responses (in the same order as the requests). Our server takes quite some time for each request, mostly waiting for external IO. It

How to get “Browse” URL for web site in IIS using C#?

ぃ、小莉子 提交于 2020-02-15 07:06:44
问题 Say, I have the "Site Name" web site in the IIS. I can access most of its functions via the ServerManager class from my C# code. What I can't seem to figure out is how to get the "Browse" URL for it, like I showed on the screenshot below? If I go to Manage Website -> Browse in the IIS Manager , it will launch the IE with a URL as such: http://localhost:8080/app1/Default.aspx So I need to get a URL like that. PS. Note that I don't need to launch the site itself. 回答1: Try this: using (Microsoft

How do I process .asp extensions using the .Net handler?

被刻印的时光 ゝ 提交于 2020-01-30 10:53:17
问题 I have an older classic ASP website that I am migrating over to IIS7.5. I don't feel like installing classic ASP on the server, and so I just want the .asp files to be treated as if they were .aspx files. How do I go about doing this in IIS7.5? EDIT: To clarify, I am NOT asking how to get classic ASP code to work under .Net. I am just asking how to map the .ASP file extension to be handled by the .net runtime. I will upgrade the code in the .asp files to .net. EDIT: I gave up and ended up

IIS Express website works fine, not in IIS

此生再无相见时 提交于 2020-01-25 11:59:06
问题 I have an application that uses IIS 7.5X and Visual Studio 2013 and it works fine in IIS Express. I have had to make changes to allow authentication and allow 32-bit but it still doesn't work on IIS, only IIS express. I have tried to use the publish in VS2013, but that doesn't seem to work. Is there anyway I can find the settings used by IIS express so I can set IIS up so it works the same? Where do I setup logs? Thanks in advance for not closing this question! Also, when I run as IISExpress

Compile Sass files in IIS7

坚强是说给别人听的谎言 提交于 2020-01-25 04:31:06
问题 I have encountered a problem in compiling Sass (.scss) files on IIS7. Is there any simple way to invoke the compilation? I have tried to add the MIME type but it wasn't working. Do I have to install something additional to IIS server? I have also installed Mindscape instead of SassyStudio ad-on to Visual Studio and it did help because of dynamic .scss compilation. As you save .scss file, Mindscape generates .css file. But is there a posibility to run such compilation during deployment or on

Where does IIS store user created sessions?

时光毁灭记忆、已成空白 提交于 2020-01-25 01:01:53
问题 From this article http://www.codeproject.com/Articles/5892/Session-Management-in-ASP-NET i have understood that session is stored in a browser in cookie (lets just assume Cookieless=false) and how it is used for future communication to overcome stateless nature of the web.I have one doubt - Where are sessions created by code (e.g. Session["abc"]="test data") stored? Are they only stored on server or they are also stored in cookies(which is highly unlikely)?If they are stored on server,where

HTML appending/replacing contents of downloaded file

蓝咒 提交于 2020-01-25 00:30:36
问题 This is puzzling me greatly as the code works in development environment and deployed to IIS locally. However when deployed onto our test server the contents of a plain text download is replaced with the page postback. The code to generate; Protected Sub _uiDownloadLBtn_Click(ByVal sender As Object, ByVal e As EventArgs) Handles _uiDownloadLBtn.Click Try 'respond with the export details RespondWithFile(ExportFilePath) Catch ex As Exception 'log the exception _logger.ErrorException("There was

Programmatically restart IIS7 (C#)

耗尽温柔 提交于 2020-01-24 13:29:05
问题 Is it possible to restart IIS7 using C#? If so, how? 回答1: System.Diagnostics.Process.Start(@"C:\windows\system32\iisreset.exe"); should do the trick :) Dan 回答2: Just execute the command-line option using System.Diagnostics.Process.Start(); 来源: https://stackoverflow.com/questions/1315654/programmatically-restart-iis7-c

.NET using wrong 2.0 machine.config instead of 4.0

谁都会走 提交于 2020-01-24 09:18:21
问题 I have a .NET web application install on IIS 7.0 Windows Server 2008 R1. I have installed .NET 4.0 on the server and configured an app pool for 4.0 and integrated pipeline. For some reason I am getting the following error: (500.19) The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration. It appears that it is using the wrong machine.config file from V2.0 .NET rather than the machine.config file which has defined the system.web.extensions