RecordVisitors 2021.5.30.1340
See the version list below for details.
dotnet add package RecordVisitors --version 2021.5.30.1340
NuGet\Install-Package RecordVisitors -Version 2021.5.30.1340
<PackageReference Include="RecordVisitors" Version="2021.5.30.1340" />
paket add RecordVisitors --version 2021.5.30.1340
#r "nuget: RecordVisitors, 2021.5.30.1340"
// Install RecordVisitors as a Cake Addin #addin nuget:?package=RecordVisitors&version=2021.5.30.1340 // Install RecordVisitors as a Cake Tool #tool nuget:?package=RecordVisitors&version=2021.5.30.1340
Record Visitors
Record Latest visitors for .NET Core
What it does
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
How to use it
Simple use
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
You can see also the classes documentation at https://ignatandrei.github.io/RecordVisitors/RecordVisitors/
Customizable uses
There are several interfaces that you can implement via DI
Name | Description |
---|---|
IRecordVisitorFunctions | how to indentify the user |
IUserRecorded | the user recorded interface to store data |
IUsersRepository | the connection to the storage( database, csv , others) |
The project comes with his implementation - however, you can add yours.
Contributors ✨
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!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net5.0
- Microsoft.EntityFrameworkCore.InMemory (>= 5.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2021.5.31.1755 | 411 | 5/31/2021 |
2021.5.30.1958 | 417 | 5/30/2021 |
2021.5.30.1340 | 406 | 5/30/2021 |
2021.5.29.1730 | 379 | 5/29/2021 |
1.0.0 | 380 | 5/29/2021 |