How do return Page with a model in ASP.Net Core Razor Page
问题 How to I Redirect to a Page and Passing its model? Just like what we have in MVC return View(model: MyModel); What i have tried: return RedirectToPage("/Notify", new { Model = notifierVM }); Note: the Page I want to return has no PageModel behind 回答1: MVC has built in dictionary object TempData . You can serialize your model, put JSON string into TempData and then on the redirected action you can get and deserialize JSON string into object. public ActionResult Create(Booking item) { TempData[