It will be interesting to have a middleware of .NET Core that can record the name of the visitors in order to see what are the latest visitors of your site .
What will be the uses ?
- See when the people has visiting your site
- See the latest visitors
- If you have a site for mobile and a site for web,prevent multiple logins
- Fun 😉
What characteristics should have ?
- Record visitors
- Make an endpoint – recordVisitors/AllVisitors5Min to see the latest visitors as JSON
- Let the programmer choose how to obtain the name of the visitor ( via Forms,,AD Identity,JWT, Azure,OAUTH…)
- Choose a default to work fast
- Let the programmer choose his variant of persisting ( SqlServer,Mongo,Sqlite,CSV… ) where to be recorded
- Choose a default to work fast
- Make as an event to intercept and add additional details
Now let’s see what is for the programming!
Leave a Reply