Geeks With Blogs

News profile for Aligned at Stack Overflow, Q&A for professional and enthusiast programmers

Donate Bitcoins

Check out Elapser from T3rse!
"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 November 2012 Entries
Get a new instance with StructureMap
It took me too long to figure this out, so hopefully it will help you. StructureMap has way that will create a new instance of the object every time, instead of storing this in the container. I’m going to use this for the DBContext and for WCF Service references. Since the ObjectFactory is a static class, MVC will have these stored in memory without this. Credit goes to Joshua Flanagan for answering my question.[TestMethod] public void GetConcreteInstanceOf_Shoul... { ObjectFactory.Initialize(re... ......

Posted On Thursday, November 29, 2012 10:44 AM

Knockout JS example
I did a short presentation at work to show off some of the capabilities of Knockout Js. Here’s a link to the read-only code from the Cloud 9 account. https://c9.io/aligned/knock... you're looking for an in-depth tutorial, I highly recommend John Papa's Pluralsight course ......

Posted On Wednesday, November 28, 2012 1:30 PM

Messaging with KnockoutJs
MVVM Light has Messaging that helps keep View Models decoupled, isolated, and keep the separation of concerns, while allowing them to communicate with each other. This is a very helpful feature. One View Model can send off a message and if anyone is listening for it, they will react, otherwise nothing will happen. I now want to do the same with KnockoutJs View Models. Here are some links on how to do this: http://stackoverflow.com/qu... ......

Posted On Wednesday, November 28, 2012 9:59 AM

Localization of Database Strings in .Net
I have several database tables that have a description column that I need to display in the UI. .Net has .resx files that will help with the translation of the strings, when the Thread.CurrentCulture.UICul... is set, but I needed a custom approach for the strings that are stored in the database and not in the .resx files. Note: this will only work for static tables that are added to at development time, because each addition will require an addition to the resx file for each language and a re-deployment ......

Posted On Monday, November 26, 2012 10:33 AM

Custom Error Handling in MVC
I found this article and it told me everything I needed to know: http://freshbrewedcode.com/jonathancreamer/2011/11/29/global-handleerrorattribute-in-asp-net-mvc3/.

Posted On Thursday, November 15, 2012 2:37 PM

Copyright © Aligned | Powered by: GeeksWithBlogs.net | Join free