I know that you have uploaded a file once or twice in your life. But did you get it right? I know I messed up a couple of times. I mean, there was always a question in my head: how do you test if file is a virus? And the little devil on my shoulder […]
Tag: dependeny injection
.NET Steps – End to End Testing
If you try to do a quick google search, you are gonna get some conflicting answers. What most of them agree on is that it is kind of testing that simulates real life user flow. And if you look at Microsoft documentation they are calling it integration tests.
.NET Steps – Caching I – In Memory
To be completely honest, I was never a fan of caching, always found it a bit annoying to work with.
.NET Shorts – Automatic Migration
Do you have a lot of “side-projects”? I do. Did you ever find yourself in situation where you open one of those “side-projects” thinking everything will work fine because you are an awesome developer and you are not making mistakes?
.NET Steps – REST API Versioning
Did you ever find yourself in a situation where you need to fetch something from external API but the response that you are getting is not the response that is written in the notepad – oh, I mean “the docs”? If you did, I know that the next thing crossed your mind was: those fucking morons.
.NET Steps – Project Structure
Step by step guide for creating a project structure for .NET applications
.NET Shorts – Use HttpContextAccessor
Sometimes, you have to get some data from headers/tokens. Sometimes, you have to do it in your application layer. And things can get wierd. You could potentally extract it at controller level and send it as parameter. But that’s just ugly. Luckly, now you have IHttpContextAccessor that makes things easy for you, I, on the other hand, am entirely different story.
.NET Shorts – Startup.cs hell
This happened a few times. You know, you are super excited about your new job and you can’t wait to see code and learn something new. Let’s face it. They killed you on tech interview. There was a talk about microservice, patterns, advanced algorithms, messaging system and what-not. This has to be a good project, right?