.NET track

.NET and C# interview questions

Panel-ready .NET / C# questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

215 Qs
47 Moderate ASP.NET .NET

What is endpoint routing?

Short take

Simple meaning

It selects the endpoint first, then runs middleware that can see the chosen route.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
48 Moderate ASP.NET .NET

How do you enable CORS for a SPA?

Short take

Simple meaning

I add CORS policy with allowed origins, methods, and headers, then UseCors.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
49 Moderate EF Core .NET

What is the change tracker?

Short take

Simple meaning

It watches loaded entities for property changes and builds INSERT/UPDATE/DELETE on SaveChanges.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
50 Moderate EF Core .NET

How do you handle concurrency tokens?

Short take

Simple meaning

I mark a rowversion or token property and EF includes it in WHERE on update.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
52 Moderate Security .NET

What is data protection in ASP.NET Core?

Short take

Simple meaning

It encrypts tokens, cookies, and antiforgery payloads with keys managed by the Data Protection API.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
56 Moderate ASP.NET .NET

What is health checks middleware?

Short take

Simple meaning

Endpoints report if DB and dependencies are healthy for orchestrators.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
57 Moderate EF Core .NET

What is owned entity type?

Short take

Simple meaning

Owned types store related value objects in the same table or dependent table without their own identity key for domain use.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
59 Moderate Messaging .NET

What is the outbox pattern?

Short take

Simple meaning

You write the business row and an outbox message in one transaction, then a relay publishes to the broker.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
60 Moderate C# .NET

What is Channel<T> used for?

Short take

Simple meaning

It is a high-performance producer/consumer queue for in-process async work.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Prev Page 3 of 4 Next
Chat with us