cassini

ASP.NET application to serve multiple requests from a single process

倖福魔咒の 提交于 2019-12-18 09:13:43
问题 I am currently debugging some issue about this. We have a ASP.NET web application and I am debugging on Cassini. When I tried to use IE and send out the request to the server, some time (e.g. in about 20minutes) is needed to process and then send out the response. In case of multi-tab IE, I tried to send out the requests in different tab at about the same time to the same server but the response is handled only after the one of the response is sent out. If a new instance of IE is started and

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

Creating a standalone ASP.NET MVC application for Windows XP

天涯浪子 提交于 2019-12-13 12:41:11
问题 Is there a way to create an installable (ideally XCopy installable) version of an ASP.NET MVC application that will run in a standalone fashion on a Windows XP machine? I don't mind installing SQL Server Express for this purpose, so I guess the question boils down to this: Can the Cassini web server that comes with Visual Studio 2008 be bundled with the application? Or are there other options? NOTE: The installation is for demo purposes only, so there are no licensing problems. Also, I am

WCF service works in cassini, but not in IIS

走远了吗. 提交于 2019-12-13 03:37:19
问题 I created a service that has a database connection which is working fine in Cassini, when in copy the service to the inetpub all works fine except database calls, they always return this error: The server encountered an error processing the request. See server logs for more details." Now i have 2 questions, I can find server logs in my C:\inetpub\logs\LogFiles\W3SVC1 folder. But are these the ones mentioned because these do not seem to contain any usefull data. How is it possible that

What causes Cassini to load when I run a unit test [duplicate]

微笑、不失礼 提交于 2019-12-12 18:26:55
问题 This question already has answers here : How do you configure VS2008 to only open one webserver in a solution with multiple projects? (5 answers) Closed 6 years ago . I have a test project for a solution which involves an MVC web application and several class libraries. I am using mock objects and System.Web.Abstractions to avoid dependencies on ASP.NET intrinsic objects. But when I start my test project Cassini loads. If I immediately stop cassini all my tests still pass. So why does it load

Why is performance is slow when 2010 Cassini serves static files?

时光怂恿深爱的人放手 提交于 2019-12-12 18:09:24
问题 When running a site in debug mode on 2010 I get incredible slow performance when cassini serves static files. According to Firebug it takes about 1 seconds for each request to resolve on 20 2kb images. I haven't changed any settings, just have done a straight up install followed by converting a couple of projects. Rebooted the computer, reloaded IIS without solving anything. I did have a different problem which I asked about on stackoverflow.com: Exception when VS 2010 ASP.NET Development

VirtualPathProvider - disabling caching hangs server (IIS and Cassini)

北慕城南 提交于 2019-12-12 04:49:42
问题 I have a Virtual Path Provider on a Web site. It does exactly what I want it to do with the simple exception that it hangs the server. This usually only happens if too many requests come in at the roughly the same time. When I remove the caching overrides altogether the VPP and the server run fine but it caches content which must be dynamic. The method that I used to disable caching (which works) is simple: /* AppStart class */ public static void AppInitialize() { string strPath =

Any tutorials about how to create an ASP.NET MVC 2 website and run it against Local IIS Web Server (not use Cassini)

谁说我不能喝 提交于 2019-12-12 04:32:28
问题 does anyone have any good links/tutorials about how to create a simple ASP.NET MVC website, and have it run against a Local IIS7 Web Server, instead of the default Visual Studio Development Server (aka Cassini). Yes, i tried google, but i fail at getting some good keywords, etc. Cheers :) 回答1: Here are my steps: In IIS, Sites -> Add Web Site... Fill in the name, whatever you want. Set the physical path where your app is located. In the Host Name option, type for example local.test.com Hit OK

Cassini vs IIS Authentication Issue

↘锁芯ラ 提交于 2019-12-12 04:24:13
问题 I have a C# webservice in .net 4.0. The webservice will create a file on a UNC path. If I let the Cassini web server in visual studio do the authentication it works fine. But if I change the application to use IIS (Windows 7) then the file doesn't get created but no error is reported. If I change the location of the generated file to a local drive then Cassini and IIS both work fine, but only the Cassini web server will work for a UNC path. I can only guess at the issue being authentication

Authentication mode=“Forms” causing redirect in WCF service

眉间皱痕 提交于 2019-12-11 23:39:28
问题 I have a WCF end point inside my .NET 4.0 Web Application project. Using the VS2010 WCF Test Client, I can connect to the service correctly. However when I go to use the service I get a generic error message: The content type text/html; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: When I