.NET full stack developer interview questions and answers

.NET full stack developer interview questions follow one feature across the Microsoft stack: an Angular, React or Blazor screen, an ASP.NET Core API with validation and auth, EF Core queries against SQL Server, and a pipeline that tests and deploys it. Expect C# coding, questions on how the front end and API agree on contracts and errors, data access pitfalls such as N+1 queries and concurrency conflicts, and a design round for a small business app. Teams hire people who can ship a whole slice without leaving gaps between the layers.

By Published 8 min read

What a .NET full stack developer does

Most .NET full stack jobs are line-of-business software: portals, dashboards, back-office tools, booking and ordering systems, and internal APIs. You build screens in a JavaScript framework or Blazor, write ASP.NET Core endpoints in C#, model data with EF Core on SQL Server or another relational database, and deploy, often to Azure or on-premises Windows and Linux servers. Many teams also own background jobs, reports and integrations with other systems.

Interviewers expect less depth than a back end specialist on runtime internals, which the .NET interview questions page covers, and more Microsoft-specific detail than a stack-neutral full stack developer interview. The question behind most of the round is simple: can you deliver a working feature where the screen, the API and the database agree?

How .NET full stack interviews are usually structured

  1. Recruiter screenYour C# experience, which front end framework you use, SQL Server or other databases, and cloud or hosting experience.
  2. Technical interviewQuestions across C#, ASP.NET Core, EF Core, SQL and the front end, often driven by your résumé projects.
  3. Coding round or take-homeA small CRUD API with validation and tests, a bug to fix in an existing solution, a SQL query, or a front end component that calls an API.
  4. Design discussionSketch a small app such as a leave request system: entities, endpoints, auth, screens and deployment.
  5. BehavioralWorking with product owners and QA, handling production incidents, and code review habits.

API and ASP.NET Core questions

Back end questions for full stack roles
QuestionWhat it testsWhat a strong answer shows
Controllers or minimal APIs: which would you pick for a new service?Framework judgmentEither works; controllers suit larger apps with filters and conventions, minimal APIs suit small focused services. Consistency with the codebase matters most
Why return DTOs instead of EF entities?ContractsAvoids leaking columns, over-posting and lazy-loading surprises, and lets the API contract change separately from the schema
How do you validate a request?ValidationData annotations or a validation library on the DTO, automatic 400 responses with a problem details body, and repeat key checks in the domain
How do you return consistent errors to the front end?Error contractProblem details for every failure, global exception handling, and error codes the UI can map to messages
What lifetimes do you give a DbContext and an HttpClient?DI basicsDbContext scoped per request; HttpClient through IHttpClientFactory or typed clients rather than new instances per call
How do you handle a slow call to another service?ResilienceAsync all the way, timeouts, retries with backoff for safe operations, and a clear message to the user if it fails
Where does business logic live?LayeringIn services or the domain, not controllers or UI components, so it can be tested and reused
How do you version an API used by a SPA and a mobile app?CompatibilityAdditive changes first, a version in the URL or header when breaking, and a deprecation window
Back end questions for full stack roles. Scroll sideways on a small screen.
app.MapGet("/api/orders", async (int page, int size, AppDb db) =>
{
    size = Math.Clamp(size, 1, 100);
    var items = await db.Orders
        .AsNoTracking()
        .OrderByDescending(o => o.CreatedAt)
        .Skip((page - 1) * size)
        .Take(size)
        .Select(o => new OrderDto(o.Id, o.Customer.Name, o.Total, o.Status))
        .ToListAsync();
    return Results.Ok(items);
});
A paged, read-only endpoint (illustrative, minimal API style)

Interviewers like to ask what this snippet does well and what is missing. Good points: no tracking for a read, a projection so only needed columns are loaded, a capped page size and a stable sort. Missing: authorization, validation that page is at least 1, a total count or cursor for the UI, and an index on the sort column.

Data and EF Core questions

  • What is an N+1 query and how do you spot it in EF Core? One query for a list, then one per row for related data. Log the generated SQL in development and fix it with a projection or Include.
  • Two users edit the same record. How do you stop one from silently overwriting the other? Add a concurrency token such as a rowversion column, catch the concurrency exception and return a conflict the UI can show with the latest values.
  • How do you run migrations in production? Generate and review SQL scripts or a migration bundle, run them as a deploy step, and avoid applying migrations automatically at app startup on multi-instance hosts.
  • When would you drop down to raw SQL or Dapper? Heavy reporting queries, bulk operations or a query EF translates poorly, while keeping parameters to avoid injection.
  • How do you design an index for a search screen? Look at the filters and sort the screen actually uses, check the execution plan, and avoid indexing everything.
  • What does AsNoTracking change? EF does not track the returned entities, which saves memory and time for read-only queries, but changes to them will not be saved.
  • How do you handle soft deletes? A flag plus a global query filter, with care in reports and unique constraints.

Front end questions

Front end questions by stack
QuestionWhat it testsWhat a strong answer shows
How does your Angular or React app call the API and handle errors?IntegrationA typed API client or service, interceptors for tokens and errors, loading and empty states, and user-friendly messages from the problem details body
How do you keep front end and back end models in sync?ContractsGenerate TypeScript clients from the OpenAPI description, or share models in Blazor, and fail the build when they drift
How do you validate a form on both sides?Defense in depthClient validation for fast feedback, server validation as the source of truth, and showing server errors on the right fields
When would you choose Blazor over Angular or React?Stack choiceA C# team, internal apps, shared models; weigh payload size, hosting model and the hiring pool. Blazor offers server and WebAssembly rendering, and newer versions let you choose per component
How do you manage state in a large SPA?ArchitectureServer state with a caching library or services, local UI state in components, and a store only where many screens share it
How do you keep a list screen fast with thousands of rows?PerformanceServer-side paging, filtering and sorting, virtualization for long lists, and debounced search
Front end questions by stack. Scroll sideways on a small screen.

Security, real time and deployment questions

  • Cookies or JWT for a SPA on the same domain? Cookie auth with HttpOnly and SameSite settings plus antiforgery is often simpler and safer on the same site; tokens fit when APIs serve several clients or domains. Explain the trade-off rather than declaring a winner.
  • What is CORS and how do you configure it? A browser rule for cross-origin calls; allow only known origins, methods and headers in a named policy, never a wildcard with credentials.
  • How do you protect an endpoint so users only see their own data? Authorization policies plus filtering by the user's ID or tenant in every query, and tests that try to read someone else's record.
  • How would you push live updates to the browser? SignalR for real-time messages, with a fallback refresh, and thought about scaling across several servers.
  • How do you upload large files? Stream to blob storage, limit size and type, scan if required, and store only metadata in the database.
  • What does your CI pipeline run? Build, unit tests, integration tests with WebApplicationFactory against a test database, front end tests and linting, then deploy to a staging slot or environment.
  • How do you find the cause of a production error? Structured logs with a correlation ID from the browser to the database, application monitoring, and a reproduction in a lower environment.

Fictional example

Answering "Tell me about a feature you built end to end"
I built bulk approval for expense claims. Managers had to open each claim to approve it, which took them up to an hour on busy days. On the Angular side I added a selectable table with server-side paging and a confirm dialog listing the totals. The API got a POST endpoint taking a list of claim IDs with their rowversion values. In one transaction it checked that each claim belonged to the manager's team and was still pending, approved the valid ones and returned a result per claim, so the UI could show which ones changed under them. I capped a request at 200 claims and added an index on status and manager. Integration tests covered another team's claim, a stale rowversion and an empty list. After release, managers told us approval time dropped a lot, and support tickets about double approvals stopped.

C# and behavioral questions to practice

  • What is the difference between IEnumerable and IQueryable when querying with EF Core?
  • Why should you avoid .Result or .Wait() on tasks in ASP.NET Core code?
  • What are records good for in a web app?
  • How do nullable reference types change how you write DTOs?
  • Tell me about a production bug that crossed the front end and the API. How did you find it?
  • Describe a code review comment that changed your mind.
  • How do you estimate a feature that touches the database, API and UI?

For deeper C# language questions see the C# interview questions, and for data access internals the Entity Framework interview questions.

A two-week preparation plan

  1. Days 1 to 4: build a small sliceAn ASP.NET Core API with one entity, validation, problem details, auth and paging, plus a screen in the framework the employer uses.
  2. Days 5 to 7: dataPractice EF Core projections, concurrency tokens and migrations, and write three SQL queries by hand: a join with grouping, a window function and a paged query.
  3. Days 8 to 10: tests and deploymentAdd unit and integration tests, and describe how you would deploy it with a CI pipeline.
  4. Days 11 to 14: stories and designPrepare two end-to-end feature stories and practice drawing a small business app with its entities, endpoints and screens.

Full stack rounds jump between layers, and it is easy to forget the auth or error story when you are focused on code. Natively, an AI interview assistant for Mac and Windows, transcribes your mock interviews so you can see which layer you skipped. In practice it can read a coding task from a screenshot, help with C# or TypeScript, and suggest answers shaped by your résumé and the job post when you add them (Pro or the free trial). Reread the saved transcript after each session.

Questions people ask

What questions are asked in a .NET full stack developer interview?

Expect C# and ASP.NET Core questions, EF Core data access such as N+1 queries and concurrency, a front end framework such as Angular, React or Blazor, auth and CORS, testing and CI, plus a coding task and a small design discussion.

Which front end framework should I prepare for?

The one in the job posting. Many .NET teams use Angular or React, and some use Blazor. If the posting is vague, ask the recruiter before you prepare.

How is a .NET full stack interview different from a .NET backend interview?

It spends less time on runtime internals and more on the seams between layers: API contracts, validation on both sides, error handling in the UI and auth across the browser and server.

What project should I talk about?

One feature you built end to end, from table and query through the API to the screen, with the trade-offs you made and how you tested it.

Where to go next

Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.

Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.

Keep reading

Put it on your own machine.

A live-conversation assistant that runs locally. Your conversations stay on your machine.

macOS 12+ · Windows 10/11

© 2026 Natively AI Private Limited

Source-available under the Natively Personal Use Source License v1.0 · IP geolocation by DB-IP