C#, Angular, ASP.NET, Design Pattern, OOPs interview questions
Atmecs
C#
- Describe Nullable keyword.
- Why is it used? What problems it solves?
- Syntax
ASP.NET
- Server.Transfer vs Response.Redirect
- Different forms of session
- Page level session state
- If we have an application where session timeout is of 10 minutes but in a page we want 30 minutes of session timeout how will we implement it?
- Method overloading and overriding in MVC
- Views vs partial views
- .Partial vs .RenderPartial
WCF & Web API
- WCF vs Web API
- Attribute routing settings and implementation
- What settings we have to do for attribute routing
SQL
- All employees with 5th Highest salary
- Performance Tuning
- Temp table vs Table variable
- CTE
- What is distinct?
HCL
Angular
- What are the building blocks of angular?
- What are pipes? pure and impure pipes?
- Lifecycle of angular application?
- Life cycle hooks of angular component?
WCF & Web API
- Difference between Web API and WCF?
- What is the difference between Channel Factory and Service Reference?
- How did you implement security in Web API?
- What are contracts in WCF?
- How do you implement Fault contract?
C#
- SPAs vs Normal applications
- What are different design patterns you implemented
- Explain Singleton patterns
- What is the use of this keyword
- What are extension methods
- What is publisher-subscriber pattern
- SOLID Principles
EY
SQL
- What are isolation Levels in SQL Server?
- Performance Tuning?
- What is CTE?
- Temp table vs Table variable?
MVC
- .Partial vs .RenderPartial
Web API
- When do we use OPTIONS http verb?
- Explain about JWT Tokens
- How did you implement security in Web API
- How did you implement HTTPS in Web API
- What is CORS?
- How can you enable CORS?
- What are anti forgery tokens?
- What is XSS?
WCF
- Difference between WCF and Web API?
- What is interoperability?
- Can we implement interoperability using Web API?
- What are contracts in WCF?
- What are transactions in WCF?
- What is concurrency and throttling?
- How do you implement throttling in WCF?
JRD
C#
Interfaces
Abstract Classes
Explicit implementation of interfaces and its use
What are multicast delegates?
Why delegates are used?
Adapter pattern?
When IDoc has save and IExcel has commit and in whole application we want to use Save what will we do?
Observer pattern?
Web API?
Authentication in Web API?
Authorize attribute on controller and on actions?
NoHTTP attribute?
Anti Forgery token
Sessions - In Proc/Out Proc
JWT Token - how will you ensure it is destroyed without storing it in database
How is session maintained with / without cookies?
Angular Lifecycle
Abyll (13th March 2020)
Introduction
What is your current role in project?
What are you mainly comfortable in - js, Query
C#
Difference between Select and SelectMany
Order By at runtime without using db to be hit twice - using linq
When is interface explicit implementation is required?Dofferent ways of creating thread in c#
SQL
Two tables dept and salary, select employee with highest salary for each department
WCF -
What type of serializers are available in WCF
Common problem of deserializing the IEnumerable to more specific types
Web API -
Put vs POST
HTTP Methods supported by Web API
Common Attributes used in Web API Class
Authorization
jQuery -
Apply vs Call
Bind
Dynamically add dom nodes to any other element
how do we create a class in javascript without EC6 class keyword
difference between document.ready and document.load
typescript vs javascript
EntityFramework
Which version
How will you fetch Student's details to Student entity - lazy loading - creating collection
Virtusa- Full Stack
Javascript
What are closures
what is event callback loops
What are promises
Return type of promises
Can we chain unrelated async functions together
How to deal with related async functions in promises
Is javascript asynchronous?
How can we make javascript async?
var vs let vs const
for vs foreach
array looping
React
can we use setState in render?
lifecycle events in react in order?
how can we handle events in one component not breaking down the whole application?
is this.setState aysnc?
SQL Server FAQs
- What are transactions in SQL Server?
- How do you handle exceptions in SQL Server?
- What is Set No Count off?
- What is DBCC?
- Have you ever done Performance Tuning in SQL Server?
- What are Cursors?
- Temp Tables vs Table Variables
- How do you implement isolations in SQL Server?
- What is CTE?
- Rank vs Dense Rank?
- What are views?
- Can you update views from single table?
- Can you update views from multiple tables?