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

2 High C# .NET

When would you use Span or Memory?

Short take Full answer on next page

Simple meaning

Span is a stack-only view over contiguous memory so I can slice arrays and strings without extra allocations.

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

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

How would you design a high-write EF Core path?

Short take Full answer on next page

Simple meaning

I keep the context short-lived, batch SaveChanges, disable tracking for reads, and consider ExecuteUpdate for bulk.

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

Read full answer Example · Mistake · Say this
7 High Memory .NET

What is garbage collection in .NET?

Short take Full answer on next page

Simple meaning

GC reclaims managed objects no longer referenced.

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

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

What is dependency injection in ASP.NET Core?

Short take Full answer on next page

Simple meaning

The built-in container registers services with lifetimes: transient, scoped, singleton.

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

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

What is Entity Framework Core?

Short take Full answer on next page

Simple meaning

EF Core is an ORM that maps C# classes to tables and generates SQL.

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

Read full answer Example · Mistake · Say this
10 High C# .NET

How do you implement a custom awaitable?

Short take Full answer on next page

Simple meaning

You need GetAwaiter returning something with IsCompleted, OnCompleted, and GetResult.

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

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

What is interception in EF Core used for?

Short take Full answer on next page

Simple meaning

SaveChanges and command interceptors add auditing, multi-tenant filters, or soft-delete stamps.

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

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

How do you secure WebSockets beyond SignalR?

Short take Full answer on next page

Simple meaning

Authenticate during the handshake, authorize per message when needed, and validate origin.

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

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