.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
121 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
122 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
123 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
125 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
130 High EF Core .NET

How do you implement soft delete safely?

Short take

Simple meaning

I add IsDeleted and a global query filter, plus careful unique indexes that include the flag.

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

Read full answer Example · Mistake · Say this
131 High EF Core .NET

How do you bulk insert efficiently?

Short take

Simple meaning

For huge loads I use bulk extensions, COPY-like tools, or raw SQL, not SaveChanges per row.

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

Read full answer Example · Mistake · Say this
133 High Security .NET

How do you rotate JWT signing keys?

Short take

Simple meaning

I publish multiple validation keys and phase old ones out after token lifetime.

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

Read full answer Example · Mistake · Say this
140 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
Prev Page 7 of 11 Next
Chat with us