Saturday, March 23, 2019

Interview

If you have an array and assign it in another variable. And push one element in assigned variable.
Var arrayA = [a,b,c,d];
Var arrayB = arrayA;

arrayA.push(m);
console.log(arrayB);
a,b,c,d,m
Array Operations
 2. We have a software selling as a service
to different client. Every client should see a welcome message prior to login.
3. We have an application which has the capability of 100 tps(transaction per second) but recently it is getting 1000 tps. How will you handle that without doing vertical and horizontal scaling.
4. Count the character t in a string in SQL server.

declare @t nvarchar(max)set @t='aaaa'select len(@t)-len(replace(@t,'a','')

Thursday, March 14, 2019

Java script array assignment

OverrideFiter

Override filter used to skip global and controller level filter fom action method with the help of OverrideAuthorize.

Followers

Link