我无法让xsockets.net windows服务工作。VS2012Express版本中建立的,
当试图在windows服务对话中启动服务时,它提供了一个对话:"The XSockets.NETThe Windows event viewer just lists: "The XSockets.NET service entered the stopped state."
我使用的是运行在mono 3.2.4和浏览器上的javascript客户端版本3.0.2的xsockets服务器版本2.6.1.0。客户端可以将通知发布到服务器,而不会出现任何问题。但是没有收到订阅。public class ChatController : XSocketController public void Chat(ITextArgs textArgs) //this.Send(textArgs); <-- in this case calling client is notified
th
在XSockets控制器中,我需要调用Api (程序集),它在其方法上具有特定角色的PrincipalPermissions属性,并且不知道它正在运行的主机(也可以在批处理过程中调用,WebApi控制器等等)。据我所知,XScockets将标识/主体存储在自己的ConnectionContext对象中,以及控制器OnAuthorization方法使用的自定义授权属性中。我想到了两个选择: var
我正在使用WebSockets开发一个站点,我使用XSockets.NET来实现整个WebSockets服务器。7532", new HashSet<string> { "*" }));另外,整个XSockets.NET托管在Windows中,我使用开箱即用的XSockets.NET JavaScript API连接到XSocket.NET控制器:
// This