Eli Weinstock-Herman
"Having no problems is the biggest problem of all."
Taichi Ohno

Adding User-Managed API Keys to ASP.Net Core 2 w/ Cosmos DB

Original post posted on April 24, 2018 at LessThanDot.com

I’m building the foundation for an ASP.Net Core 2 site with Cosmos DB as the back-end store and want to build in the idea of user-manageable API keys. In the past two posts, I’ve added interactive registration and login to the application using built-in Cookie and Twitter middleware on top of custom authorization logic and Cosmos DB. In this one, we’ll be adding endpoints that require API Keys that can be created and revoked by the user.

While I started out with credentials stored directly in the LoginUser Document, in the prior post I decided to start treating authentication mechanisms ...

Continue reading

Adding Twitter Authentication to an ASP.Net Core 2 site w/ Cosmos DB

Original post posted on April 17, 2018 at LessThanDot.com

I’m building a B2C website with Cosmos DB as the back-end store and starting with common elements like Authentication. In my prior post, we connected the Cookie Middleware with custom membership logic and a standard username/password login method. In this one, we’ll be extending the system to also allow users to register and login via a third party provider (Twitter).

In this post I’ll also start exploring User Authentications as a separate document collection, rather than as additional fields on my User document. I’ve noticed in several past systems I’ve built API keys and authentication mechanisms as properties on ...

Continue reading

Custom Authentication in ASP.Net Core 2 w/ Cosmos DB

Original post posted on April 13, 2018 at LessThanDot.com

I’m building a B2C website with Cosmos DB as the backend store. This site will have a number of different authentication mechanisms, but I’m newer to ASP.Net Core 2 and the authentication changes since the prior version so I’m going to start with a basic Cookie and Login authentication system.

This is the second post in a series documenting the creation of this project. If you haven’t worked with custom authentication in ASP.Net Core 2, are looking for more examples of interacting with Cosmos DB, or just trying to avoid the overkill of Identity and EntityFramework, I hope this is ...

Continue reading

ASP.Net Core 2 w/ Cosmos DB: Getting Started

Original post posted on April 09, 2018 at LessThanDot.com

I am building the basic foundation for a B2C web application, using ASP.Net Core 2 and Cosmos DB. Along the way I’m going to need authentication, source control, CI/CD, … but first I have to start learning what’s changed in ASP.Net Core 2 and how to use Cosmos DB beyond the 5-minute console application demo. There aren’t a lot of ASP.net Core 2 and Cosmos DB blog posts out there, so I thought we could do this together and hopefully my experiments and errors will help you get there faster.

I’m in the writers chair, though, so this will be ...

Continue reading

LaunchReady: Don’t Get Distracted, Getting Stuff Done

Original post posted on March 08, 2018 at LessThanDot.com

I built LaunchReady in my spare time, continuing to work fulltime during the day, spend time with the family in the evening, and jump online or hit the trails occasionally with friends. I also had a bunch of ideas, which served as interesting distractions from making it actually work. In this post I’ll share a few of the tactics I used to stay balanced, get past the distractions, and find motivation when things seemed impossible.

Continue reading

Side Projects