Question: how to pass data from controller to view in .net core?
Answer: Different Ways To Pass Data From Controller To View In MVC — Sagar Jaybhay. There are different ways to pass data from controller to view in asp.net core mvc which are ViewData, ViewBag, and Strongly-typed view. Below is the first way to Pass Data From Controller To View in ASP.NET CORE .