.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
101 Moderate ASP.NET .NET

What is OutputCache policy in .NET 7+?

Short take Full answer on next page

Simple meaning

Server-side caching of endpoint output with policies for duration and tags.

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

Read full answer Example · Mistake · Say this
102 Easy C# .NET

What is boxing and unboxing in C#?

Short take Full answer on next page

Simple meaning

Boxing wraps a value type in an object on the heap

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

Read full answer Example · Mistake · Say this
107 Easy LINQ .NET

What does SelectMany flatten?

Short take Full answer on next page

Simple meaning

It projects each element to a sequence and flattens the results into one sequence.

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

Read full answer Example · Mistake · Say this
108 Easy ASP.NET .NET

What is Kestrel?

Short take Full answer on next page

Simple meaning

Kestrel is the cross-platform web server built into ASP.NET Core.

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

Read full answer Example · Mistake · Say this
110 Easy EF Core .NET

What does AsNoTracking do?

Short take Full answer on next page

Simple meaning

It loads entities without change tracking, which is faster for read-only queries.

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

Read full answer Example · Mistake · Say this
111 Easy EF Core .NET

What is a migration in EF Core?

Short take Full answer on next page

Simple meaning

A migration is a versioned change to the database schema generated from the model.

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

Read full answer Example · Mistake · Say this
112 Easy DI .NET

What is the service locator anti-pattern?

Short take Full answer on next page

Simple meaning

Resolving services from a static container inside business code hides dependencies.

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

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

What are expression-bodied members?

Short take Full answer on next page

Simple meaning

They let you write simple members with => instead of a block.

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

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

What is IAsyncEnumerable used for?

Short take Full answer on next page

Simple meaning

It streams async sequences with await foreach.

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

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

What does ConfigureAwait false mean?

Short take Full answer on next page

Simple meaning

It avoids capturing the SynchronizationContext after await.

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

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

How do you return ProblemDetails from an API?

Short take Full answer on next page

Simple meaning

I use Results.Problem or validation ProblemDetails for consistent error JSON.

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

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

What is endpoint routing?

Short take Full answer on next page

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
Prev Page 6 of 11 Next
Chat with us