Why is there no need for OnReconnected() for storing connections in Sql or Azure table storage for users...

Multi tool use
up vote
0
down vote
favorite
Saving connection status for Signal R users, according to the MS docs
show that when you use in-memory storage there is a 'OnReconnected()', but there isn't one for database or Azure table storage. Why? Can anyone explain!
public override Task OnReconnected()
{
string name = Context.User.Identity.Name;
if (!_connections.GetConnections(name).Contains(Context.ConnectionId))
{
_connections.Add(name, Context.ConnectionId);
}
return base.OnReconnected();
}
asp.net-mvc


add a comment |
up vote
0
down vote
favorite
Saving connection status for Signal R users, according to the MS docs
show that when you use in-memory storage there is a 'OnReconnected()', but there isn't one for database or Azure table storage. Why? Can anyone explain!
public override Task OnReconnected()
{
string name = Context.User.Identity.Name;
if (!_connections.GetConnections(name).Contains(Context.ConnectionId))
{
_connections.Add(name, Context.ConnectionId);
}
return base.OnReconnected();
}
asp.net-mvc


add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Saving connection status for Signal R users, according to the MS docs
show that when you use in-memory storage there is a 'OnReconnected()', but there isn't one for database or Azure table storage. Why? Can anyone explain!
public override Task OnReconnected()
{
string name = Context.User.Identity.Name;
if (!_connections.GetConnections(name).Contains(Context.ConnectionId))
{
_connections.Add(name, Context.ConnectionId);
}
return base.OnReconnected();
}
asp.net-mvc


Saving connection status for Signal R users, according to the MS docs
show that when you use in-memory storage there is a 'OnReconnected()', but there isn't one for database or Azure table storage. Why? Can anyone explain!
public override Task OnReconnected()
{
string name = Context.User.Identity.Name;
if (!_connections.GetConnections(name).Contains(Context.ConnectionId))
{
_connections.Add(name, Context.ConnectionId);
}
return base.OnReconnected();
}
asp.net-mvc


asp.net-mvc


asked Nov 5 at 3:28
user1186050
2,136933107
2,136933107
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53147930%2fwhy-is-there-no-need-for-onreconnected-for-storing-connections-in-sql-or-azure%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
aHI tZhjC,tySqHGUH0