Rendering a View to a String - Email Templates in MVC4
Hey everyone, This is just a short post showing how to render views as strings. I’ve used this as a quick way to generate email templates. The logic to render a view…
Read postLet's take a look at what I've broken today
Hey everyone, This is just a short post showing how to render views as strings. I’ve used this as a quick way to generate email templates. The logic to render a view…
Read postHey everyone, Coming from Rails I’d grown quite fond of flash messages. Unfortunately there isn’t a built in way of doing this in MVC4. Luckily, there’s a five minute…
Read postHey everyone, Just a quick one, how to redirect to root from a controller: For more info, checkout this Stackoverflow post: http://stackoverflow.com/a/10292039/522859
Read postHey everyone, I ran into a bit of an issue today with my stylesheet conflicting with Bootstrap. After a bit of tinkering I realised that all I really needed from…
Read postHey everyone, Just a quick post on something useful I came across today. In JavaScript you can access the stack trace via console using the following command (ctrl +…
Read postHey everyone, Ran into a bit of an issue today where a url was being shortened in Chrome’s console. It turns out that there’s a quick command you can use to copy the…
Read postHey everyone, Just a really basic model that can be used to send emails on GoDaddy in MVC4. The model: Using it in a controller: Update: For a quick tutorial on how…
Read postHey everyone, I ran into the following error while trying to publish via FTP to GoDaddy using Visual Studio 2013: Unable to add ‘Scripts/services/OrderService.js’ to…
Read postHey everyone, In order to verify that a pay response is legitimate, PayPal provides a unique token for each request. This token can then be matched against payment…
Read post