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 .Net Relating to the .Net framework.
Resx strings can be technical debt
I’m working on a project that requires translation using .Net’s Resx capabilities. This project is 2 years old and counting and our duplication and disorganization of our Resx strings are very apparent. This is a form of Technical Debt and we realized that it is time to pay some of it off before we’re in too deep. I just spent the morning replacing all of our required validation message from 28 different flavors of “X must be selected”, “Y cannot be empty”, “You need to set an email address.", ”Z ......

Posted On Wednesday, October 14, 2015 6:36 PM

QR codes in .Net
It took awhile to find the right NuGet package to use to create and decode a QR code, but we found it. The ZXing.Net port of the Java version turned out to be quick and easy to use. Scott Hanselman had an example of decoding a QR code in his blog, and I adapted the code from the ZXing.Net site and his to create this LinqPad demo. Fire up the great LinqPad program, change to C# statements, add in the Nuget package and the correct namespaces. Then hit F5. You can now generated and decode that information ......

Posted On Friday, March 27, 2015 8:53 PM

Working with IFrame elements and Selenium 2+ in C#
I added a lengthy answer to the StackOverflow question on switching focus to an iFrame when using Selenium to automate a UI for testing and thought it deserved a blog post. First you need to select the iFrame and switch the driver context to it. The iFrame I’m working against doesn’t have an id, and there will only be one on this particular page. This is an example of using it straight out of the box. I have access to the driver through a static property. I set this when I first told Selenium what ......

Posted On Wednesday, April 2, 2014 11:03 AM

System.Device.Location.GeoLocation
A co-worker (Scott) sent out this email and it was so good I asked him if I could share it with all of you. I changed the latitude and longitude to random locations to protect the innocent. “Stumbled across this method this morning while coding all the math out by hand to calculate distances. This one is definitely worth filing away for future reference, saved me a ton of work. This was added in v4 of the framework, and is in the core framework install, so should work in services as well as client ......

Posted On Wednesday, June 26, 2013 11:30 AM

Copyright © Aligned | Powered by: GeeksWithBlogs.net