Passing Between Controllers and Views using ASP.NET MVC

When passing data between controllers and views, the controller will get the first hit then loads it to the model. Most of the time, this is not what we want. We’d like to pass the model to the view if we want to display it, but how can we do that?

Our first choice would be to use session variables, view state or use ASP.NET session management object. The problem with these methods, is that they are not as efficient as we want it to be, and the scope. This article will explain how to pass controllers and views using ASP.NET MVC.

Read this blog to find out how.

Leave a Reply

Your email address will not be published. Required fields are marked *