𝟭𝟱𝟬 𝗤𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝘀 𝗧𝗼 𝗣𝗿𝗲𝗽𝗮𝗿𝗲 𝗳𝗼𝗿 .𝗡𝗘𝗧 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄
ASP .NET Core, EF Core, C# questions 👇
1. Explain how routing works in ASP NET Core
2. What is middleware and in what order do they execute?
3. How can you stop other middlewares from executing?
4. What is the difference between MVC and Razor Pages?
5. Name 3 ways to create middleware
6. Explain how appsettings.json configuration layering works
7. What is the diff between Singleton, Scoped, Transient services?
8. How to use Scoped service inside a Singleton service?
9. How to execute code when application is starting and stopping?
10. What is Background Service?
11. Name a few ways to read data from appsettings.json configuration
12. What is the Options Pattern?
13. Name the use cases for using ISnapshotMonitor and IOptionsMonitor
14. How to validate configuration?
15. What is the difference between DataAnnotations and FluentValidation?
...
You can get all these interview questions for free as PDF.
Each question is crafted to help you understand how real systems work - not just prepare for theory. Whether you're aiming for junior, middle, or senior roles, this collection gives you the clarity and confidence needed to pass interviews.
Use it to strengthen your fundamentals, sharpen your thinking, and accelerate your growth as a .NET developer.
Want this PDF?
Here's how you get it:
1️⃣ Follow me on X
2️⃣ Like and Repost this tweet
3️⃣ Comment "interview" below 👇
4️⃣ I'll send the PDF via DM
(MUST be following, liked and reposted, 72h only)
——
♻️ Repost to help others get these interview questions
➕ Follow me ( @AntonMartyniuk ) to improve your .NET and Architecture Skills
Sonam Wangchuk could have been a billionaire in any other serious country.
But he chose to stay in India to serve its people with his innovations.
Today, he's jailed under National Security Act.
And then we wonder why talented people leave India.
In 2013, USA misbehaved with an Indian diplomat Devyani Khobragade
PM Manmohan Singh responded by explusing US diplomats & removing security barricades from US Embassy
Soon US was on its knees 👏
Dr Singh was much stronger PM than Modi #TrumpTariff 🫡🇮🇳
@news24tvchannel No one. They’re all just burning taxpayer money like it’s Monopoly cash. We should just outsource the whole government to zomato - at least they deliver!
Quick C# Tip 💡
Use the Switch expression in your code.
The switch expression was introduced in C# 8.0, and it's a more compact and readable way of writing a switch statement.
Instead of using a break for each case, the switch expression uses the => operator to return a value when a case matches immediately.
For anyone wondering, they get lowered to the same code by the compiler.
Here's how the code can be rewritten using a switch expression:
P.S. Join 17,600+ engineers for free content: https://t.co/65gw5pGHO0
#Dotnet
@TheCodeMan__ If you’re catching an exception, there should be a purpose such as fallback logic, cleanup, user notification, or rethrowing. Just logging and ignoring it hides issues and leads to fragile systems.
One Million Real Time Connections
(using SignalR and C#)
SignalR (from @davidfowl) is a framework for real time messages between web servers and clients
Servers must be ASPNET Core while clients can be anything: browsers, services or consoles
Messages can broadcast to all or the server can send to specific clients
SignalR is a web technology that requires HTTP servers and will use WebSockets if available