How to manage states in MVC Application ?
For state management we can use viewbag, viewdata, tempdata and session
We are using viewbag and viewdata for move the data from Controller to View and if we want move data one action to another action then we use Session and Tempdata
We are using viewbag and viewdata for move the data from Controller to View and if we want move data one action to another action then we use Session and Tempdata
Comments
Post a Comment