Hi have some data to print in the client, the data is dictionary of <string,string>
while userCountSpan.textContent = message; return to the screen `object object' and not the data in the dictonary. why?
JavaScript:
document.addEventListener('DOMContentLoaded', function () {
function bindConnectionMessage(connection) {
var messageCallback = function (message) {
console.log('message' + message);
if (!message) return;
var userCountSpan = document.getElementById('users');
userCountSpan.textContent = message;
};
connection.on("updateCount", messageCallback);
connection.onclose(onConnectionError);
}

userCountSpan.textContent = message;don't you just want to pass a count there?Users.Count