.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
62 Moderate LINQ .NET

What is AsEnumerable used for?

Short take

Simple meaning

It switches from IQueryable to in-memory LINQ from that point.

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

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

What is antiforgery for JSON APIs?

Short take

Simple meaning

Browser cookie sessions need antiforgery on state-changing calls.

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

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

What is a ValueTask?

Short take

Simple meaning

It can avoid allocating a Task when results are often synchronous.

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

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

How do you compress responses?

Short take

Simple meaning

UseResponseCompression with Brotli or Gzip for compressible MIME types.

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

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

What is ExecuteUpdate?

Short take

Simple meaning

It runs set-based updates without loading entities.

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

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

How do you rotate database credentials?

Short take

Simple meaning

Update secrets store, recycle apps to pick new values, then retire old creds.

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

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