Monthly Archives: July 2011

Keep you MVC Razor view DRY!

Always keep your view DRY (do not repeat). Suppose your website has any of the following, Top menu Left menu Right menu Or you have some HTML which is repeated in different view, then you could use the following, @Html.Partial(“ViewFile”)

Tagged with:
Posted in MVC
Follow

Get every new post delivered to your Inbox.

Join 240 other followers