Thursday 15 April 2010

windows authentication - Dot Net Client and IIS hosted SignalR with Win auth -


Is there a way to configure the NIT client so that it works with an IIS hosted SingleRail which uses Windows authentication do?

If I disable window authentication, it works, but this is not an option

Setting up a connection. Credentials = Credential Cash The default credential does not help.

code

  public eventprocess (event aggregator event aggregator, string hub url) {typeFinder = new typefender & lt; TProxyEvent & gt; (); SubscriptionQueue = New List & amp; Lt; EventSubscription QueueItem & gt; (); This.eventAggregator = eventAggregator; Var Connection = New HubConnection (hubUrl); Connection.Credentials = Credential Cache. Default credentials; Proxy = connection.CreateHubProxy ("EventAggregatorProxyHub"); Connection.Start () Continue (o = & gt; {SendQueued Subscriptions (); Proxy.Object & gt; ("onEvent", OnEvent);}); }   

after proceeding, proceed with the trigger directly and when the first time subscribes, I can send data

before it starts The method should be called. If I put a clock on the default credentials, then I can see that the username, domain, and password are all strings. Its a standard console program, the Environment.USA username gives

Sure, the connection set Credentials = Credential Cache. Default credentials More information about credentials here.

No comments:

Post a Comment