What is your product version? 10 Latest
What is your product type (Angular or MVC)? ASP.net Core and Angular
What is product framework type (.net framework or .net core)? .NET5
What is ABP Framework version? The one that comes up with ASP.NET and Angular v10.
Our application has a home page, where we display a list of records. When user selects a record, and move to another link (via the left hand menu), the system gets and shows the data for that particular record. There are many menus and each menu opens up a form which shows the data for the selected record. In our MVC/jquery version, we use session to store the Id of the selected record, and when user moves between the pages we track that Id and return the data for the selected record only.
What is the best way to achieve the above behaviour in AspNetCore and Angular version? Is there a way that we store the RecordId on the client side and it gets send automatically to the server side App Service? Do you have a example code to help?
Thanks
3 Answer(s)
-
0
Hi,
I think the easiest solution is using
LocalStorageService
to store your records. -
0
@ismcagdas, are there any built-in methods in ASPNETZero that you use for using
LocalStorageService
? -
0
Hi learner29, Hope these contents can help you: https://github.com/grevory/angular-local-storage.