Check out the article "Stop Exposing Your MediatR Command/Query in Minimal API" by @pierrebelin_. Learn why exposing MediatR commands directly can lead to security risks and poor error handling.
👉 Don’t miss out—click to read the full edition: https://t.co/GnctfTgLST
#dotnet
🎓You want to test quickly your API endpoints with a real database? Use InMemoryDatabase!
The InMemoryDatabase allows to real repository and unit of work without mocks for component tests. It combined with WebApplicationFactory.
=> https://t.co/hLKGtMyYrl
By @pierrebelin_
🐐 🐐 Want to improve the readability of your tests? Separate your fixtures!
Instead of having everything in your test content, separate the data from the behavior to simplify it. Check it out!
Article => https://t.co/mHrSSk2wWj By @pierrebelin_#dotnet
@SergiiKirianov Salary should be as important as the content of the mission, but this is really taboo in France, because when you talk about that, people can't stop comparing...
What? You develop your services without using #Visual#Studio's Docker ? It's integrated!
Projects → Right click → Add
Then choose :
→ Docker support (produce a Docker image)
→ Container Orchestrator support (create a Docker Compose or Kubernetes)
This generates everything!
It's never too late to remember that WAMP/MAMP are not future-proof solutions for developing applications!
Make a choice: either develop locally on Linux/MacOs, create your Docker environments, or both 😎
We tend to put money in the features, the design, the SEO, the ads... of our business.
And yet, we must also see the submerged part of the iceberg that allows you to add value to all this:
Your infrastructure!