cassini-dev

How to use CassiniDev.Lib without the timeout?

 ̄綄美尐妖づ 提交于 2019-12-12 02:54:07
问题 I am using the CassiniDev.Lib4 DLL and recognized that the server stops responding after a certain amount of time. Looking at the code in CassiniServer.cs I could see that a timeout of 60 seconds is set: _server = new Server(port, virtualPath, applicationPath, ipAddress, hostname, 60000); How can I avoid any timeout of the server? And why is there a timeout? EDIT: Fiddler tells me: HTTP/1.1 502 Fiddler - Connection Failed Content-Type: text/html; charset=UTF-8 Connection: close Timestamp: 09

Incorrect windows identity in Cassini-Dev when hosted in Windows Service

耗尽温柔 提交于 2019-12-12 02:38:41
问题 I am hosting CassiniDev 4.0 in my windows service running an MVC 3.0 configuration site for my service. I have the web.config setup to use windows authentication. When I look at the HttpContext.User in the web site, it shows the identity that the service is running under, not the itentity of the user making the request. The User.AuthenticationType is NTLM, which is correct, BTW. This seems pretty clearly to be a bug, but wanted to run it by the community to see if there is some configuration

SecurityIdentifiers in Cassini-dev's NTLM authentication

偶尔善良 提交于 2019-12-11 00:54:46
问题 In this block of code in Cassini-dev's NTLM authentication class, calls made to SECUR32.DLL (via Interop ) are made to authenticate the base64 encoded data in an HTTP request's Authorization headers. This makes sense, when both AcceptSecurityContext() and QuerySecurityContextToken() return 0 , the client has been authorized. At the end, the security context token has a SecurityIdentifier extracted from it (the _sid variable). (A bit about common Security IDs ) Here is the relevant section of

stop cassiniDev after stop testing

*爱你&永不变心* 提交于 2019-12-08 04:13:34
问题 i run cassiniDev from cmd C:\CruiseControl.NET-1.5.0.6237\cassinidev.3.5.0.5.src-repack\CassiniDev\bin\Debug\CassiniDev.exe /a:D:_CCNET\proj /pm:Specific /p:3811 and then start debugging and testing. How can i stop cassiniDev from CMD after i finished testing. I try with cassiniDev_console but console not working so i am using cassiniDev from console. 回答1: First, glad to see someone is getting use out of CassiniDev, and to answer your question: You can start it with the timeout param: /t:[ms

stop cassiniDev after stop testing

限于喜欢 提交于 2019-12-07 15:36:34
i run cassiniDev from cmd C:\CruiseControl.NET-1.5.0.6237\cassinidev.3.5.0.5.src-repack\CassiniDev\bin\Debug\CassiniDev.exe /a:D:_CCNET\proj /pm:Specific /p:3811 and then start debugging and testing. How can i stop cassiniDev from CMD after i finished testing. I try with cassiniDev_console but console not working so i am using cassiniDev from console. First, glad to see someone is getting use out of CassiniDev, and to answer your question: You can start it with the timeout param: /t:[ms till kill] C:\CruiseControl.NET-1.5.0.6237\cassinidev.3.5.0.5.src-repack\CassiniDev\bin\Debug\CassiniDev.exe

stop cassiniDev after stop testing

我们两清 提交于 2019-12-07 15:35:39
i run cassiniDev from cmd C:\CruiseControl.NET-1.5.0.6237\cassinidev.3.5.0.5.src-repack\CassiniDev\bin\Debug\CassiniDev.exe /a:D:_CCNET\proj /pm:Specific /p:3811 and then start debugging and testing. How can i stop cassiniDev from CMD after i finished testing. I try with cassiniDev_console but console not working so i am using cassiniDev from console. First, glad to see someone is getting use out of CassiniDev, and to answer your question: You can start it with the timeout param: /t:[ms till kill] C:\CruiseControl.NET-1.5.0.6237\cassinidev.3.5.0.5.src-repack\CassiniDev\bin\Debug\CassiniDev.exe