0% found this document useful (0 votes)
63 views

Exp:0-10 Yrs Difficulty Level: Easy To Moderate: Common and Random Questions

This document contains a list of common interview questions for .NET developers. It includes questions about C#, .NET Core, SQL Server, JavaScript, and general development topics like architecture, security, and agile methodologies. The questions cover a range of topics from basic concepts to more advanced techniques and design patterns.

Uploaded by

Riya Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Exp:0-10 Yrs Difficulty Level: Easy To Moderate: Common and Random Questions

This document contains a list of common interview questions for .NET developers. It includes questions about C#, .NET Core, SQL Server, JavaScript, and general development topics like architecture, security, and agile methodologies. The questions cover a range of topics from basic concepts to more advanced techniques and design patterns.

Uploaded by

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

Cloud Made Easy

.Net Developer Interview Question for Service based and Semi Product based companies
Exp :0-10 Yrs
Difficulty level : Easy to moderate

Common and Random questions

1. ref and out parameter


2. cohesion and coupling
3. Output parameter in Sql Server
4. Can UDF call an SP (No)
5. Can we create an Index in view (Yes)
6. Can we update a SQL view(Yes if its a simple view without joining then the underline
table would be updated, If joining exists then it will throw an error)
7. Tuple and Indexer in c# (by using tuple we can return multiple values from a
method)
8. C# program to prime number check and Fibonacci series (using recursion)
9. C# program to remove duplicate from a string array
10. Difference between Events and Delegate (How publisher and subscriber works)
11. C# program to reverse a string
12. optional parameter in C#
13. New feature of C# 9 (Document data type, make Set property constant using init)

1. Explain the project architecture and deployment process that you have just finished
2. Explain the security mechanism of your project (JWT auth token)
3. How did you handle users session in your project
4. Do you know how agile/Kanban/Scrum works?
5. If yes can you tell the list of scrum ceremonies?

.Net and C#

1. What is an abstraction(Scope of Private /Public/Internal)?


2. If I don't define an access modifier what is the default access specifier for class and
properties/variable(Internal for class /Private for the properties)
3. Difference between static /read-only/ Const
4. Sealed class real-life use
5. Difference between Interface and abstract class
6. What is boxing and unboxing (Object to value type , value type to object type conversion )
7. Extension method
8. Garbage collection technique with Generation (0,1,2..)/IDisposable /Gc.Finalize() /using
block
9. Exception handling, the difference between throw, throw new, and throw an exception,
use of finally block
10. USe of .net collection(array list) and generic collection (List , dictionary ) . How to inerate
dictionary (KeyValuePair)
11. Real use of delegates (Delegate reference can be passed as a method parameter, also
delegate provides a callback function)
12. Generic class and generic method
13. SOLID Principle
14. DI technique (Constructor injection, Property injection/Method injection) Only prepare
for COnstructor injection
15. ANy design patter that you have worked with (Singleton ,Repository )
16. If you use singleton then why have you used singleton when a static method can do the
exact same(Lazy loading, Singleton class ref can be passed as a parameter)
17. Use of singleton (Data caching, Thread safety, to log data )
18. What if I have used an abstract class instead of the interface in the repository design
pattern
19. How to save data using Repository or EF (Unit OF work if implemented)
20. Difference between IEnumerable vs IQueryable s
21. String vs StringBuilder /string vs String, Int32 vs int
22. Use of Task parallel library (with waitAll, WaitAny cancellation token)
23. Async vs Await
24. .Net framework history (2.0,3,3.5.4,4.5) -> Only whats new feature added , Like
LINQ,TPL,Tread
25, JIT, CLR, How the .net code gets compliied
26. Polymorphism (Compile-time ,runtime ), Difference between marking a method as
virtual or new
27. == vs .equals()
28. Nullable datatype (?)
29. Advantages of property over variable
30. Difference between lazy and eager loading .
31.Have you used any ORM framework (EF, nhibernate,dapper)
32. EF Code fast vs DB fast vs model fast approach (example )
33. How to enable lazy loading in Entity Framework (EF)

.Net core and Microservice MVC


1. .Net core structure vs .net 4.5 project sturture
2. Advantages of .net core over normal .net framework
3. Dependency injection in .net (Difference between Scope ,Transient,Singleton)
4. Middleware and execution flow of middleware
5. .Net core hosting model (OutOfProcess and InProcess hosting/Kestrel Web Server vs IIS)
6. Filters in web api/MVC
7. Can an Action method of web /api or mvc ovrloaded (Yes but need to use ActionName to
give a different name)
8. MVC : ViewBag/View Data/ Temp Data (How to keep the data in TempData even after
read. )
9. MVC /Web API routing mechanism
10. Advantages of microservice ,
11. How can one microservice all another microservice (RPC Call)
12. Different between POST(only create, return URL is not same)/PUT(Create plus update
and return URL is same)/Patch (customize update )
13. Layout page in MVC
14.Scaffoldin in MVC
15. AAA approach in Unit testing
SQL Server:
1.3NF and BCNF
2. ACID property
3. Transaction in sql server
4. Difference between PK and Unique Key(can hold one null value), Clustered index (Primary
Key) and Non clustered Index ,Delete vs truncate
5. How to optimize SQL query (Replace sub-queries with joinings, avoid use cursor ,avoid
use the same table multiple time in joining condition, try to join on the column having
indexing present)
6. Do you know any performance-based joining in SQL server (Hash join ,Mrge join Loop
join-> Not required at your level)
7.Difference between Temp and Global table with scope # and ## table
8. what is table variable @table
9.DIfference between SP and UDF
10. Types of joining in SQL server (including Cross join)
11. Union vs Union all
12. Views (including Index view).
13.Common table expression with scope
14. Foreign key , key constraint
15. Aggregate function
16 User-defined datatype in sql ( Not required at your level)
17. Auto identity column
18. Some common queries
a. Self join
b. Find duplicate /delete duplicate data from the table
19. Rank() ,Row number dense rank( Not required at your level)
20. Trigger and cursor just definition and types. the cursor can be replaced with while loop
21. Copy one table data into another with structure (select into)

JS
1. Difference between $ (document).ready () and $ (window).load ()
2. Can we have multleple $ (document).ready () (Yes)
3. Difference between == and ===

Some more question


1. How can you show lots of data on a page (Grid view with pagination enabled )
2. What is modal pop-up.. How can you fire a modal popup
3.Linq Simple query and Left join of LINQ

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy