Codemash 2019

Earlier this month I attended the Codemash developers conference at the Kalahari Waterpark in Sandusky, OH. This was my 11th time going to the conference and I always come back with a list of things I want to learn more about. This year was no different and overall it was probably the best one I have attended. Following are a few of the more interesting sessions I attended.

 

Best Practices for Robust API Development in ASP.NET Core

This was full day workshop that went through in detail a typical API architecture written in .NET Core and including other common packages for Dependency Injection (Autofac), Testing (XUnit), Logging (SeriLog), Mocking (Moq), API Documentation (Swagger), Object Mapping (AutoMapper), plus a working example of using MongoDB with .NET Core. Lots of good takeaways from this.

 

A Hands-on Intro to Containers

Although Docker is not new, I have not really done anything with it before. This ½ day session included an AWS instance with the prerequisites already setup so we were able to go over creating a Docker image, and using DockerHub to find existing images to work with. It was a perfect to getting-started workshop for my level of Docker experience.

 

Database Devops in Docker

This session, in addition to the Docker pre-compiler, went over some cool uses of Docker images.  The most interesting one to me was where the speaker described how each night that take a backup of the their production database, scrub the data of private information, and update an internal Docker image with the database backup.  Then each morning all of the developers can pull the new image and do their development with data that is essentially production data.

 

Service Workers and Intro to Progressive Web Apps

These were two separate sessions but they are very much related technologies.  Service Workers are a key part of Progress Web Apps. I have many years of web development experience and PWA’s are something I have been interested in learning more about.  The PWA session was a great introduction and included details on when a PWA is the appropriate choice for an app, and a lot of good examples on how to setup a PWA.

Overall I feel like the time at Codemash was well spent and as usual I have a list of new tech to on my list of things to learn more about this year.

 

Javascript Copy to Clipboard for Excel

I recently had a requirement to “export” data shown in a table on a web page to an Excel file.  In a normal situation I’d do something server-side to generate an Excel file with the necessary data, but unfortunately this situation was not a normal. The project I was working on did not have a server-side component – it was completely client-side code – so I couldn’t just create an Excel file.  The solution I came up with was to provide a way for the users to copy the required data to their clipboard and they could then paste it into an Excel document. Continue reading “Javascript Copy to Clipboard for Excel”

Mongo String Indexing part 1

misc1Overview

We have a Mongo Database and in that database we have an ‘items’ collection which has five string fields and a number of ID fields.  We’ve added 250k records to this collection and started testing the time it takes to perform various queries on these fields.  Simply adding indexes on the ID fields makes those types of queries lightning fast, however, we had a number of issues dealing with various string queries.  This is a record of our findings.

Continue reading “Mongo String Indexing part 1”

PhoneGap: Making Cross-Platform Mobile Development Easier for Everyone!

CodeMash Pre-Compiler Recaps pt. 2

Duane OdumOver the past two days I have had the pleasure of attending some excellent workshops at CodeMash. I do not normally do the “session hopping” thing but there were just too many workshops that I was interested in and it was really my only recourse on day 2.

Continue reading “CodeMash Pre-Compiler Recaps pt. 2”

​CodeMash Pre-Compiler Recap pt. 1

Duane OdumOver the past two days I have had the pleasure of attending some excellent workshops at CodeMash.  While I can honestly say only two of the workshops were beneficial from an immediate knowledge gain perspective, I think that I will get more long term value out of the others that I attended.

Continue reading “​CodeMash Pre-Compiler Recap pt. 1”

Working Remotely – Is it for you?

Duane OdumI read a blog post a while back from Scott Hanselman titled Being a Remote Worker Sucks – Long Live the Remote Worker and as a remote worker myself I found it to be a pretty good synopsis of the benefits and drawbacks of remote work. I have been working remotely for the better part of 4 years now and can definitely relate to some his points.

Continue reading “Working Remotely – Is it for you?”