Comments for FinerCode Jeremy Hutchinson's Tech Blog Thu, 28 Aug 2014 01:49:51 +0000 hourly 1 http://wordpress.org/?v=4.0.1 Comment on Sharing Code with Conditional Compilation by Linked Files | FinerCode /conditional-compilation/#comment-2415 Thu, 28 Aug 2014 01:49:51 +0000 /?p=175#comment-2415 […] Conditional Compilation […]

]]>
Comment on Sharing Code with Linked Files by Compiler Directives | FinerCode /linked-files/#comment-2414 Thu, 28 Aug 2014 01:45:36 +0000 /?p=167#comment-2414 […] Linked Files […]

]]>
Comment on AngularJS URLs missing trailing slash by Peter /104/#comment-2174 Fri, 22 Aug 2014 02:54:14 +0000 /?p=104#comment-2174 Used to stop the default mvc route from having no trailing slash.
This caused my client side breezeJs code to crash.

Thanks

]]>
Comment on AngularJS URLs missing trailing slash by Joost van Schaik /104/#comment-1970 Mon, 18 Aug 2014 09:32:51 +0000 /?p=104#comment-1970 Thanks sir! Worked like a charm!

]]>
Comment on AngularJS URLs missing trailing slash by Lars Johannesson /104/#comment-1482 Fri, 08 Aug 2014 10:05:52 +0000 /?p=104#comment-1482 I ended up here after googling for a solution to my problem where a missing trailing slash caused the browser to get stuck in an infinite loop downloading the page and all its resources until it finally crashed.

While the solution here did not work in my case (my setup is a bit different) it inspired me to a solution which did work)


protected void Application_BeginRequest(object sender, EventArgs e) {
//
// This fixes an annoying bug where the browser gets stuck in infinite recursion downloading the entire page time after time until crashing.
if (Request.Path.Equals("/dashboard", StringComparison.CurrentCultureIgnoreCase))
{
var redirectUrl = VirtualPathUtility.AppendTrailingSlash(Request.Path);
Response.RedirectPermanent(redirectUrl);
}
}

In my case the angular application is running under http://host/dashboard/ which is referring to DashboardController/Index-action

]]>
Comment on New Keyboard Layout Progress Update by Dewashish /new-keyboard-layout-progress-update/#comment-680 Mon, 21 Jul 2014 12:02:21 +0000 /new-keyboard-layout-progress-update#comment-680 Nice! I’m on the Colemak bus, too! Started on Friday by putting stcireks on the 18 keys that are different from qwerty and printing out a layout. I was on my second attempt to learn Dvorak last week, but couldn’t stand the world of pain that opened up, especially in stuff like vi.

]]>
Comment on New Keyboard Layout Progress Update by Larisa /new-keyboard-layout-progress-update/#comment-489 Fri, 04 Jul 2014 04:56:32 +0000 /new-keyboard-layout-progress-update#comment-489 Really? :O I think qwerty rocks. The aalepbhts may have been awkwardly laid out but years of practice has made us or least me master of it. My current speed is somewhere between 65 to 70 wpm and I’m okay with that. I’m not a typist anyway. And when blogging, this speed is more than enough. I suppose the same applies when coding as well.Reply

]]>
Comment on Changing Keyboard Layouts by Cristian /changing-keyboard-layouts/#comment-478 Thu, 03 Jul 2014 17:33:43 +0000 /changing-keyboard-layouts#comment-478 Have you ever thought about crnitaeg an e-book or guest authoring onother sites? I have a blog centered on the same information you discuss and would love to have you share some stories/information.I know my subscribers would appreciate your work.If you are even remotely interested, feel free to send me an e mail.

]]>
Comment on AngularJS URLs missing trailing slash by Jeremy Hutchinson /104/#comment-419 Wed, 21 May 2014 12:20:00 +0000 /?p=104#comment-419 I’m glad it helped.

]]>
Comment on AngularJS URLs missing trailing slash by Jean-François Gagnon /104/#comment-418 Tue, 20 May 2014 22:22:00 +0000 /?p=104#comment-418 Thanks, work perfectly !

]]>