Use TinyMCE html editor in asp.net MVC

Firstly use Nuget to grab the package Then in your view model define the property that you’d like the TinyMCE editor used for. The really important bit here is the “AllowHtml” attribute, without this you’ll get security errors when you submit the form. The “required” attribute doesn’t actually work client-side, but I check this server-side Read more about Use TinyMCE html editor in asp.net MVC[…]

Nuget a specific package to a specific project

In Visual Studio I sometimes need to install a specific package to a specific project In this case I wanted to try structuremap, but the latest version required .NET 4.5 and I was using 4.0 I also only wanted it installed into 1 particular project. It’s pretty easy – but as an aid to my memory Read more about Nuget a specific package to a specific project[…]