dotnet Software engineer interview questions
Questions
https://www.fullstack.cafe/interview-questions/ https://www.fullstack.cafe/interview-questions/design-patterns https://www.fullstack.cafe/interview-questions/ddd
Ice breaker :P
-
What’s new in .net 6/C#10
- HTTP/3 with QUIC (quick UDP internet connection)
- your favorite new feature?
-
record type in C#9 https://www.infoworld.com/article/3607372/how-to-work-with-record-types-in-csharp-9.html
Language
- Interface vs Abstract class
- value/reference types. null values. how to create a value type? (struct)
- async/await.
- why async/await in web api controllers?
- difference between
const
andreadonly
- what is
yield
. - Exception handling and logging.
- Difference between throw and throw ex.
- IQueriable, IEnumerable
- ORM usage: EF, ado.net, maybe Dapper? when to use each
- What is pattern matching?
- Implement a custom ValueType? (Struct)
- What’s a delegate?
- What’s reflexion?
Technologies
- GraphQL
- ORM
- when to use
- Docker/K8s
- What is docker and when/why to use it? benefits and drawbacks?
- What is k8s? Benefits and drawbacks?
- How to monitor an app in K8s?
Patterns and design
- What does it mean high quality code?
- Patterns? SOLID?
- Dependency Injection
- Relation between IoC and DI
- DDD
- Entity vs ValueObject vs Aggregate
- Pattern you use the most? Factory, Repository
- Frequent antipatterns? Anemic domain model
- relation with Microservices?
- clean architecture
- CQRS with mediator
- Patterns
- Builder
- Factory
- Composition over inheritance?
- Event sourcing?
- Structure an API project
- DDD: What’s DDD?
- What issues do Aggregates solve?
- What’s Bounded Context?
- What’s Behaviour Driven Development?
React
- How to structure a react application
- any refactor from other framework to react?
- Microfrontend
- Cómo funcionan?
- Functional components vs Class components
- which is your prefered and why
- Hooks?
Architecture
- what’s REST API
- design restful API: example cars: * endpoints, * return codes, * versioning
- Event Driven Architecture
- message vs events vs commands
- streaming
- with Microservices
- Microservices vs monolith
- Benefits and drawbacks
- Patterns?
- Describe a system you have designed
SDLC
- Trunk based vs Feature branching? Favorite branching strategy?
- Environments?
- package manager
- What’s CI/CD
- Relation with environments
Agile
- Scrum, Kanban?
- Favorite Scrum ceremony?
- How do you keep up to date with technology?
Tech Lead questions
- How to organize to be able to scale
- Have visibility and involvement in the critical decisions
Short version
Questions:
- interface vs abstracat
- value vs reference
- async/await
- iquer vs ienum
- what’s delegate:
- patterns ○ examples
- DDD ○ Entity vs Value object 2/5
- Monolith vs uService ○ pros and cons ○ trade offs
- DDD and uService ○ relation 2/5
- CQRS ○
- SDLC ○ how would you setup