Davide's Code and Architecture Notes - Web APIs vs REST APIs vs pseudo-REST APIs
When describing a web service, people often use the wrong terms. Are you really creating a REST API, or is it some sort of pseudo-REST? Continue readingC# Tip: Mark a class as Sealed to prevent subclasses creation
The sealed keyword is often ignored, yet it can be important to define a proper class design. Continue readingSeeding in-memory Entity Framework with realistic data with Bogus
You don’t need a physical database to experiment with ORMs. You can use an in-memory DB and seed the database with realistic data generated with Bogus. Continue readingDavide's Code and Architecture Notes - Arc42 Documentation, for a comprehensive description of your project
How is your project structured? What are the driving forces? If you don’t know how to express this info, you should try the Arc42 template to create a strong foundation for your documentation. Continue readingC# Tip: Path.Combine and Path.Join are similar but way different.
When composing the path to a folder or file location, thePath
class can come in handy. Path.Join
and Path.Combine
may look similar, but their behavior differ in an unexpected way.
Continue reading