FullStackFSCCafé
 
 
Sign in with GoogleSign in with Google. Opens in new tab
Kill Your Tech Interview
3877 Full-Stack, Algorithms & System Design Interview Questions
Answered To Get Your Next Six-Figure Job Offer
      
🤖 Having Machine Learning & DS Interview? Check  MLStack.Cafe - 1704 Data Science & ML Interview Questions & Answers!Having ML & DS Interview? Check 🤖 MLStack.Cafe - 1704 ML & DS Interview Questions and Answers

Top 54 ASP.NET Interview Questions

Entry Junior Mid Senior Expert
Sign in with GoogleSign in with Google. Opens in new tab
Topic Progress:
Q1:   

What is ViewData?

  
Add to PDF   Entry 
Q2:   

What is the difference between ASP.NET and ASP.NET MVC?

  
Add to PDF   Junior 
Q3:   

What is Generic Host in .NET Core?

  Related To: .NET Core
Add to PDF   Junior 
Q4:   

Talk about Logging in ASP.NET Core?

  
Add to PDF   Junior 
Q5:   

What is ASP.NET Core?

  
Add to PDF   Junior 
Q6:   

Can ASP.NET Core work with the .NET framework?

  
Add to PDF   Junior 
Q7:   

What is ViewState?

  
Add to PDF   Junior 
Q8:   

Explain startup process in ASP.NET Core?

  
Add to PDF   Junior 
Q9:   

What exactly is an application pool? What is its purpose?

  
Add to PDF   Junior 
Q10:   

What is a postback?

  
Add to PDF   Junior 
Q11:   

Explain Middleware in ASP.NET Core?

  
 Add to PDF   Mid 
Q12:   

Explain the use of BackgroundService class in Asp.Net Core?

  Related To: .NET Core
 Add to PDF   Mid 
Q13:   

What is the correct pattern to implement long running background work in Asp.Net Core?

  Related To: .NET Core
 Add to PDF   Mid 
Q14:   

In OOP, what is the difference between the Repository Pattern and a Service Layer?

  Related To: ASP.NET MVC, Design Patterns, Software Architecture, ASP.NET Web API
 Add to PDF   Mid 
Q15:   

What are some benefits of using Options Pattern in ASP.NET Core?

  Related To: .NET Core
 Add to PDF   Mid 
Q16:   

How can you create your own Scope for a Scoped object in .NET?

  Related To: .NET Core, Dependency Injection
 Add to PDF   Mid 
Q17:   

What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState?

  
 Add to PDF   Mid 
Q18:   

List the events in ASP.NET page life cycle

  
 Add to PDF   Mid 
Q19:   

Explain usage of Dependency Injection in ASP.NET Core

  
 Add to PDF   Mid 
Q20:   

Where the viewstate is stored after the page postback?

  
 Add to PDF   Mid 
Q21:   

What are the different validators in ASP.NET?

  
 Add to PDF   Mid 
Q22:   

What exactly is the difference between .NET Core and ASP.NET Core?

  
 Add to PDF   Mid 
Q23:   

What are the different types of caching?

  
 Add to PDF   Mid 
Q24:   

In which event of page cycle is the ViewState available?

  
 Add to PDF   Mid 
Q25:   

What is the difference between Server.Transfer and Response.Redirect?

  
 Add to PDF   Mid 
Q26:   

What are the sub types of ActionResult?

  
 Add to PDF   Mid 
Q27:   

What is the meaning of Unobtrusive JavaScript?

  
 Add to PDF   Mid 
Q28:   

How can we prevent browser from caching an ASPX page?

  
 Add to PDF   Mid 
Q29:   

What is new in ASP.NET Core 2, compared to ASP.NET Core 1?

  
 Add to PDF   Mid 
Q30:   

Explain JSON Binding?

  
 Add to PDF   Mid 
Q31:   

What is the difference between Hosted Services vs Windows Services?

  Related To: .NET Core
 Add to PDF   Senior 
Q32:   

What is the difference between Hosted Services vs WebJobs?

  
 Add to PDF   Senior 
Q33:   

What is the difference between IHost vs IHostBuilder vs IHostedService?

  Related To: .NET Core
 Add to PDF   Senior 
Q34:   

What is the difference between classic and integrated pipeline mode in IIS7?

  
 Add to PDF   Senior 
Q35:   

What is the difference between <system.web> and <system.webServer>?

  
 Add to PDF   Senior 
Q36:   

What is an HttpHandler in ASP.NET? Why and how is it used?

  
 Add to PDF   Senior 
Q37:   

When using DI in Controller shall I call IDisposable on any injected service?

  Related To: .NET Core, Dependency Injection
 Add to PDF   Senior 
Q38:   

What is the difference between ASP.NET Core Web (.NET Core) vs ASP.NET Core Web (.NET Framework)?

  
 Add to PDF   Senior 
Q39:   

How we can force all the validation controls to run?

  
 Add to PDF   Senior 
Q40:   

When to use Transient vs Scoped vs Singleton DI service lifetimes?

  Related To: .NET Core, Dependency Injection
 Add to PDF   Senior 
Q41:   

How to choose between ASP.NET 4.x and ASP.NET Core?

  
 Add to PDF   Senior 
Q42:   

Is it possible to create web application with both WebForms and MVC?

  Related To: ASP.NET MVC
 Add to PDF   Senior 
Q43:   

What is the difference between web config and machine config?

  
 Add to PDF   Senior 
Q44:   

What is Katana?

  
 Add to PDF   Senior 
Q45:   

What is HttpModule in ASP.Net?

  
 Add to PDF   Senior 
Q46:   

Which type if caching will be used if we want to cache the portion of a page instead of whole page?

  
 Add to PDF   Senior 
Q47:   

What are the different types of cookies in ASP.NET?

  
 Add to PDF   Senior 
Q48:   

What are the different Session State management options available in ASP.NET?

  
 Add to PDF   Senior 
Q49:   

What is the equivalent of WebForms in ASP.NET Core?

  
 Add to PDF   Expert 
Q50:   

What exactly is OWIN and what problems does it solve?

  
 Add to PDF   Expert 
Q51:   

Are static class instances unique to a request or a server in ASP.NET?

  
 Add to PDF   Expert 
Q52:   

Explain some deployment considerations for Hosted Services

  Related To: .NET Core
 Add to PDF   Expert 
Q53:   

What is Cross Page Posting?

  
 Add to PDF   Expert 
Q54:   

Name some ASP.NET WebForms disadvantages over MVC?

  
 Add to PDF   Expert 
 

Rust has been Stack Overflow’s most loved language for four years in a row and emerged as a compelling language choice for both backend and system developers, offering a unique combination of memory safety, performance, concurrency without Data races...

Clean Architecture provides a clear and modular structure for building software systems, separating business rules from implementation details. It promotes maintainability by allowing for easier updates and changes to specific components without affe...

Azure Service Bus is a crucial component for Azure cloud developers as it provides reliable and scalable messaging capabilities. It enables decoupled communication between different components of a distributed system, promoting flexibility and resili...

Cosmos DB has gained popularity among developers and organizations across various industries, including finance, e-commerce, gaming, IoT, and more. Follow along and learn the 24 most common and advanced Azure Cosmos DB interview questions and answers...
More than any other NoSQL database, and dramatically more than any relational database, MongoDB's document-oriented data model makes it exceptionally easy to add or change fields, among other things. It unlocks Iteration on the project. Iteration f...
Unit Tests and Test Driven Development (TDD) help you really understand the design of the code you are working on. Instead of writing code to do something, you are starting by outlining all the conditions you are subjecting the code to and what outpu...
Domain-Driven Design is nothing magical but it is crucial to understand the importance of Ubiquitous Language, Domain Modeling, Context Mapping, extracting the Bounded Contexts correctly, designing efficient Aggregates and etc. before your next DDD p...
At its core, Microsoft Azure is a public cloud computing platform - with solutions including Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS) that can be used for services such as analytics, virtual c...
As an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications. Follow along to refresh your knowledge and explore the 52 most frequently asked and advanced Node JS Interview Questions and Answers every...
Dependency Injection is most useful when you're aiming for code reuse, versatility and robustness to changes in your problem domain. DI is also useful for decoupling your system. DI also allows easier unit testing without having to hit a database and...