Skip to main content

Posts

Showing posts from 2017

Angular 4 Interview questions

Angular 4 Interview questions experienced Angular 4 Interview questions Animations Questions: How do you define transition between two states in Angular? How do you define a wildcard state? Architecture Questions: What is a good use case for ngrx/store? Can you talk about a bug related to a race condition, how to solve it and how to test it? API Questions: What does this code do: @ HostBinding ( ' class.valid ' ) isValid ; < div * ngIf = ' someObservableData | async as data; else loading ' >{{data}}</ div > < ng-template # loading > Loading Data... </ ng-template > Why would you use renderer methods instead of using native element methods? What is the point of calling renderer.invokeElementMethod(rendererEl, methodName)? How would you control size of an element on resize of the window in a component? What would be a good use for NgZone service? How would you protect a component being activated throu...

MVC5-Call Back function Usage

MVC5-Call Back function Usage A callback function is executed once the current action is over.It works asynchronsouly function LoadDASummaryListUserFields(clFieldsFrom) {     var qs = '?clFieldsFrom=' + clFieldsFrom;     CallWebApiGetPartial('CallList', 'GetPerformaSummaryListFields', CBLoadCLDASummaryListUserUserFields, qs); } It is a sample jquery function. Here we are calling a function inside  CallWebApiGetPartial .It takes 4 parameters 1,Our Controller 2,Action 3,CallbackFunction 4,Query String Which may need to be passed function CallWebApiGetPartial(controller, action, callBack, qryString) { //alert(serviceData); //alert(controller + action);    FnShowLoader(); if ((qryString === undefined) || (qryString === null)) { qryString = ''; } $.ajax({ url: "/" + controller + "/" + action + qryString, dataType: "html", success: function (data) { FNHideLoader(); callBack(dat...

Localization in angular4 by fetching data from server using VS2017

Localization in angular4 by fetching data from server using VS2017 Localization  in angular4 by fetching data from server using VS2017 1,This is my webapi controller from where the data for localization is fetched //This is our webApi COntroller  // GET: api/local/5    [HttpGet, Route("api/local/{name}")]         public IDictionary Get(string name)         {                             Dictionary dict = new Dictionary ();                 dict.Add("user01", "Nombre");//Name                 dict.Add("user02", "Nombre del Padre");//Father Name                 dict.Add("user03", "Direccion postal");//Postal Address                 return dict.ToDictionary(p => p.Ke...

Sql Interview Questions with answers

1.Compare SQL & PL/SQL Criteria SQL PL/SQL What it is Single query or command execution Full programming language What it comprises Data source for reports, web pages Application language to build, format and display report, web pages Characteristic Declarative in nature Procedural in nature Used for Manipulating data Creating applications 2.What is BCP? When is it used? It is a tool used to duplicate enormous quantity of information from tables and views. It does not facsimile the structures same as foundation to target. BULK INSERT command helps to bring in a data folder into a record, table or view in a user-specific arrangement. 3.When is the UPDATE_STATISTICS command used? This command is used, ones the processing of large data is done. When we delete a large number of files, alteration or reproduction takes place in the tables, to be concerned of these changes we need to restructure the indexes This is done UPDATE_STATISTICS. 4.Explain the steps n...

Xerox-Dot Net-Managerial Round

Xerox-Dot Net Interview Questions Managerial Round Xerox-Dot Net Managerial Round 1,Tell about your educational as well as on the technological achievements 2,Explain the architecture of your application. 3,How do you rate yourself in c#,Asp.net,Sql server 4,In three tier application what is the need of middle layer 5,Have you used Interface in your application .What do think about placing an interface for decoupling. 6,When should we use abstract  keyword over virtual keyword when designing a class 7,What are the types of access modifiers in c# 8,Whether a method with protected access modifier be available in the nth multilevel inheritance of      the particular class 9,How to make a property read only in C# 10,When a user requests for a page by entering Url in broser, what all actions are performed in    background for returning the page in asp.net 11,What are the various asp.net page life cycle events 12,What is the last asp.ne...

Xerox - Dot net Interview question

Xerox Dot Net interview questions Xerox - Dot net Interview question   1,When to use an abstract class in application 2,Difference between Abstract class and interface 3,What is static class and when is it used 4,Exception handling in c# 5,When to use finally statement in c# 6,What is the use of Ref and Out keyword and when it is used. 7,What checking are done if an exception is caught in catch block in c# 8,What are the types of authentication in asp.net application and how windows authentication is done. 9,Difference between view state and session 10,How to clear a session in asp .net 11,What is caching.How a page is cached in an asp.net application 12,What is cookies,when it is used ,what is the difference between cookies and view state. 13,How test cases are prepared in your application. 14,Error handling in SQL server 15,Query optimisation techniques in SQL 16,What is cute in SQL 17,what is the difference between table variable ,CTE and tempor...

Quest Global -C# developer experienced

Quest Global C# interview experienced Quest Global C# interview experienced 1,What is GAC 2,Delay signing in C# 3,What is strong names in assembly 4,What is CLR. Explain 5,What is the difference between Tier and layer in application architecture 6,Is it possible to declare a variable inside a Interface in c#. 7,What is reflection in c# 8,What is delegates and why it is used. 9,Explain anonymous methods in c# 10,Explain extension methods 11,What is the use of static class 12,How does an event in Asp. Net application works. 14,How can we connect an Oracle db with a Dot net application. 15,What is polymorphism. 16,What will happen if a virtual method inside a base class is not overided in the derived class 17,Exception handling in Dot net 18,What is exception stack trace 19,Explain what will be the result if we create 5 objects of a class with one static member function and another normal method. 20,What is the difference between compilation process of C# co...

15 Essential jQuery Interview Questions

15 Essential jQuery Interview Questions 15 Essential jQuery Interview Questions 1,Explain what the following code will do: $( "div#first, div.first, ol#items > [name$='first']" ) Ans:This code performs a query to retrieve any element with the id first, plus all elements with the class first, plus all elements which are children of the element and whose name attribute ends with the string "first". This is an example of using multiple selectors at once. The function will return a jQuery object containing the results of the query. 2,What is wrong with this code, and how can it be fixed to work properly even with buttons that are added later dynamically? // define the click handler for all buttons $( "button" ).bind( "click", function() {     alert( "Button Clicked!" ) }); /* ... some time later ... */ // dynamically add another button to the page $( "html" ).append( " Click...