![]() |
VOOZH | about |
dotnet add package RecordVisitors --version 2021.5.31.1755
NuGet\Install-Package RecordVisitors -Version 2021.5.31.1755
<PackageReference Include="RecordVisitors" Version="2021.5.31.1755" />
<PackageVersion Include="RecordVisitors" Version="2021.5.31.1755" />Directory.Packages.props
<PackageReference Include="RecordVisitors" />Project file
paket add RecordVisitors --version 2021.5.31.1755
#r "nuget: RecordVisitors, 2021.5.31.1755"
#:package RecordVisitors@2021.5.31.1755
#addin nuget:?package=RecordVisitors&version=2021.5.31.1755Install as a Cake Addin
#tool nuget:?package=RecordVisitors&version=2021.5.31.1755Install as a Cake Tool
<img src="https://github.com/ignatandrei/RecordVisitors/raw/main/docs/rv.png" width="50px" height="50px" style="height: 50px; width:50px;" /> 👁 GitHub license
👁 BuildAndTest
👁 codecov
👁 Nuget
This project helps you to record what visitors have you on the site. It does not enforce authentication
You can see the latest 5 minutes visitors by browsing to /recordVisitors/AllVisitors5Min or /recordVisitors/AllVisitors/5
In Startup,
public void ConfigureServices(IServiceCollection services)
{
//code omitted
services.AddRecordVisitorsDefault();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
//code omitted
app.UseAuthentication();
//put AFTER authentication
app.UseRecordVisitors();
//not necessary
app.UseAuthorization();
//code omitted
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
endpoints.UseVisitors();
});
}
Then browse to /recordVisitors/AllVisitors5Min or /recordVisitors/AllVisitors/5
You can see also the history for the URL that the user have browsed : goto /recordVisitors/UserHistory/{userId}/{dateFrom:datetime:regex(\d{{4}}-\d{{2}}-\d{{2}})}/{dateTo?}
( to find the user id , you can also goto /recordVisitors/GetUserId/{userName})
You can see also the classes documentation at https://ignatandrei.github.io/RecordVisitors/RecordVisitors/
There are several interfaces that you can implement via DI
| Name | Description |
|---|---|
| how to indentify the user | |
| request of the user | |
| the user recorded interface to store data | |
| the connection to the storage( database, csv , others) |
The project comes with his implementation - however, you can add yours.
Thanks goes to these wonderful people (emoji key):
<table> <tr> <td align="center"><a href="http://msprogrammer.serviciipeweb.ro/"><img src="https://avatars.githubusercontent.com/u/153982?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andrei Ignat</b></sub></a><br /><a href="https://github.com/ignatandrei/RecordVisitors/commits?author=ignatandrei" title="Tests">⚠️</a> <a href="https://github.com/ignatandrei/RecordVisitors/commits?author=ignatandrei" title="Code">💻</a></td> </tr> </table>
This project follows the all-contributors specification. Contributions of any kind welcome!
The code in this project is licensed under MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 is compatible. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2021.5.31.1755 | 633 | 5/31/2021 |
| 2021.5.30.1958 | 612 | 5/30/2021 |
| 2021.5.30.1340 | 602 | 5/30/2021 |
| 2021.5.29.1730 | 581 | 5/29/2021 |
| 1.0.0 | 561 | 5/29/2021 |