Geeks With Blogs

News Please visit me at my new blog!!

profile for Aligned at Stack Overflow, Q&A for professional and enthusiast programmers
"free in Christ Jesus from the law of sin and death." Romans 8:2 (ESV) Check out the Falling Plates video on YouTube.
more about the Gospel
And then listen to Francis Chan speaking at LifeLight in SD.

Programming and Learning from SD August 2012 Entries
MVC 4 Authentication
Edit on April 10, 2014: A lot has changed since I started this now out of date post and Microsoft has created and updated the authentication system to ASP.Net Identity. Please look at this first. Here's a video on the subject.First: After searching for awhile to figure out what’s new/different with MVC 4 and forms authentication, this is the best article I've found on the subject: ......

Posted On Thursday, August 30, 2012 1:20 PM

Nuget Errors and Microsoft not a trusted publisher?
I was having all kinds of problems with a new machine after installing VS 2012 RTM. First the Nuget Package Manager Console started spewing out this error: “ The following error occurred while loading the extended type data file: , C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS... : File skipped because of the following validation exception: File C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS... ......

Posted On Tuesday, August 21, 2012 10:41 AM

Knockout Js and External MVC cshtml templates
I can pass the name of the template to the controller like this (/Templates/KnockoutTemplat... where 'radial' is the name of a view (radial.cshtml), return a partial view of that name and have Knockout put it in the template block. My Controller: public class TemplatesController : Controller{ public TemplatesViewModel viewModel { get; set; } public ActionResult KnockoutTemplate(string templateName, int? id) { this.viewModel.Id = id; return PartialView(templateName.Re... ......

Posted On Friday, August 17, 2012 8:18 AM

Scripts not loading with ScriptBundles?
We upgraded a javascript library and pointed to the *.min.js files in our MVC4 application. They weren't getting downloaded and were not in the source code when running in debug="true", but worked in debug="false".

The lesson is to remove .min from your js files or the ScriptBundle doesn't return them for downloading.
bundles.Add(new ScriptBundle("~/bundles/x").Include(

Posted On Thursday, August 16, 2012 2:30 PM

Wijmo and Knockout js
I get to be a part of a project that is re-writing dashboards from a Flash implementation to all HTML5. Our lead developer liked the Wijmo gadgets (as do I), so I've been putting the gadgets to the test. At the time of this writing we are using version 2.1.6. I really like how they look and they seem to perform well. I don't like the lack of information on how to style these and some of the other behaviors. Some of the requirements are:They have to be able to re-size with the browser and have the ......

Posted On Thursday, August 16, 2012 2:27 PM

Copyright © Aligned | Powered by: