Half year ago, I was a dedicated and happy Android user. My first smartphone was an iPhone 3G. At some point, I changed it to Google Nexus One. Then, I’ve had all phones from the Nexus line (except 6 & 6p). Last December it turned out, I will be working on an iOS app, so I got iPhone 7 to get familiarised with the UX. Today, I would like to share with you top things that annoy me every day in my phone.
My Stactive project is now functional. It can log ASP.NET Core requests to a MongoDb database. Stactive is a middleware, which in future will be available as a Nuget package. It will support few storing options - as separate plugins - Nuget packages. To make it happen, I needed to implement MongoDb support as a plugin and I decided it might be worth to share how it’s done.
One of my current projects is hosted in docker environment (more on that topic coming!). The setup requires me to use an Nginx reverse proxy. Additionally, for performance reasons, I also use CloudFlare as a CDN. This all means, before the user gets to my application, he has to go through at least two proxy servers. That’s an issue when you want to know your users IP address.
In the last few posts I have been writing about ASP.NET Core middlewares. You have seen how to create one, pass data from request and setup dependency injection. Today I would like to show you, how you can build a configuration for the middleware and set it up from the Startup class.