Click here to Skip to main content
16,008,942 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# 8's 'switch syntax gives me the willies Pin
Eddy Vluggen28-May-19 11:15
professionalEddy Vluggen28-May-19 11:15 
QuestionHow to get the Count of webseit visitors using Razor ASP.Core ? Pin
Abdalla Ben Omran26-May-19 23:43
Abdalla Ben Omran26-May-19 23:43 
AnswerRe: How to get the Count of webseit visitors using Razor ASP.Core ? Pin
OriginalGriff27-May-19 0:43
mveOriginalGriff27-May-19 0:43 
GeneralRe: How to get the Count of webseit visitors using Razor ASP.Core ? Pin
Abdalla Ben Omran27-May-19 0:59
Abdalla Ben Omran27-May-19 0:59 
GeneralRe: How to get the Count of webseit visitors using Razor ASP.Core ? Pin
OriginalGriff27-May-19 1:05
mveOriginalGriff27-May-19 1:05 
GeneralRe: How to get the Count of webseit visitors using Razor ASP.Core ? Pin
Abdalla Ben Omran27-May-19 1:56
Abdalla Ben Omran27-May-19 1:56 
GeneralRe: How to get the Count of webseit visitors using Razor ASP.Core ? Pin
Gerry Schmitz27-May-19 7:58
mveGerry Schmitz27-May-19 7:58 
AnswerRe: How to get the Count of webseit visitors using Razor ASP.Core ? Pin
#realJSOP27-May-19 7:34
professional#realJSOP27-May-19 7:34 
This doesn't just automagically happen. Without saving each visit to a database, there's no way you'll be able to display it.

Here's another tidbit - the only person that cares about usage metrics are admins. Every-day users don't give a rat's ass about anything that doesn't directly affect their access to the web site.

So, this feature is for a very restricted/small set of users. If you're sure you really want to do this, plan ahead, and finger out and implement the mechanisms involved BEFORE coding the rest of the web site. I would recommend that you use the session ID so that you don't artificially add "connections" from the same user's session.

I had to do something similar recently, but for a single database that supports about 20 applications.

Lastly, you should have posted this in the Web developemnt forum instead of this one. It's too late now, but remember for the next question you'll inevitably have, to post it in the most appropriate forum.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

QuestionHow to replace every different char with another given char Pin
Member 1379031625-May-19 5:49
Member 1379031625-May-19 5:49 
AnswerRe: How to replace every different char with another given char Pin
Richard MacCutchan25-May-19 6:04
mveRichard MacCutchan25-May-19 6:04 
AnswerRe: How to replace every different char with another given char Pin
OriginalGriff25-May-19 6:34
mveOriginalGriff25-May-19 6:34 
JokeRe: How to replace every different char with another given char Pin
Eddy Vluggen25-May-19 10:05
professionalEddy Vluggen25-May-19 10:05 
AnswerRe: How to replace every different char with another given char Pin
Gerry Schmitz25-May-19 6:59
mveGerry Schmitz25-May-19 6:59 
AnswerRe: How to replace every different char with another given char Pin
BillWoodruff25-May-19 18:43
professionalBillWoodruff25-May-19 18:43 
GeneralRe: How to replace every different char with another given char Pin
Member 1379031625-May-19 22:33
Member 1379031625-May-19 22:33 
GeneralRe: How to replace every different char with another given char Pin
BillWoodruff25-May-19 23:29
professionalBillWoodruff25-May-19 23:29 
GeneralRe: How to replace every different char with another given char Pin
Member 1379031626-May-19 0:23
Member 1379031626-May-19 0:23 
GeneralRe: How to replace every different char with another given char Pin
BillWoodruff26-May-19 0:50
professionalBillWoodruff26-May-19 0:50 
GeneralRe: How to replace every different char with another given char Pin
Member 1379031626-May-19 1:52
Member 1379031626-May-19 1:52 
GeneralRe: How to replace every different char with another given char Pin
BillWoodruff26-May-19 18:57
professionalBillWoodruff26-May-19 18:57 
GeneralRe: How to replace every different char with another given char Pin
Member 1379031626-May-19 19:01
Member 1379031626-May-19 19:01 
GeneralRe: How to replace every different char with another given char Pin
BillWoodruff26-May-19 21:16
professionalBillWoodruff26-May-19 21:16 
GeneralRe: How to replace every different char with another given char Pin
Member 1379031627-May-19 0:33
Member 1379031627-May-19 0:33 
GeneralRe: How to replace every different char with another given char Pin
BillWoodruff27-May-19 0:46
professionalBillWoodruff27-May-19 0:46 
GeneralRe: How to replace every different char with another given char Pin
Member 1379031627-May-19 0:56
Member 1379031627-May-19 0:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.