interview questions
Real questions, asked on interview:
OOP
- What is compostion over inheritance?
- What is difference between struct and class? Why we use one or another?
- Which design patterns you used?
- Inversion of control and dependency injection
- Why we use static class or static method?
- Difference between overloading and overriding
- Didderence between Abstract class and interface
- What is SOLID?
- What is Singleton?
- What is Factory design pattern?
- Differenve between Dependency Inversion and Dependency Injection?
- Why you need Singleton in your application?
- Did you use Strategy pattern?
- What is Encapsulation, Abstraction, Inheritance and Polymorphism?
- Which order called constructor in base and child class?
- What is Decorator design pattern?
.NET C#
- Entify framework: pro and cons
- Unit tests, how they change process of development?
- Add new functionality withour breaking existing
- Two pays of passing parameters to query using ADO.NET
- What is serverless and why we use it?
- What is ‘using’ in C#?
- What is disposible?
- Difference between dispose and desctructor
- Difference betwnn IEnumerable and IQuerable
- Difference between String and StringBuilder
- String, is it reference or value type?
- What is nullable and why to use them?
- How to use conteiner for DI?
- How we use Singleton in DI?
- Name of container in DI
- Why we use interfaces in DI?
- Difference betwwen ref and out parameters
- How to keep session in MVC Core?
- Waht is difference between .NET and .NET Core?
- What is difference between TempData and ViewData?
- How to calculate number of visitors in MVC?
- What’s new in .NET Core 3.x?
- How SignalR works?
- How to use ajax in MVC?
- Routing in MVC
- What is CLR?
- What is GAC?
- Can we use Unit Tests for private methods?
- What is difference between .NET Core and .NET Standard?
- Did you use TPL?
- Multiple inherinace in C#?
- When you prefer ADO.NET or ORM (EF)?
- What is delegate?
- What is difference between Func and Action delegate?
- What is difference between Predicate, Converter and Comparison delegate?
- What is anonymous types in c#?
- How to parce Json?
- How to prevent double submission in MVC?
- How to validate information in MVC?
- What rules you have to write clean code?
- How to use GPU in .NET?
- What is deadlock?
- How to prevent deadlock?
- Weite Fibonacci function
- Which data structure use for file system modeling?
- What do you like in C#?
- Difference between Managed and Unmanaged code in .NET
- Difference between Hashtable and Dictionary in C#
- What is reflection?
- how to check is string empty or null
- check if string contain some text
- What is inteface?
- What is diffence using async for for I/O and CPU bound operations?
- What is generic and why we use it?
- When this keyword used in c# in static method?
ASP.NET
- InProcess And OutOfProcess difference
- Run Application Pool under specific identity
- Session in ASP.NET
- What is cookieless session in asp.net?
- What is difference between HttpHandler and HttpModule?
- Did you use SSO?
- Exception handling in ASP.NET
- What is minifing and bundling files?
- What is the difference between Web farm and Web Garden?
- How to send HttpWebRequest with Client Certificates?
- How to secure you web application?
- How works ASP.NET Core Blazor JavaScript interop?
- How to preveny SQL injection in EF?
- How to integrate backend with frontend?
- How you use RabitMQ?
- Why .NET Core is cross platform?
- Difference .NET Core and .NET Framework
- What is responsice design?
- Did you use accessibility design?
- Which tools you can use for bindling?
Web Services, Web API, WCF
- Which verbs are used in Web API?
- Can we use HttpPost to get info?
- Can we use Get to rend request in body?
- How to log every request?
- How to do autentification in Web Api?
- How to catch exeptions in Web Api?
- What is Web API gateway?
- How to use autentifiacation in Web API?
- How to use MFA?
- How to use cache in Web API?
- How to clean up cache?
- Pading data in Web API.
- In which .NET version Web API started?
- How to get data from Web Api?
- Difference between WCF and Web API
- How to use WCF without reference it?
- Which tools you use for debugging http request?
- Why you need use ConfigureAwait?
- Using keys in Web Api?
- How to use versioning in Web API and why we need this?
DB and SQL
- How to debug and fix query or SP?
- difference between primary key and unique key
- difference between primary key and primary index
- difference between SP and view
- difference between SP and function
- difference between truncate and delete
- difference between inner join, left join and right join
- difference between union and union all, except and intersect
- difference between having and where
- difference between clastered and nonclastered
- How to do unit testing for SQL?
- Some difference between old versions of SQL server and new
- Types of temporary tables
- Can SP return json?
- Trnsaction isolation level
- What is better: use SP or queries in the code?
- Did you use triggers?
- What is default schema?
- What is CQRS and why to use it?
- How to increasy queries perfomance?
- How to protect private information?
- What is main difference between SQL and NoSQL?
- What is transaction isolation level?
- What is difference between partition key and index in MongoDB?
- How to use MongoDB in your application?
- Did you use cursor?
- Did you use triggers?
- How to optimize SP perfomance?
- What is difference between clastered and non-clastered index?
- What is a CTE in SQL Server?
JavaScript and Angular, React
- Which JS Framoworks you used?
- How inheritance work in JS?
- How to bind data to field in jQuery?
- What is selection in jQuery?
- Difference between directive and expression in Angular
- Types of directives in Angular
- What is difference between Angular and AngularJS?
- What is virtual DOM in React?
- How to write some text to TextArea using JavaScript?
- how to call web api from angular?
- What do you like in JavaScript?
HTML and CSS
- What is difference between span and div?
- Draw a circle using css
Azure
- What Azure services you have used?
- How to scale application?
Mobile
- How to create mobile app having web application?
DevOps
- How we can do CD?
Agile and development
- Agile roles
- Story ponts
- Refactoring Techniques
Written on November 30, 2019