using System;
public class Program
{
public static void Main()
/*
02-02-2021 tuesday
abstraction
encapsulation
List
select v selectMany
First vs firstOrdefault
order vs orderBydescending
expects
Maximum occurance of number
order by
group by
maximum occurance with each count
1-4
2-3
3-5
safe type casting
dispose vs finalize
when GC gets called
1. low RAM memory
2. threshold
3. gc.Collect() // we should not call. system will take care of this.
this.dispose(true); // does not garrenty object will disposed in GC
using and obj = null --gen0
function scope 1 -- gen1
static and application variables - gen2
03-2-2021 Wednesday
singleton -log purpose
1. static class
2. sealed class
3. sealed class with lock (threadsafe)
singleton
factory
JWT Token
Program
split below string into chars and int
Kiran123
8-2-2020 monday
JWT
encap
interface vs abstraction
static class
c#
linq
extention methods
list = generics, collection
mvc
partial view
view bag view data tempdata
custom filter
filters
webapi
authentication
why API - no software oriented architecture No SOA
sql
key
queries
primary key
security in current application - JWT
performance
client side, server side, db side, server configuration
9-2-2021
put vs path
options
interview questions
11-2-2021
MVC Filters
a - auth - authorize attribute
a - action - every controller action method
r - result - return view/string/int
e - exception - system custom application exception
Globally - entire application - filetConfig.cs
Controller -
action -
excetion handling
try catch
HandleErrorAttribute
custom Exception filter attribute
swagger documentation cration
swashbuckle Nuget Package
22-2-2021
design pattern in projects
version
contentnegotiation
yield keyword
EF types - code first, DB first and when to use and why
poco classes (proxies)
early vs lazy loading in EF
Student.Includes(address)
Iqueryable<T> Tolis()/ ForEach
var test = (from s in students Select s ).AsQueryable()
test.Tolist()
foreach(var item in test)
}
Jquery closures
Javascript is case sesitive
bind vs apply
angular6 lifecycle / hooks
data passing - input output / viewchild component
state management
compilation types - AOT / JIT
mvc lifecycle
attribute routing
generics and use - when and why to reuse
readonly vs const keyword
ref vs out
string vs string builder
stack vs heap
garbage collection
sprint planning
ticket sizing - T Shirt sizing S M L
how to handle new items in middle of sprint
why to use microservices
monolithic vs microservice
multithreading
task
TPL
parallel.foreach vs parallel.invoke
types of join
indexes and how it works
viewmodel for singleview for multiple models
Kiran's Interview Questions
jwt token expires in 1hr now how to get it renewed while doing another task
how to reject request more than 50 to web api
stuff function in sql server constraints in sql server, not null n default constructor on one column
show alternate rows from the table. table don't have serial id
parameters to static constructor, multiple inheritance, override keyword, override tostring method
3x3 matric show abc as output
types of constructor
case: e commerce site, user place order and pays bill , entire workflow with payment status
types of constructor, factory pattern without switch case, singleton case with locks,
thread vs task, linq deferred execution vs immediate execution, linq adv over sp
dynamic query
==================================
nagarro 1st technical interview round
oops
singleton with locks/multithreaded, will single lock statement is sufficient for multithreading
when to use abstract class and interface
new, virtual, override
generics why to use
ref vs out , const vs readonly
entity framework
database first, model first, code first when to use
proxy classes, lazy and eager loading
is javascript case sensitive, clouser, (2+3)+"5", strict type checking, ===
angular lifecycle hooks, data passing between components, compilation types (jit/aot)
mvc request life cycle, different return types, attribute routing, pass data using query string and through formbody
web api versioning, return types,
dotnet core startup.cs explain , short circuiting, pipeline
sql server - select count(*) vs select count(1)
different types of joins explain those, indexes, write a query to get list of employees whose age > 19 using birthdate column
microservices, monolithic vs microservices arch, deployment
azure container vs vm deployment, prizing tier, when to use azure function
==============================
FirstOrDeafault vs First
difference between asp.net core and cloud
what is razor view explain
can we have a server side code in razor view
indices in c#,
what are the language features used (linq, generics, collections)
execution of lambda left to right or what
how to secure web api
authenticate filter
delegates simple, multicast(inbuilt delegates -- action, func, predicate)
covarience and contravarience
microservices arch and why to use micro service
communication between microservices
==============================================
write code for singleton, factory and DI using constructor
wns
1. how to enable session state in dotnet core , which package is usesd, syntax
2. IWebHttpBulider interface, what is the use of it. Two properties of it(contentrootpath, webrootpath)
3. Microservices
4. mvc life cycle of controller
5. ActionResult vs ViewResult
6. Azure traffic manager, load balancer, api gateway
7. how to manage the ci/cd pipeline for database changes
8. how to manage product backlog and sprint backlog in agile
9. different ceremonies/events in agile like daily scrum meetings
10. clustered vs nonclustered index
11. disaster management for azure resources
12. viewdata, viewbag, tempdata purpose of use
3x3 matrix (as shown below)show abc as output
a - -
- b -
- - c
*/
Console.WriteLine("Hello World");