
Photo Credit: Thomas Martinsen
Blog
Using Swashbuckle in ASP.NET Core 1.0 Automatically generate documentation for your WebAPI projects. Dynamically Set Text Color On Different Colored Backgrounds This code is not my own, rather, I discovered it while I was looking to figure out a way to make text dynamically adjust based on the background color they were sitting on. Dependency Injection on AuthorizationOptions This particular blog comes out of the work that I have been doing as of late with ASP.NET 5, MVC 6, and all the other goodness that Microsoft has been releasing as of late in the development arena. Managing More Complicated Entity Framework Migrations While there is a lot of debate about the goodness of ORMs, I will be the first to admit - I love them. The less “touching” I have to do of databases directly, the happier I am - particularly because much of my focus is on usability and the front-end. (Not to say I can’t, of course, but, it’s not what gets me really excited when it comes to technology.) Converting to Attribute Routing in WebAPI Applications As I am working on my .NET application (sorry! no project page for this one), I find a great deal of freedom in being able to specify everything how I want it to be. Of course, these days, modern technologies such as WebAPI and ASP.NET MVC leverage the principle of convention over configuration. While I generally agree with this idea precisely because it has made my life as a developer easier, I have never really liked the convention-based routing mechanism. For example, when I first set up my application pipeline, I defined my HttpConfiguration as such: Ninject, WebApi, and OWIN With all the updates pouring out of Microsoft these days within .NET land, I have been checking out their latest offerings within some of my own projects. On the Move! A better workflow means more posts for you! Don't. Trust. The Software. As they say in the military, trust but verify. PostgreSQL and Entity Framework 6 Code First Cleaning Up Your Google Contacts and Google Integration This post has absolutely nothing to do with programming, and everything to do with managing your contacts via Google Contacts. Setting Up OAPP (OSX, Apache, PostgreSQL, PHP) on Mavericks Debugging Knockout View Models As I have been doing a ton of Knockoutjs work lately, I figured I would share a useful tip that I learned for debugging your Knockoutjs view models. This will help you to see what data Knockout actually thinks its getting without you having to do a ton of work to browse through the structure via a debugger. NuGet, Package Restore, Target Files, and Subversion I love NuGet. In fact, it wasn’t until NuGet existed that I actually really started to enjoy using Visual Studio. Yeah, in the past, I would use Visual Studio because it was still the best thing out there for my IDE, but NuGet opened up a whole new world of possibilities and made it significantly easier to manage all those pesky libraries that come with any good-sized development project (particularly where there are dependencies). (Don’t worry *nix enthusiasts. I love Gentoo and Mint Linux, so I am well aware that Microsoft was not the first to come up with the package management system. However, what they and the community has developed is done very well.) LocalDB ConnectionString and EntityFramework Setup Some quick configuration to simplifying database development. Understanding JavaScript "this" Keyword A little bit of that about this. WebGL Support in Google Chrome in Linux Because Windows Shouldn’t Have All the Fun Create a Faded List Item Using CSS3 I know there are about 1000 tutorials on various styles that you can give your lists using CSS3 on the web…but I still wanted to add my own voice to the mix. A Better Aero Snap with Openbox It’s a snap! Multiple Commands in Openbox Menu Make Openbox your to command! Using the Url.Action Helper with JavaScript Variables Here’s a quick little tip. If you are using the ASP.NET Url.Action Helper, but trying to pass a JavaScript variable into it, you need to do a little bit of magic in order to get it to work. Sorry for the Downtime For those of you who have hit my site looking for some answers (mostly folks coming from Stackoverflow), I wanted to apologize for the short downtime. I was in the process of switching my registrar from GoDaddy to Namecheap due to GoDaddy’s (original) stance on SOPA. Changing the Look of Nivo Slider’s Captions Nivo Slider brands itself “The World’s Most Awesome jQuery Image Slider” and, while I haven’t tried all the sliders out there, I certainly concede that it is very nice and well done. Following the instructions made it very easy to get it up and running (with a little bit of Googling to solve a stuttering error that I saw inside Google Chrome). Changing Images During an Android Animation I was recently working on a portion of my application where I wanted to animate a die rolling across the screen. As part of this animation, there were two aspects. First, I had to build the animation so that the dice would move across the screen. The second part of the animation required that the die flip and tumble. Retrieving an Android Resource by Name Per my last blog post, now that I am finished with graduate school, I can devote time to pet projects that I have been meaning to work on for some time now. The project that has been first and foremost on my plate is an Android application. Master’s Degree is Finished (...and so is my Arduino Project...) While I have no illusions of grandeur with respect to how many people are (or are not) following this blog, I must apologize for the severe lack of updates to the few of you who do track its posts. Accessing the Watchdog Timer on the Arduino Uno Microcontroller As I discussed in a previous blog post, I am currently enrolled in a real-time systems course as my final course before I earn my MS in Software Engineering. As part of the course, we are to develop a real-time systems project. In particular, we are to develop the beginnings of an artificial pancreas which will be used to manage insulin levels for individuals with diabetes. What’s interesting about this project is that it is one that is being worked on in industry, although, as it can be imagined, a real version of this device is going to be far more complicated and have much more stringent requirements than the one I am developing for class. Using Unobtrusive jQuery Validation with Forms Loaded via AJAX I wanted to share this quick, but simple, tip on how to use unobtrusive jQuery validation with ASP.NET MVC 3 and forms loaded via AJAX. It’s easy to do, but it’s not entirely intuitive without looking into jquery.validation.js. Arduino Uno Microcontroller Has Arrived I recently began my final course before I have earned my Masters of Software Engineering. Typically, I work directly with software. Hardware is a bit of mystery to me. Although I have taken my share of computer engineering, assembly, computer architecture, and even the rare introductory electrical engineering courses, I did so only so I could understand enough to move onto the software. In fact, one particular reason I leaned towards software as a young teen is because, even when I broke it, it could easily be fixed at very minimal cost. This kept mom and dad happy. Customizing WebGrid with jQuery UI Themes I recently began working with ASP.NET MVC 3, and I have been very impressed with the changes and updates that have been made. Follow the link to read about the many changes – I won’t rehash all those here. Instead, I want to discuss one of the new Web Helpers that have been added to MVC – specifically the WebGrid Web Helper. The Creation of a Blog I am beginning this blog because I love learning.