star iconstar iconstar iconstar iconstar icon

"Huge timesaver. Worth the money"

star iconstar iconstar iconstar iconstar icon

"It's an excellent tool"

star iconstar iconstar iconstar iconstar icon

"Fantastic catalogue of questions"

Ace your next tech interview with confidence

Explore our carefully curated catalog of interview essentials covering full-stack, data structures and algorithms, system design, data science, and machine learning interview questions

.NET Core

100 .NET Core interview questions

Only coding challenges
Topic progress: 0%

.NET Core Fundamentals


  • 1.

    What is .NET Core and how does it differ from the .NET Framework?

    Answer:
  • 2.

    Describe the cross-platform capabilities of .NET Core.

    Answer:
  • 3.

    What are the main components of the .NET Core architecture?

    Answer:
  • 4.

    Explain the .NET Core CLI and its primary functions.

    Answer:
  • 5.

    How do you create a new .NET Core project using the CLI?

    Answer:
  • 6.

    Discuss the purpose and use of a csproj file in a .NET Core project.

    Answer:
  • 7.

    What is the runtime and SDK in .NET Core?

    Answer:
  • 8.

    How would you manage different versions of the .NET Core SDK on the same machine?

    Answer:
  • 9.

    What is the purpose of the global.json file?

    Answer:
  • 10.

    Can you explain the Directory Structure of a typical .NET Core project?

    Answer:

.NET Core Dependencies and Libraries


  • 11.

    How do you add and manage NuGet packages in a .NET Core project?

    Answer:
  • 12.

    Explain the role of the NuGet package manager.

    Answer:
  • 13.

    Describe the process of publishing a .NET Core application.

    Answer:
  • 14.

    What is a .NET Standard and how does it relate to .NET Core?

    Answer:
  • 15.

    How do you create a class library in .NET Core?

    Answer:

.NET Core Web Development


  • 16.

    Describe the MVC pattern in .NET Core.

    Lock icon indicating premium question
    Answer:
  • 17.

    How do you set up a Web API in a .NET Core project?

    Lock icon indicating premium question
    Answer:
  • 18.

    What are middleware components in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 19.

    Explain how static files are served in a .NET Core web application.

    Lock icon indicating premium question
    Answer:
  • 20.

    Discuss the use and configuration of the appsettings.json file.

    Lock icon indicating premium question
    Answer:
  • 21.

    What is Dependency Injection (DI) in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 22.

    How do you implement custom services and use DI in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 23.

    What are environment variables and how do they work in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 24.

    How does routing work in a .NET Core MVC application?

    Lock icon indicating premium question
    Answer:
  • 25.

    What are Razor Pages in .NET Core?

    Lock icon indicating premium question
    Answer:

.NET Core Advanced Topics


  • 26.

    Explain the concept of Tag Helpers in ASP.NET Core.

    Lock icon indicating premium question
    Answer:
  • 27.

    How do you ensure the security of a .NET Core application?

    Lock icon indicating premium question
    Answer:
  • 28.

    What is an EF Core and how do you use it with .NET Core?

    Lock icon indicating premium question
    Answer:
  • 29.

    How do you handle migrations in EF Core?

    Lock icon indicating premium question
    Answer:
  • 30.

    Describe how to cache data in a .NET Core web application.

    Lock icon indicating premium question
    Answer:
  • 31.

    What are SignalR and its use cases in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 32.

    How can you build real-time applications using .NET Core?

    Lock icon indicating premium question
    Answer:
  • 33.

    Explain the role of a kestrel server in .NET Core.

    Lock icon indicating premium question
    Answer:
  • 34.

    What is Blazor and how does it integrate with .NET Core?

    Lock icon indicating premium question
    Answer:
  • 35.

    How do you perform logging in .NET Core?

    Lock icon indicating premium question
    Answer:

.NET Core Performance and Optimization


  • 36.

    What features does .NET Core include to improve application performance?

    Lock icon indicating premium question
    Answer:
  • 37.

    How can you monitor performance in a .NET Core application?

    Lock icon indicating premium question
    Answer:
  • 38.

    Discuss performance profiling tools suitable for .NET Core.

    Lock icon indicating premium question
    Answer:
  • 39.

    What is the purpose of asynchronous programming in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 40.

    How do you identify and resolve memory leaks in a .NET Core application?

    Lock icon indicating premium question
    Answer:

.NET Core Testing and Debugging


  • 41.

    How do you write unit tests in a .NET Core application?

    Lock icon indicating premium question
    Answer:
  • 42.

    Describe the use of xUnit, NUnit, and MSTest Frameworks.

    Lock icon indicating premium question
    Answer:
  • 43.

    What are Integration Tests and how do they differ from Unit Tests?

    Lock icon indicating premium question
    Answer:
  • 44.

    Explain the use of the Logging API for troubleshooting.

    Lock icon indicating premium question
    Answer:
  • 45.

    What is the TDD approach and how can it be implemented in .NET Core development?

    Lock icon indicating premium question
    Answer:

.NET Core Deployment and Configuration


  • 46.

    What is Docker and how can it be used with .NET Core?

    Lock icon indicating premium question
    Answer:
  • 47.

    How can you deploy a .NET Core application to the cloud (e.g., Azure)?

    Lock icon indicating premium question
    Answer:
  • 48.

    What are some common security considerations when deploying a .NET Core application?

    Lock icon indicating premium question
    Answer:
  • 49.

    Discuss the strategies for scaling .NET Core applications.

    Lock icon indicating premium question
    Answer:
  • 50.

    How do you configure HTTPS and SSL in a .NET Core Web Application?

    Lock icon indicating premium question
    Answer:

.NET Core and Cloud Integration


  • 51.

    Explain how you can integrate Azure services into a .NET Core application.

    Lock icon indicating premium question
    Answer:
  • 52.

    How do you use Azure DevOps for CI/CD with a .NET Core project?

    Lock icon indicating premium question
    Answer:
  • 53.

    What are the best practices for building a microservices architecture in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 54.

    How does .NET Core work with container orchestration tools like Kubernetes?

    Lock icon indicating premium question
    Answer:
  • 55.

    Describe serverless computing with .NET Core on platforms like AWS Lambda.

    Lock icon indicating premium question
    Answer:

.NET Core Data Access


  • 56.

    How do you work with databases using Entity Framework Core?

    Lock icon indicating premium question
    Answer:
  • 57.

    What is the purpose of the DbContext in EF Core?

    Lock icon indicating premium question
    Answer:
  • 58.

    Explain the Code-First and Database-First approaches in EF Core.

    Lock icon indicating premium question
    Answer:
  • 59.

    How do you handle database transactions in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 60.

    Discuss using Dapper as an alternative to Entity Framework in _.NET Core applications.

    Lock icon indicating premium question
    Answer:

.NET Core Design Patterns and Practices


  • 61.

    What are some popular design patterns used in .NET Core applications?

    Lock icon indicating premium question
    Answer:
  • 62.

    How do you implement Repository and Unit of Work patterns in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 63.

    Explain CQRS and how it applies to .NET Core.

    Lock icon indicating premium question
    Answer:
  • 64.

    Discuss the importance of domain-driven design (DDD) in .NET Core.

    Lock icon indicating premium question
    Answer:
  • 65.

    How does .NET Core support the SOLID principles in software development?

    Lock icon indicating premium question
    Answer:

.NET Core Interoperability and Legacy Systems


  • 66.

    How can you integrate a .NET Core application with legacy .NET Framework apps?

    Lock icon indicating premium question
    Answer:
  • 67.

    Can you consume COM objects in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 68.

    Discuss strategies for migrating from .NET Framework to .NET Core.

    Lock icon indicating premium question
    Answer:
  • 69.

    What are the challenges associated with interoperability in .NET Core?

    Lock icon indicating premium question
    Answer:

.NET Core CLI and Tools


  • 70.

    How do you manage user secrets in development with the .NET Core CLI?

    Lock icon indicating premium question
    Answer:
  • 71.

    What is the watch command in the .NET Core CLI and when would you use it?

    Lock icon indicating premium question
    Answer:
  • 72.

    Explain the dotnet ef CLI tool and its primary uses.

    Lock icon indicating premium question
    Answer:
  • 73.

    Describe the use of scaffolding in .NET Core.

    Lock icon indicating premium question
    Answer:
  • 74.

    How do you use the CLI to run and debug .NET Core applications?

    Lock icon indicating premium question
    Answer:

.NET Core Configuration and Settings


  • 75.

    How do you manage configurations and settings in .NET Core for multiple environments?

    Lock icon indicating premium question
    Answer:
  • 76.

    What is an IOptions pattern and how can it be used for configuration?

    Lock icon indicating premium question
    Answer:
  • 77.

    Describe the role and configuration of middleware in .NET Core.

    Lock icon indicating premium question
    Answer:
  • 78.

    Explain how Configuration Builders are used in .NET Core.

    Lock icon indicating premium question
    Answer:
  • 79.

    How do you read command-line arguments in a .NET Core application?

    Lock icon indicating premium question
    Answer:

.NET Core and Security


  • 80.

    How does .NET Core handle authentication and authorization?

    Lock icon indicating premium question
    Answer:
  • 81.

    What is the Identity system in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 82.

    Describe how to implement JWT authentication in .NET Core.

    Lock icon indicating premium question
    Answer:
  • 83.

    Discuss the use of HTTPS redirection and HSTS in .NET Core apps.

    Lock icon indicating premium question
    Answer:
  • 84.

    How can you secure API endpoints in .NET Core?

    Lock icon indicating premium question
    Answer:

Contemporary .NET Core


  • 85.

    What is the future of .NET Core with upcoming releases of .NET 5 and later?

    Lock icon indicating premium question
    Answer:
  • 86.

    How has the introduction of .NET 5 changed the way .NET Core is used?

    Lock icon indicating premium question
    Answer:
  • 87.

    Discuss the role of .NET Core in IoT development.

    Lock icon indicating premium question
    Answer:
  • 88.

    What impact does .NET Core have on desktop application development with technologies like MAUI?

    Lock icon indicating premium question
    Answer:
  • 89.

    Explain the support for gRPC in .NET Core.

    Lock icon indicating premium question
    Answer:

.NET Core and Front-End Frameworks


  • 90.

    How can you integrate Angular, React, or Vue.js with a .NET Core Web API?

    Lock icon indicating premium question
    Answer:
  • 91.

    What is a SPA (Single Page Application) template in .NET Core?

    Lock icon indicating premium question
    Answer:
  • 92.

    Discuss server-side rendering with JavaScript frameworks in the context of .NET Core.

    Lock icon indicating premium question
    Answer:

.NET Core Advanced Features


  • 93.

    What new features are introduced in the latest version of .NET Core?

    Lock icon indicating premium question
    Answer:
  • 94.

    How does .NET Core support machine learning with ML.NET?

    Lock icon indicating premium question
    Answer:
  • 95.

    Discuss Source Generators and their use in .NET Core.

    Lock icon indicating premium question
    Answer:
  • 96.

    What are dynamic compilations and how does .NET Core handle them?

    Lock icon indicating premium question
    Answer:
  • 97.

    Explain the support for local functions in .NET Core.

    Lock icon indicating premium question
    Answer:
  • 98.

    Discuss null reference types in C# 8.0 and how they affect .NET Core development.

    Lock icon indicating premium question
    Answer:

.NET Core Community and Support


  • 99.

    How does the .NET Core open source community contribute to the framework’s development?

    Lock icon indicating premium question
    Answer:
  • 100.

    Discuss the support options available for .NET Core developers.

    Lock icon indicating premium question
    Answer:
folder icon

Unlock interview insights

Get the inside track on what to expect in your next interview. Access a collection of high quality technical interview questions with detailed answers to help you prepare for your next coding interview.

graph icon

Track progress

Simple interface helps to track your learning progress. Easily navigate through the wide range of questions and focus on key topics you need for your interview success.

clock icon

Save time

Save countless hours searching for information on hundreds of low-quality sites designed to drive traffic and make money from advertising.

Land a six-figure job at one of the top tech companies

amazon logometa logogoogle logomicrosoft logoopenai logo
Ready to nail your next interview?

Stand out and get your dream job

scroll up button

Go up