I\'m developing a web application using Asp.net core 2.0 with razor pages. I\'m creating an object with some data and want to send that object to another page.
Actua
You can use the TempData decorator. It is available as a decorator or as a dictionary and its purpose is to keep an object between requests. In the background, the value is stored in a cookie or in the user session, at your choice. You can see more details about its use in the links below:
TempData at Microsoft Documentation
TempData in Learn Razor Pages (more practical)