1)What are the types of Authentication in ASP.NET?
There are three types of authentication available in ASP.NET:
2)What are Session state modes in ASP.NET?
ASP.NET supports different session state storage options:
3)What are web services? What are the features of web services?
Web services are open standard (XML, SOAP, HTTP etc.) based Web applications that interact with other web applications for the purpose of exchanging data. Web Services can convert your existing applications into Web-applications.
Following are the features of Web service −
4)Give me an example of real web service?
5)Differentiate between a SOA and a Web service?
SOA is a design and architecture to implement other services. SOA can be easily implemented using various protocols such as HTTP, HTTPS, JMS, SMTP, RMI, IIOP, RPC etc. While Web service, itself is an implemented technology. In fact one can implement SOA using the web service.
6) Can you tell few benefits of web services?
The biggest advantage of web service is that is supported by wide variety of platforms. Moreover, in near future, web services may spread its boundary and enhance new methods that will provide ease to clients. The enhancement will not affect the clients, even if they offer old methods and parameters.
7) Explain what is ADO.NET entity framework?
ADO.NET entity framework is an ORM (Object Relational Mapping) framework developed by Microsoft. It is an extension of ADO.NET that provides an automated mechanism to access and store data in the database. With the help of ADO.NET, database can be accessed without much required programming or code.
8)Mention in what all scenarios Entity Framework can be applicable?
Entity Framework can be applicable in three scenarios
9) Explain what does .edmx file contains?
.edmx file is an XML file, which declares a conceptual model, a storage model and the mapping between these models. This file also consists the information that is used by ADO.NET entity data model designer to render a model graphically. It consists of all the mapping details of how object maps with SQL tables. It is divided into three categories SSDL, CSDL, and MSL.
10) Mention what is the difference between LINQ to SQL and Entity Framework?
|LINQ to SQL||Entity|
|· It works only with SQL Server Database
· To maintain the relation it generates a .dbml
· It cannot generate database from model
· It permits one to one mapping between the entity classes and relational views/tables
· It enables you to query data using DataContext
· It provides tightly coupled approach
|· It works with various database like DB2, MYSQL, SQL Server etc.
· It creates an .edmx files initially and relation is maintained using 3 different files .msl, .csdl and .ssdl
· It can generate database from model
· Between the entity classes and relational tables, it permits one-to-one, one-to-many and many-to-many
· It enables you to query data using EntitySQL, DBContext, and ObjectContext
· It provides loosely coupled approach
11)Explain Lazy loading, Eager Loading, and Explicit Loading?
12)What is MVC (Model view controller)?
Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representation of information from the way that information is presented to or accepted from the user.
MVC is a framework for building web applications using a MVC (Model View Controller) design:
The MVC model defines web applications with 3 logic layers:
The Model is the part of the application that handles the logic for the application data.
Often model objects retrieve data (and store data) from a database.The View is the part of the application that handles the display of the data. Most often the views are created from the model data.The Controller is the part of the application that handles user interaction.
Typically controllers read data from a view, control user input, and send input data to the model.
The MVC separation helps you manage complex applications, because you can focus on one aspect a time. For example, you can focus on the view without depending on the business logic. It also makes it easier to test an application.
The MVC separation also simplifies group development. Different developers can work on the view, the controller logic, and the business logic in parallel.
13)What are the advantages of MVC?
Benefits of MVC:
SoC – Separation of Concerns:
Separation of Concerns is one of the core advantages of ASP.NET MVC . The MVC framework provides a clean separation of the UI, Business Logic, Model or Data.
ASP.NET MVC framework provides better testability of the Web Application and good support for the test driven development too.
ASP.NET MVC framework doesn’t use View State and thus reduces the bandwidth of the requests to an extent.
Full features of ASP.NET:
One of the key advantages of using ASP.NET MVC is that it is built on top of ASP.NET framework and hence most of the features of the ASP.NET like membership providers, roles, etc can still be used.
14)Explain MVC application life cycle?
Any web application has two main execution steps, first understanding the request and depending on the type of the request sending out appropriate response. MVC application life cycle is not different it has two main phases, first creating the request object and second sending our response to the browser.
Creating the request object:
The request object creation has four major steps. The following is the detailed explanation of the same.
Step 1: Fill route
MVC requests are mapped to route tables which in turn specify which controller and action to be invoked. So if the request is the first request the first thing is to fill the route table with routes collection. This filling of route table happens in the global.asax file.
Step 2: Fetch route
Depending on the URL sent “UrlRoutingModule” searches the route table to create “RouteData” object which has the details of which controller and action to invoke.
Step 3: Request context created
The “RouteData” object is used to create the “RequestContext” object.
Step 4: Controller instance created
This request object is sent to “MvcHandler” instance to create the controller class instance. Once the controller class object is created it calls the “Execute” method of the controller class.
Creating Response object:
This phase has two steps executing the action and finally sending the response as a result to the view.
15)What are Filters in MVC?
In MVC, controllers define action methods and these action methods generally have a one-to-one relationship with UI controls such as clicking a button or a link, etc. For example, in one of our previous examples, the UserController class contained methods UserAdd, UserDelete, etc.
But many times we would like to perform some action before or after a particular operation. For achieving this functionality, ASP.NET MVC provides feature to add pre and post action behaviors on controller’s action methods.
Types of Filters:
ASP.NET MVC framework supports the following action filters:
Action filters are one of most commonly used filters to perform additional data processing, or manipulating the return values or cancelling the execution of action or modifying the view structure at run time.
16)Mention what is the difference between Temp data, View, and View Bag?
In ASP.NET MVC there are three ways to pass/store data between the controllers and views.
17)What is Bundling and Minification in MVC?
Minification: It squeezes out whitespace and performs other types of compression to make the downloaded files as small as possible. At runtime, the process identifies the user agent, for example IE, Mozilla, etc. and then removes whatever is specific to Mozilla when the request comes from IE.
18)List out the types of result in MVC?
In MVC, there are twelve types of results in MVC where “ActionResult” class is the main class while the 11 are their sub-types
Using ASP.NET Web API, we can create non-SOAP based services like plain XML or JSON strings, etc. with many other advantages including:
Using ASP.NET Web API has a number of advantages, but core of the advantages are:
Days were moving very quickly. With days, technology is moving simultaneously. Today technology has bot the advantages and disadvantages. Moreover, today data is the heart of any company.
Today many people were enthusiastic, to know the exact details of things happening around him. This can get the proper knowledge on Blockchain.
Python is a dynamic interrupted language which is used in wide varieties of applications. It is very interactive object oriented and high-level programming language.
Tableau is a Software company that caters interactive data visualization products that provide Business Intelligence services. The company’s Head Quarters is in Seattle, USA.
Pega Systems Inc. is a Cambridge, Massachusetts based Software Company. It is known for developing software for Customer Relationship Management (CRM) and Business process Management (BPM).
Workday specializes providing Human Capital Management, Financial Management and payroll in online domain.It is a major web based ERP software vendor.