.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.

41 High Performance .NET

How do you profile GC pressure in .NET?

Short take Full answer on next page

Simple meaning

PerfView or dotnet-trace shows allocations and GC pauses.

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

Read full answer Example · Mistake · Say this
42 High ASP.NET .NET

How do you implement graceful shutdown?

Short take Full answer on next page

Simple meaning

IHostApplicationLifetime CancellationToken stops accepting work

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

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

How do you use compiled queries?

Short take Full answer on next page

Simple meaning

EF.CompileQuery caches the translation for hot paths.

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

Read full answer Example · Mistake · Say this
46 High Performance .NET

When is System.IO.Pipelines worth it?

Short take Full answer on next page

Simple meaning

High-throughput network parsers benefit from Pipelines buffer management.

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

Read full answer Example · Mistake · Say this
47 High Architecture .NET

How do you implement feature flags in .NET?

Short take Full answer on next page

Simple meaning

Microsoft.FeatureManagement or LaunchDarkly-style services toggle code paths.

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

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

How do you redact secrets in logs?

Short take Full answer on next page

Simple meaning

I never log tokens, passwords, or full connection strings.

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

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

How do you handle spatial data?

Short take Full answer on next page

Simple meaning

NetTopologySuite with EF spatial providers stores points and polygons.

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

Read full answer Example · Mistake · Say this
50 High Architecture .NET

How do you do zero-downtime .NET deploys?

Short take Full answer on next page

Simple meaning

Rolling updates with health checks, backward-compatible migrations, and dual-run periods.

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

Read full answer Example · Mistake · Say this
51 High Performance .NET

How do you use ArrayPool correctly?

Short take Full answer on next page

Simple meaning

Rent a buffer, use only the counted slice, and return in finally.

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

Read full answer Example · Mistake · Say this
55 High Performance .NET

What is tiered compilation?

Short take Full answer on next page

Simple meaning

The runtime starts with quick JIT then recompiles hot methods more optimally.

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

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