Posts

13 April / / ASP.NET Core
Checking if a model is valid is pretty an automatic behavior at this point. Whenever a request expects a model, we need to make sure that the validation is good, and we use ModelState.IsValid for that. But that becomes boring, most of the time (if not always) we redirect to the same page, another page or return a bad request in case of an API.
14 March / / Programming
Repository Pattern was first introduced in the Domain Driven Development back in 2004 and has since then gained a lot of popularity. Today I’ll show you how you can implement a generic async version of it in C# (ASP.NET Core specifically). The code of this blog post is available here.
08 February / / Other
I bought a laptop a long time ago but I never really used it enough to notice this. I am now using it every day and every time a Windows 10 notification shows up, both my ears bleed (not really but you get the idea). The volume of these notifications is EXTREMELY loud.
02 February / / Programming
I was prototyping a 2D Side Scroller game in Unity a week ago and started implementing an Inventory System (Equipments, slots, etc…). Unfortunately, Unity didn’t have a Context Menu out of the box so I searched a bit and found this, which helped me get an idea of how to implement one as well as make it completely mouseless, since my game was mouseless itself.
Have you ever wondered how Amazon suggets to us items to buy when we’re looking at a product (labeled as “Frequently bought together”)? For example, when checking a GPU product (e.g. GTX 1080), amazon will tell you that the gpu, i7 cpu and RAM are frequently bought together. Which is true because a lot of people buy their components grouped when building a desktop pc.
23 September / / Programming
Hi everyone! I hope you’re having a great sunday. Me and my collegue decided this week to rewrite an api made with Laravel Lumen using ASP.NET Core. While doing so, I was wondering wheter some kind of tool existed to help generate the documentation of the API (since we all know writing a documentation is the least fun thing in programming) and I came across Swagger.