Skip to content

Hi, My Name is Ben

  • About

Spring Boot, Logback and Logstash

March 23, 2019 by Benjamen

When working in a Microservices architecture where you have many services all doing small tasks and features, it can be difficult to troubleshoot and debug in upper environments.  This is why logging and especially centralized logging becomes critical. ELK There are several frameworks and systems to make this work, but the ELK stack is a …

Continue Reading

Covariant Method Return Types in Java

December 27, 2018 by Benjamen

Intro I was reading the other day while enjoying some quiet time post Christmas (AWS, Spring Boot, Java) and came across something that I didn’t know existed and wanted to share.  I’m sure veteran Java programmers know this but coming from C#, I was totally unaware. What is a Covariant Return Type? Simply put, it …

Continue Reading

From C# to Java

December 23, 2018 by Benjamen

I made a switch recently in my professional life.  I’ve been doing some for of C# and Microsoft development since about 2005 with sprinklings in of Objective-C, Swift and JavaScript/Node.js but C# has always been my primary backend, get things done language.  However, I recently took a new role back fully dedicated to Healthcare and …

Continue Reading

Time series data in MongoDB

September 21, 2018 by Benjamen

So you’ve got some data you think fits on a time series?  Think about data that has significance when aggregated or viewed in relation to the time in which the measure was recorded.  Like your health metrics.  Or like the location of an asset.  Or the temperature of your refrigerator.  All of those bits are …

Continue Reading

Documenting your ASP.NET Core Web API with Swashbuckle

September 8, 2018 by Benjamen

So you’ve finished your API, it’s awesome. Does everything you expect it to do, you’ve got great unit and integration tests to cover a percentage that makes you happy and handles exceptions and resource management flawlessly.  Let’s go a step further and say that your API solves a really useful problem that would necessitate someone …

Continue Reading

What Tooling and Editors Support an IoT Product Ecosystem

September 1, 2018 by Benjamen

I’m always curious when looking at running software what all it took to put that experience together.  Never from a place to second guess one’s decisions but more just curiosity and this little game in my head where I try to deconstruct the solution all they way down to tools, frameworks and environments that were …

Continue Reading

C# and SES (Simple Email Service)

August 25, 2018 by Benjamen

Continuing my way through some of the AWS services I’ve been consuming lately, so let’s pick up with SES (Simple Email Service).  Thousands of providers to do this just like any other quality service but again, cost, ease and already being in embedded with other PaaS components made this a strong contender when I was …

Continue Reading

C# Wrapper for AWS’ SNS

August 21, 2018 by Benjamen

SNS is AWS’ Pub/Sub engine that does a great job for handling large volumes of messages and then being able hook them into the various subscribers that you might have whether that be an HTTP endpoint, SQS, SMS or a Lambda Function.  In the case for this post, I’ll show you an approach for wrapping …

Continue Reading

Simple ModelState Extension

August 11, 2018 by Benjamen

Something might be out there like this already but I recently found myself needing to not only validate a model that has been posted or put into an API but also be able to easily roll up those validation errors and ship them back.  I know there are lots of ways to accomplish this but …

Continue Reading

Processing text/plain in ASP.NET Web API

August 7, 2018 by Benjamen

Seems straightforward right?  And it is.  The only missing piece is that your API doesn’t know what to do when a form body comes across as “Content-Type”: “text/plain” Have no fear, dotnet core has a class named InputTextFormatter that is a base class for TextInputFormatter which has derived classes for working with JSON and XML.  …

Posts navigation

  • 1
  • 2
  • Next

Recent Posts

  • Spring Boot, Logback and Logstash
  • Covariant Method Return Types in Java
  • From C# to Java
  • Time series data in MongoDB
  • Documenting your ASP.NET Core Web API with Swashbuckle

Recent Comments

  • Benjamen on From C# to Java
  • Mike Graf on From C# to Java
  • DJ on Takeaways from my First Analytics Conference

Archives

  • March 2019
  • December 2018
  • September 2018
  • August 2018
  • December 2017
  • November 2017
  • October 2017
  • March 2016
  • February 2016
  • November 2015

Categories

  • Agile
  • AWS
  • Data
  • Java
  • Life
  • Programming
  • Tech
  • Uncategorized

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
© 2019 Hi, My Name is Ben | WordPress Theme by SuperbThemes