On my GitHub Lib https://github.com/LibertyEngineeringMovement/CommonNET I have added two more libraries that are commonly recoded by many people. So rather … More
Tag: .NET
Brain Teaser: You have 3 dates with 3 offsets, from 3 variables, how do you find the newest date, but without using IF?
A nifty question on how to reverse strings using c#.
Now I could have used the built in fuction of .reverse(), but then how would that show off my skillsets. … More
Flash, Silverlight, Linux Emulation… All in common is JavaScript
All of these are written in JavaScript Here is a Flash host that doesn’t require the flash plugin. http://mozilla.github.io/shumway/ A … More
SSRS Integration with Microsoft ASP.NET MVC 4 and Razor
[UPDATE: I have dumped SSRS, Click Here for details.] This is a massive excerpt from http://forums.asp.net/t/1963101.aspx?SSRS+Report+Viewer+in+MVC4 I will be rewriting … More
Adding Metadata to Schema EF 6.x in C#
If you are one of those shortcut guys like me, and marshal your DB models to your views, then here … More
Make your own code candy in C#.
Pseudo candy public void DoSomething(action myAction){try{myAction.invoke();} catch {//Do some special handling}} Usage var _a = “a;”DoSomething(new {o} ->{//Do something to … More
Linq the right way
We all know how working with a functional language makes coding so easy, and can make you a bit lazy. … More
What is the easiest way to detect an iPhone?
Request.UserAgent.Contains(“iPhone”) returns true if the client is using their iPhone. First time I saw that, I had a few hundred … More
Almost forgot about RDBMSX news
For those who don’t know, RDBMSX is the name I gave to a hobby project that I am working on. … More