Category Archives: Snippit

MVC SVG Tutorial (Sample code)


We all know that it is best practice in a responsive world to use SVG, but this is slightly more complicated within the MVC Razor view engine. Since SVG files are recognized as xml files and not image files other … Continue reading

Posted in Code, Code Sample, Programming, Snippit, Tutorial, Uncategorized | Tagged , , , , , | Leave a comment

Error: Attempt by security transparent method ‘…Start()’ to access security critical method ‘..#System.String#’ failed.


Attempt by security transparent method ‘WebMatrix.WebData. PreApplicationStartCode.Start()’ to access security critical method System.Web.WebPages.Razor.WebPageRazorHost.AddGlobalImport#System.String#’ failed. All you need to do is to install Microsoft.AspNet.Web.Helpers.Mvc, simply use the NuGet Console and run the following command in the Package Manager Console PM> Install-Package … Continue reading

Posted in Snippit | Tagged , , | 1 Comment

All your Foreign key are showing!


Just this week I needed the ability to find all the foreign keys in my SQL DB as there was something that didn’t quite makes sense to me, and it’s better to know then to be sorry.. Here is the … Continue reading

Posted in Computers and Internet, Programming, Snippit | Tagged , | Leave a comment