Sutherland – Dot Net Interview Questions
Here is the list of Dot Net Interview Questions which are recently asked in Sutherland company. These questions are included for both Freshers and Experienced professionals.
1. What is C-Sharp (C#)?
C# is a modern, object-oriented, and type-safe programming language. C# enables developers to build the many types of secure and robust applications that run in the . NET ecosystem. C# is an object-oriented, component-oriented programming language.
2. Explain the types of comments in C#?
The types of comments in C# are:- Single line comment (//)
- Multiline comment (/* */)
- Document Comment (/** */)
3. List out the differences between Array and ArrayList in C#?
Array
An Array is strongly-typed. We can store only the same type of data.
ArrayList
ArrayList is a non-generic collection type. ArrayList's internal Array is of the object type. So, we can store multiple types of data in ArrayList.
4. What is ASP.NET?
ASP.NET is an open source, server-side web application framework created by the Microsoft that runs on Windows and was started in the early 2000s. ASP.NET allows developers to create web applications, web services, and dynamic content-driven websites.
5. What is ASP.NET MVC framework?
ASP.NET MVC is an open source web development framework from Microsoft that provides a Model View Controller architecture. ASP.net MVC offers an alternative to the ASP.net web forms for building web applications. It is a part of the . Net platform for building, deploying and running web apps.
6. What is an ASP.NET Web API framework?
The ASP.NET Web API is an extensible framework for building HTTP based services that can be accessed in different applications on different platforms such as web, windows, mobile etc. It works more or less the same way as ASP.NET MVC web application except that it sends data as a response instead of the html view.
7. Which compiler is used in ASP.NET?
NET uses two compilers, Roslyn, to compile C# or VB code into CIL (common intermediate language), and RyuJIT, to run just-in-time compilation of CIL into native code. Both compilers are highly regarded by the . NET community as Microsoft actively improves them.
Free PDF : Get our updated Dot Net Course Content pdf
8. ASP.NET is open-source. Explain.
ASP.NET is an open source web framework, created by Microsoft, for building modern web apps and services with in the . NET. ASP.NET is cross platform and runs on Linux, Windows, macOS, and Docker.
9. Explain the request flow in ASP.NET MVC framework.
Request is being taken from User to controller. Controller processes the request from the user and creates a data Model of that particular request. Data model that is being created is then passed to the View that handles the frontend or the design.
10. Explain the ASP.NET page life cycle in brief.
ASP.NET page runs, the page goes through a life cycle in which it performs a series of processing steps. These are include the initialization, instantiating controls, restoring and maintaining state, running event handler code, and rendering.
11. What is view state in ASP.NET?
View state is the method that the ASP.NET page framework uses to preserve page and control values between round trips. When the HTML markup for the page is rendered, the current state of the page and values that must be retained during postback are serialized into base64 encoded strings.
12. What are the different Validators in ASP.NET?
The different Validators in ASP.NET are:- Required Field Validator.
- Range Validator.
- Compare Validator.
- Regular Expression Validator.
- Custom Validator.
- Validation Summary.
13. What does the method Finalize do in ASP.NET?
The Finalize method is used to perform cleanup operations on unmanaged resources held by the current object before the object is destroyed. The method is protected and therefore is accessible only through this class or through a derived class.
14. What is RedirectPermanent in ASP.Net?
The Redirect Permanent method overload provides a 301 HTTP status code in the response and includes the URL to redirect the request to. A 301 HTTP status code is a standard code in an HTTP response. It indicates that a permanent redirection exists, and it provides that the redirection location.
15. What is fragment caching?
Fragment caching refers to the caching of individual user controls within a Web Form. Each user control can have independent cache durations and implementations of how the caching behavior is to be applied. Fragment caching is useful when you need to the cache only a subset of a page.
Get Answer for all the above questions and place in your dream company
Wants to Become an Expert
in Dot Net?
Know MoreTOP MNC's DOT NET INTERVIEW QUESTIONS & ANSWERS
Here we listed all Dot Net Interview Questions and Answers which are asked in Top MNCs. Periodically we update this page with recently asked Questions, please do visit our page often and be updated in Dot Net.