viewrendering

Rendering a view to a string in ASP.NET MVC 2

We need to render an ActionResult to a string to add pages to our internal search engine index. We settled on this solution to render to string. I've run into a problem with the ExecuteResult call used to process the View. Code Snippet: var oldController = controllerContext.RouteData.Values["controller"]; controllerContext.RouteData.V...

How is my approach to reuse view logic in my project?

Aim To implement a proper and efficient view architecture for my project (with maximum reuse of repeated units) About my project My project involves classes taken by tutors and packs published by tutors. No framework has been used but object orientation and class hierarchies are present for model, controller part. I have the followin...