0% found this document useful (0 votes)
51 views2 pages

Dotnet Interview

The document outlines various topics related to .NET application development, including file scope namespace, JWT handshake functions, and security practices against SQL injection and XSS. It covers core framework understanding, advanced topics like async/await and LINQ, design patterns, troubleshooting techniques, recent .NET features, and security practices. Each section includes specific questions aimed at assessing knowledge and understanding of .NET technologies.

Uploaded by

Raid Rab Nawaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views2 pages

Dotnet Interview

The document outlines various topics related to .NET application development, including file scope namespace, JWT handshake functions, and security practices against SQL injection and XSS. It covers core framework understanding, advanced topics like async/await and LINQ, design patterns, troubleshooting techniques, recent .NET features, and security practices. Each section includes specific questions aimed at assessing knowledge and understanding of .NET technologies.

Uploaded by

Raid Rab Nawaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

What is file scope namespace?

What are five functions of JWT handshake I think.


How would you prevent SQL injection cross sitescriptingand.net application?
OLAP and OLTP
Indexes in SQL server
1. Core Framework Understanding (CLR, CTS, Memory Management)

Explain the role of CLR in .NET applications.


What is the CTS (Common Type System), and why is it important in .NET?
Describe the garbage collection process in .NET. How does it manage memory?
When should you implement IDisposable, and how does the using statement help with
resource management?

2. Advanced Topics (.NET Async, LINQ, Dependency Injection)

How does async/await work in C#? What happens internally when you use it?
Explain how LINQ queries are executed. What’s the difference between
IEnumerable<T> and IQueryable<T>?
What is Dependency Injection (DI) in ASP.NET Core? How does it improve code
maintainability?
Can you explain middleware in ASP.NET Core? How do you create a custom
middleware?

3. Design Patterns (Middleware Pipeline, Repository, Unit of Work)

Describe the middleware pipeline in ASP.NET Core and its lifecycle.


What is the Repository Pattern? How does it differ from a direct database call?
Explain the Unit of Work pattern. How does it help in transaction management?
How would you design a scalable architecture for an enterprise .NET application?

4. Troubleshooting (Debugging, Performance Optimization, Common Issues)

How do you debug a .NET application that crashes unexpectedly in production?


What are some best practices for improving application performance in .NET?
How do you profile and optimize a slow-performing API in ASP.NET Core?
Explain a time when you faced and resolved a NullReferenceException. How did you
approach it?

5. Recent .NET Features (.NET 6/7/8, Minimal APIs, Source Generators)

What are Minimal APIs in .NET 6/7? When would you use them instead of MVC?
What are source generators in C#? How do they improve performance and reduce
runtime overhead?
Explain the performance improvements introduced in .NET 6/7/8.
What is FileScopedNamespace in .NET 6, and why was it introduced?
6. Security Practices (Authentication, Authorization, Secure Coding)

How would you secure an ASP.NET Core Web API from unauthorized access?
What are some common security vulnerabilities in .NET applications, and how do you
prevent them?
How does OAuth2 and JWT work for authentication in .NET applications?
How would you prevent SQL Injection and Cross-Site Scripting (XSS) in a .NET
application?

You might also like