1.

Can a view be shared across multiple controllers? If Yes, How we can do that?

Answer»

Yes we can share a view across multiple controllers. We can put the view in the "Shared" folder. When we create a new ASP.Net MVC Project we can see the Layout page will be added in the shared folder, which is because it is used by multiple child pages.



Discussion

No Comment Found