Contents tagged with Programming

  • ASP.NET MVC Relative URL for Homepage

    ASP.NET, MVC, Razor, Programming

    It has been awhile since I worked with ASP.NET MVC due to work and many other activities, but I wanted to get back into it since I have always loved programming.  One of the first issues I ran into when publishing my site was a pretty simple one, I needed to change the menu button for Home to link back to the root of the site.  Very easy and basic to do, I could just hard code the root of the site into the HTML, i.e. 

    <a href="http://www.suhokdesigns.com">Home</a> …

    Read more 

  • Creating Custom Brush for SyntaxHighlighter

    ASP.NET, MVC, Syntax Highlighter, Custom Brush, Programming, JavaScript

    I wanted to have nicely formatted blocks of code for my site blog since a lot of the articles will be code or development related.  I found a really nice JavaScript plugin called SyntaxHighlighter by Alex Gorbatchev to make this easier.  It uses "brush" files to set up the language features, such as how comments start and end, what keywords are available to that language, how strings are formatted, and much more.  Each brush uses a lot of regular expressions to set up the …

    Read more 

  • 1