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

82 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
89 Easy ASP.NET .NET

What is launchSettings.json?

Short take Full answer on next page

Simple meaning

It holds local launch profiles, URLs, and env vars for Visual Studio and dotnet run.

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

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

What is CallerMemberName used for?

Short take Full answer on next page

Simple meaning

Attributes inject the caller name for INotifyPropertyChanged or logging helpers.

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

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

What is a shadow property?

Short take Full answer on next page

Simple meaning

A field EF maps that does not exist on your CLR type, like UpdatedAt.

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

Read full answer Example · Mistake · Say this
94 Moderate API .NET

What is TypedResults in minimal APIs?

Short take Full answer on next page

Simple meaning

Helpers that return strongly typed IResult implementations for OpenAPI metadata.

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

Read full answer Example · Mistake · Say this
96 Moderate Threading .NET

What is PeriodicTimer in modern .NET?

Short take Full answer on next page

Simple meaning

An async-friendly timer that awaits ticks without callback reentrancy headaches.

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

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

How do you harden cookie authentication?

Short take Full answer on next page

Simple meaning

HttpOnly, Secure, SameSite, short lifetimes, and sliding refresh with care.

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

Read full answer Example · Mistake · Say this
98 Moderate Testing .NET

What is Testcontainers used for in .NET?

Short take Full answer on next page

Simple meaning

It spins real Docker dependencies like Postgres for integration tests.

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

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

What is a record struct?

Short take Full answer on next page

Simple meaning

A value-type record with value equality semantics.

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

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

How do you tune EF Core for bulk inserts?

Short take Full answer on next page

Simple meaning

I batch with AddRange, raise MaxBatchSize, or use bulk extensions for millions of rows.

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

Read full answer Example · Mistake · Say this
Prev Page 5 of 11 Next
Chat with us