Interview Q&A

Master technical and career interviews with structured answers—short definition, real examples, pitfalls, and how to answer in 60–90 seconds.

4608 total questions 4508 technical 100 career & HR 4272 from PDF library

Showing 1–2 of 2

Popular tracks

Senior PDF
How ASP.NET Core Handles gRPC ● gRPC uses HTTP/2, binary serialization (Protobuf), and strongly typed contracts. ● Add gRPC service: builder.Services.AddGrpc(); app.MapGrpcService<MyGrpcService>(); ● Clients can call server methods over HTTP/2 for high-performance RPC. Use Cases: Microservices, real-time streaming, low-latency APIs.

Short answer: How ASP.NET Core Handles gRPC gRPC uses HTTP/2, binary serialization (Protobuf), and strongly typed contracts. Add gRPC service: builder.Services.AddGrpc(); app.MapGrpcService&lt;MyGrpcService&gt;(); Client…

Senior PDF
Use it through IDistributedCache (as shown above). ✅ Redis supports features like eviction, expiration, pub/sub, and persistence. 📦 5. How to use Response Caching Middleware?

Short answer: Response caching caches the entire HTTP response at the server level — useful for static or rarely changing API responses. Explain a bit more Setup: builder.Services.AddResponseCaching(); var app = builder.…

ASP.NET Core MVC ASP.NET Core MVC Tutorial · MVC

Short answer: How ASP.NET Core Handles gRPC gRPC uses HTTP/2, binary serialization (Protobuf), and strongly typed contracts. Add gRPC service: builder.Services.AddGrpc(); app.MapGrpcService<MyGrpcService>(); Clients can call server methods over HTTP/2 for high-performance RPC. Use Cases: Microservices, real-time streaming, low-latency APIs.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

ASP.NET Core MVC ASP.NET Core MVC Tutorial · MVC

Short answer: Response caching caches the entire HTTP response at the server level — useful for static or rarely changing API responses.

Explain a bit more

Setup: builder.Services.AddResponseCaching(); var app = builder.Build(); pp.UseResponseCaching(); Controller Example: [ResponseCache(Duration = 60, Location = ResponseCacheLocation.Any)] [HttpGet] public IActionResult GetTime() => Ok(DateTime.Now); ✅ The response is cached for 60 seconds — subsequent requests are served faster. {

Example code

return Ok(new { Category = category, Time = DateTime.Now });
} ✅ Benefits: Works with authenticated users. Supports vary-by parameters, headers, and policies. Integrates well with minimal APIs and Razor pages. 🗜 7. How to compress responses? Use response compression middleware to reduce payload size for clients. Setup: builder.Services.AddResponseCompression(options => {
{
var data = await _service.GetDataAsync(); // Non-blocking call
return Ok(data);
} ✅ Benefits: Frees threads while waiting for I/O (e.g., DB, HTTP calls). Improves scalability and throughput. Essential for high-traffic APIs and cloud-native apps. ❌ Avoid Task.Result or .Wait() — they block threads and reduce performance. ⚡ 9. How to optimize startup performance? To improve startup and cold-boot performance: ✅ Tips:

Real-world example (ShopNest)

ShopNest admin screens use MVC: controller loads data, Razor view renders HTML, Tag Helpers build forms safely.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share
Toolliyo Assistant
Ask about tutorials, ebooks, training, pricing, mentor services, and support. I use public site content only—not admin or internal tools.

care@toolliyo.com

Need callback? Share your details