RecordVisitors–history of urls–part 8
Extending scope :why not record also the history ? So – again, let the programmer choose what he wants to store https://record-visitors.readthedocs.io/en/latest/RecordVisitors/IRecordVisitorFunctions/methods/GetUrl/ and where to store : https://record-visitors.readthedocs.io/en/latest/RecordVisitors/IUsersRepository/methods/SaveHistory/ .
Created also 2 new endpoints :
/recordVisitors/GetUserId/{userName}
/recordVisitors/UserHistory/{userId}/{dateFrom:datetime:regex(\d{{4}}-\d{{2}}-\d{{2}})}/{dateTo?}
Make a default implementation of having the URL – does not start with api/ , does not contain api .
Make also documentation
Upload the package on Nuget : https://www.nuget.org/packages/RecordVisitors
It appears simple, but there were 3 hours to implement all
Leave a Reply