<div class='content'>
@MvcHtmlString.Create(HttpUtility.HtmlDecode(Model.Content));
</div>
Wednesday, July 18, 2012
How to solve "A required anti-forgery token was not supplied or was invalid."
Put a machine key in your web.config file.
How To: Configure MachineKey in ASP.NET 2.0
http://msdn.microsoft.com/en-us/library/ff649308.aspx
How To: Configure MachineKey in ASP.NET 2.0
http://msdn.microsoft.com/en-us/library/ff649308.aspx
Clean up your MVC app with SignalR
http://www.novanet.no/blog/yngve-bakken-nilsen/dates/2012/7/clean-up-your-mvc-app-with-signalr/
Clean controllers, readable Javascript and real time
Clean controllers, readable Javascript and real time
Friday, July 13, 2012
How to put meta tag into Orchard theme?
In layout.cshtml file, add following code:
@using (Script.Head())
{
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
}
@using (Script.Head())
{
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
}
Subscribe to:
Posts (Atom)