Visual Studio Interview Questions And Answers 2018

Visual Studio Interview Questions And Answers 2018. Here Coding compiler sharing a list of 20 Visual Studio questions for freshers and experienced. These .NET Visual Studio interview questions will help you to crack your next Visual Studio job interview. All the best for your future and happy learning.

Visual Studio Interview Questions

  1. What are the different activities we can do with Visual Studio?
  2. What languages can you code in Visual Studio?
  3. What is Microsoft Visual Studio used for?
  4. What are the new features in Visual Studio 2017?
  5. What is a Solution Explorer in Visual Studio?
  6. What is Refactoring?
  7. What are the different Refactoring options in Visual Studio?
  8. How do you interact with Git in Visual Studio?
  9. What are the benefits of Azure Functions Tools?
  10. What’s the advantage of creating a project in Visual Studio for a Python application?

Visual Studio Interview Questions And Answers

1) What are the different activities we can do with Visual Studio?

A) Visual Studio supports various activities like developing, build, debug, test, deploy, version control, devops, improve performance, extend and data.

  • Develop – Write and manage your code using the code editor.
  • Build – Compile and build your source code.
  • Debug – Investigate and fix problems with your code.
  • Test – Organize your testing processes.
  • Deploy – Share your apps using Web Deploy, InstallShield, and Continuous Integration, and more.
  • Version Control – Share code using version control technologies such as Git and TFVC.
  • DevOps – Continuously build and release your apps in the cloud, and implement Agile practices with VSTS.
  • Improve Performance – Identify bottlenecks and optimize code performance by using diagnostic tools.
  • Extend – Add your own functionality to the Visual Studio IDE to improve your development experience.
  • Data – Create data apps that connect to any database or service, and anywhere—local or cloud.

2) What languages can you code in Visual Studio?

A) Visual Studio supports multiple programming languages like:

C# – A modern object-oriented programming language with functional programming capabilities for building any application on the .NET platform.

Visual Basic – A modern, easy to learn, the object-oriented programming language for the .NET platform, focused on easily creating Windows applications.

C++ – A powerful and flexible programming language and development environment for creating applications for Windows, Linux, iOS, and Android.

F# – A modern functional programming language with object-oriented capabilities for the .NET platform, focused on making Functional Programming easier for any task.

JavaScript – A lightweight, cross-platform, scripting language often used to help make web pages more interactive.

TypeScript – A superset of JavaScript that compiles to plain JavaScript and enables you to create more scalable code.

Python – A dynamic object-oriented, high-level programming language often used for rapid application development.

R – An extensible programming language typically used for statistical computing and graphics.

3) What is Microsoft Visual Studio used for?

A) Develop modern web apps using Visual Studio and powerful open tools.

Web and Cloud Applications:

Web development – Build web apps with ASP.NET and standards-based technologies like HTML, JavaScript, and CSS.

Azure development and management – Easily build, test, deploy, and manage scalable apps and services on the Microsoft cloud.

Python – Interactive development for Python apps, using familiar frameworks including Django and Flask.

Node.js – Build scalable network applications using Node.js, an asnchronous, event-driven JavaScript runtime.

Data storage and processing – Tools and frameworks to develop and test data solutions using SQL Server, Azure Data Lake, or Hadoop.

Data science and analytical applications – Languages and tooling for creating data science applications, including Python, R, and F#.

Office/SharePoint development – Create Office and SharePoint add-ins and solutions using C#, Visual Basic, and JavaScript.

Windows Applications

Develop apps and games using Visual Studio to reach every device running Windows.

Universal Windows Platform development – Develop applications for Windows 10 with the Windows Universal Platform and C#, VB, or C++.

.NET Desktop development – Build WPF, Windows Forms, and console applications using the .NET Framework.

Windows development with C++ – Build classic Windows-based applications using the power of MFC, ATL, and the Microsoft C++ toolset.

Mobile & Gaming Applications

Create native or hybrid mobile apps that target Android, iOS, and Windows.

Mobile development with .NET – Build cross-platform applications for iOS, Android, or Windows using Xamarin.

Game development with Unity – Create 2D and 3D games with unity, a powerful cross-platform development environment.

Mobile development with JavaScript – Build cross-platform applications for iOS, Android, or Windows using the Apache Cordova framework.

Mobile development with C++ – Build cross-platform applications for iOS, Android, or Windows using C++.

Game development with C++ – Use the full power of C++ to build professional games powered by DirectX, Unreal, or Cocos2D.

Other Toolsets

Visual Studio extension development – Create add-ons that extend Visual Studio, such as commands, code analyzers, and tool windows.

Linux development with C++ – Create and debug applications running in a Linux environment.

.NET Core cross-platform development – Build cross-platform applications using .NET Core, ASP.NET Core, HTML, JavaScript, and container development tools.

4) What are the new features in Visual Studio 2017?

A) New features available in Visual Studio 2017:

Unparalleled productivity for any dev, any app, and any platform.

Use Visual Studio 2017 to develop apps for Android, iOS, Windows, Linux, web, and cloud.

Code fast, debug and diagnose with ease, test often, and release with confidence.

You can also extend and customize Visual Studio by building your own extensions.

Use version control, be agile, and collaborate efficiently

New features available in Visual Studio 2015 – 2017:

Redefined fundamentals – A new setup experience means that you can install more quickly and install what you want when you need it.

Performance and productivity – More focused on new and modern mobile, cloud, and desktop development capabilities.

Cloud app development with Azure – A built-in suite of Azure tools enable you to easily create cloud-first apps powered by Microsoft Azure.

Windows app development – Use the UWP templates in Visual Studio 2017 to create a single project for all Windows 10 devices – PC, tablet, phone, Xbox, HoloLens, Surface Hub, and more.

Mobile app development – In Visual Studio 2017, you can innovate and get results fast with Xamarin, which unifies your multi-platform mobile requirements by using one core codebase and set of skills.

Cross-platform development – Seamlessly deliver software to any targeted platform. Extend DevOps processes to SQL Server through Redgate Data Tools and safely automate database deployments from Visual Studio.

Games development – With Visual Studio Tools for Unity (VSTU), you can use Visual Studio to write game and editor scripts in C# and then use its powerful debugger to find and fix errors.

AI development – With Visual Studio Tools for AI (new in 15.5), you can use the productivity features of Visual Studio to accelerate AI innovation. Build, test, and deploy Deep Learning / AI solutions that seamlessly integrate with Azure Machine Learning.

5) What is a Solution Explorer in Visual Studio?

A) Solution Explorer shows you a graphical representation of the hierarchy of files and folders in your project, solution, or code folder. You can browse the hierarchy and navigate to a file in Solution Explorer.

Microsoft Visual Studio Interview Questions

Visual Studio Interview Questions # 6) What is Refactoring?

A) Refactoring is the process of improving your code after it has been written. Refactoring changes the internal structure of the code without changing its behavior.

Visual Studio Interview Questions # 7) What are the different Refactoring options in Visual Studio?

A) The different refactoring option in visual studio are:

  • Add parameter (from CallSite)
  • Generate overrides
  • Add named argument
  • Add null-check for parameters
  • Insert digit-separators into literals
  • Change base for numeric literals (for example, hex to binary)
  • Convert if-to-switch
  • Remove unused variable

Visual Studio Interview Questions # 8) How do you interact with Git in Visual Studio?

A) When you are working with a project in Visual Studio, you can set up and quickly commit and publish your code to a Git service. You can also manage your Git repositories by using menu clicks from buttons in the bottom right-hand corner of the IDE.

Visual Studio Interview Questions # 9) What are the benefits of Azure Functions Tools?

A) The Azure Functions Tools provides the following benefits:

Edit, build, and run functions on your local development computer.
Publish your Azure Functions project directly to Azure.

Use WebJobs attributes to declare function bindings directly in the C# code instead of maintaining a separate function.json for binding definitions.
Develop and deploy pre-compiled C# functions.

Pre-compiled functions provide a better cold-start performance than C# script-based functions. Code your functions in C# while having all of the benefits of Visual Studio development.

Visual Studio Interview Questions # 10) What’s the advantage of creating a project in Visual Studio for a Python application?

A) Python applications are typically defined using only folders and files, but this structure can become complex as applications become larger and perhaps involve auto-generated files, JavaScript for web applications, and so on. A Visual Studio project helps manage this complexity.

The project (a .pyproj file) identifies all the source and content files associated with your project, contains build information for each file, maintains the information to integrate with source-control systems, and helps you organize your application into logical components.

.NET Visual Studio Interview Questions And Answers

Visual Studio Interview Questions # 11) Can you explain about browser link?

A) Browser Link is a new feature in Visual Studio 2013 that creates a communication channel between the development environment and one or more web browsers. You can use Browser Link to refresh your web application in several browsers at once, which is useful for cross-browser testing.

Visual Studio Interview Questions # 12) Can you explain about Namespace?

A) Namespaces are logical groupings of names used within a program. There may be multiple namespaces in a single application code, grouped based on the identifiers’ use. The name of any given identifier must appear only once in its namespace.

Visual Studio Interview Questions # 13) Explain about Assembly and Manifest?

A) An assembly is a collection of one or more files and one of them (DLL or EXE) contains a special metadata called Assembly Manifest. The manifest is stored as binary data and contains details like versioning requirements for the assembly, the author, security permissions, and list of files forming the assembly.

An assembly is created whenever a DLL is built. The manifest can be viewed programmatically by making use of classes from the System.Reflection namespace. The tool Intermediate Language Disassembler (ILDASM) can be used for this purpose. It can be launched from the command prompt or via Start> Run.

Visual Studio Interview Questions # 14) Do you know about DLL Hell? Explain it?

A) DLL hell is the problem that occurs when an installation of a newer application might break or hinder other applications as newer DLLs are copied into the system and the older applications do not support or are not compatible with them. .NET overcomes this problem by supporting multiple versions of an assembly at any given time. This is also called side-by-side component versioning.

Visual Studio Interview Questions # 15) What is CLR?

A) Common Language Runtime (CLR) is a run-time environment that manages the execution of .NET code and provides services like memory management, debugging, security, etc. The CLR is also known as Virtual Execution System (VES).

Advanced Visual Studio Interview Questions For Experienced

Visual Studio Interview Questions # 16) What is Architecture Explorer in Visual Studio?

A) use Architecture Explorer in Visual Studio to find specific code.

Visual Studio Interview Questions # 17) How to detect Clone Code in Visual Studio?

A) Code clones are separate fragments of code that are very similar. They are a common phenomenon in an application that has been under development for some time. Clones make it hard to change your application because you have to find and update more than one fragment.

Visual Studio Enterprise can help you find code clones so that you can refactor them.

You can either find the clones of a specific fragment, or find all clones in your solution. In addition to discovering direct copies, the clone analysis tool can find fragments which differ in the names of variables and parameters, and in which some statements have been rearranged.

The code clone analyser searches for duplicate code in Visual C# and Visual Basic projects throughout your Visual Studio solution.

Visual Studio Interview Questions # 18) How to generate Sequence diagrams in Visual Studio?

A) To visualize how the code implements a particular method, create a sequence diagram from that method in Visual Studio Ultimate. The sequence diagram shows the interaction between objects as a series of lifelines and messages.

Lifelines represent instances of objects, and messages represent method calls between those objects. You can generate sequence diagrams from Visual C# .NET or Visual Basic .NET code, but not from projects that share code across multiple apps.

Visual Studio Interview Questions # 19) What is the use of The Code Definition window in Visual Studio?

A) Keyboard: CTRL + \, D
Menu: View -> Code Definition Window
Command: View.CodeDefinitionWindow
Versions: 2008,2010

Ever want to just click on a reference and see the definition as you go? Well it’s time to get reintroduced to the Code Definition Window.

Visual Studio Interview Questions # 20) Shortcut Keys for debugging in Visual Studio?

A) Visual Studio Debugging Shortcut Keys:

Ctrl-Alt-V: A Displays the Auto window to view the values of variables currently in the scope of the current line of execution within the current procedure
Ctrl-Alt-Break: Temporarily stops the execution of all processes in a debugging session. Available only in run mode
Ctrl-Alt-B: Displays the Breakpoints dialog, where you can add and modify breakpoints
Ctrl-Alt-C: Displays the Call Stack window to display a list of all active procedures or stack frames for the current thread of execution. Available only in break mode
Ctrl-Shift-F9: Clears all of the breakpoints in the project
Ctrl-Alt-D: Displays the Disassembly window

Source: Visual Studio Documentation

Related .NET Interview Questions

.NET Interview Questions

ASP.NET Interview Questions And Answers

OTHER INTERVIEW QUESTIONS

  1. Vagrant Interview Questions
  2. 60 Java Multiple Choice Questions
  3. 40 Core Java MCQ Questions
  4. Anaplan Interview Questions And Answers
  5. Tableau Multiple Choice Questions
  6. Python Coding Interview Questions
  7. CSS3 Interview Questions
  8. Linux Administrator Interview Questions
  9. SQL Interview Questions
  10. Hibernate Interview Questions
  11. Kubernetes Interview Questions
  12. Kibana Interview Questions
  13. Nagios Interview Questions
  14. Jenkins Interview Questions
  15. Chef Interview Questions
  16. Puppet Interview Questions
  17. RPA Interview Questions And Answers
  18. Android Interview Questions
  19. Mulesoft Interview Questions
  20. JSON Interview Questions
  21. PeopleSoft HRMS Interview Questions
  22. PeopleSoft Functional Interview Questions
  23. PeopleTools Interview Questions
  24. Peoplesoft Technical Interview Questions
  25. 199 Peoplesoft Interview Questions
  26. 200 Blue Prism Interview Questions
  27. Visualforce Interview Questions
  28. Salesforce Interview Questions
  29. 300 SSIS Interview Questions
  30. PHP Interview Questions And Answers

ASP.NET Interview Questions And Answers For Experienced

100 ASP.NET Interview Questions and Answers 2018. This list includes ASP.NET interview questions for freshers, ASP.NET interview questions for 1 year experience, ASP.NET interview questions for 2 years experience, ASP.NET interview questions for 3 years experience, ASP.NET interview questions for 4 years experience, ASP.NET interview questions for 5 years experience.

Asp.NET Interview Questions

Question # 1 What is ASP.NET?

Answer # ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required to build web-based applications.

Question # 2 Is asp net free?

Answer # Misconception: It’s Closed. Microsoft makes the source code for the .NET Framework available for free. Microsoft is a company that sells software, and they are naturally very protective of their products’ source code. So, one might think that ASP.NET (and .NET in general) is closed source, but that is not the case.

Question # 3 What is CSS in asp net?

Answer # ASP.NET Web pages function as HTML pages at run time. You can therefore use cascading style sheets (CSS) to set the appearance of any elements on the page other than Web server controls.

Question # 4 What is asp net c#?
C# is a CLS programming language designed for the .NET framework. ASP.NET is part of the .NET framework allowing you to write web applications using any CLS compliant language such as C#, VB.NET, F#, etc.

Question # 5 What is the full meaning of ASP Net?

Answer # It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft’s. Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to writeASP.NET code using any supported .NET language.

Question # 6 Why do we use ASP net?

Answer # ASP.NET is an open-source server-side web application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services.

Question # 7 What is ASP short for?

Answer # ASP is also an abbreviation for Active Server Page. An application service provider (ASP) is a company that offers individuals or enterprises access over the Internet to applications and related services that would otherwise have to be located in their own personal or enterprise computers.

Question # 8 What is the difference between C# and .NET?

Answer # C# is a language, .NET is an application framework. The .NET libraries can run on the CLR and thus any language which can run on the CLR can also use the .NET libraries. This common .net format is what allows libraries to be shared between .net languages (C#, VB.Net, F# and others) easily.

Question # 9 What is the difference between ASP and ASP NET?
ASP is interpreted whereas, ASP.NET is compiled. This implies that since ASP uses VBScript; therefore, when an ASP page is executed, it is interpreted. On the other hand, ASP.NET uses .NET languages, such as C# and VB.NET, which are compiled to Microsoft Intermediate Language (MSIL).

Question # 10 Is asp net a programming language or framework?

Answer # ASP.NET is a framework generally written in one of two languages – VB script or C#. ASP .NET is a server-side scripting language. Your .aspx pages are just scripts that tell IIS how to render a page.

Asp.NET Interview Questions For Freshers

Question # 11 Can you use C# without .net?

Answer # C# is just a programming language. … C# is the choice for developing managed applications which run on .NET Framework. If you want to avoid it, you can go to Visual C++ (without .NET) development using Visual Studio. However, .NET framework comes pre-installed with latest Operating system.

Question # 12 What are the advantages of ASP Net?

Answer # Some key advantages of ASP.NET framework for Web development are as follows:
* Built-in Windows authentication and per-application configuration keep your applications secured.
* ASP.NET reduces the line of code needed to develop large applications.
* The ASP code and HTML smoothly mix with each other to generate dynamic web pages.
* It is an ideal server-side scripting technology that is why code runs on the windows server before displaying on the web browser.
* Dot NET framework is language independent, so choose any programming language that best suited to develop your application.
* ASP.NET is easy to deploy because of built-in configuration information.
* The Windows Web server precisely monitors the web pages, various components and application running over it.
* It immediately gives an alert for any memory leaks, unbounded loops and other illegal behaviors. It instantly kills those behaviors and restarts automatically.
* ASP.Net features such as early binding, JIT compilation, caching services and native optimization supports to get high level of performance.
* All the applications are minutely monitored and managed to help application continuously available to handle requests.
* WYSIWYG is an editor tool available in Visual studio.ASP.NET, with its advantages, is the next- generation platform of Microsoft’s ASP. It is a widely used development framework for developing an enterprise level web application. Either for building a small website or a large corporate web application, ASP.NET is the best development application that today’s developers love to use.

Question # 13 What is the MVC framework?

Answer # The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating Web applications.

Question # 14 What is the difference between asp net and MVC?

Answer # ASP.NET Web Forms is another framework specifically for building web applications, and the new ASP.NET Web API is a platform for building web services.

Question # 15 ASP.NET MVC2 web application is based on MVC pattern in order to facilitate unit test, without mocking pipeline asp.net, because it’s very difficult. you don’t have code on Code Behind in order to separate your code graphic and your code functional. With MVC your application becomes independent of view. you can replace easily technology of creating view.

Question # 16 What is the difference between Visual Basic and ASP Net?

Answer # VB.NET is a language that is used in writing programs that are utilizing the ASP.NET framework. ASP.NET is a server side technology that is language independent. Any .NET languages such as C#, VB.NET can be used to develop web applications through ASP.NET. VB.NET is a .NET programming language.

Question # 17 What is the CLR?

Answer # The Common Language Runtime (CLR), the virtual machine component of Microsoft’s .NET framework, manages the execution of .NET programs. A process known as just-in-time compilation converts compiled code into machine instructions which the computer’s CPU then executes.

Question # 18 What is CSS and what is it used for?

Answer # CSS is the language for describing the presentation of Web pages, including colors, layout, and fonts. It allows one to adapt the presentation to different types of devices, such as large screens, small screens, or printers. CSS is independent of HTML and can be used with any XML-based markup language.

Question # 19 What is the use of ASP Net Web API?

Answer # ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.

Question # 20 What is the MVC model?

Answer # Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces on computers. It divides a given application into three interconnected parts. This is done to separate internal representations of information from the ways information is presented to, and accepted from, the user.

Asp.NET Interview Questions For 1 Year Experience

Question # 21 What is MVC in angular?

Answer # AngularJS – MVC Architecture. Advertisements. Model View Controller or MVC as it is popularly called, is a software design pattern for developing web applications. A Model View Controller pattern is made up of the following three parts − Model − It is the lowest level of the pattern responsible for maintaining data.

Question # 22 Is asp net a programming language or framework?

Answer # ASP.NET is a framework generally written in one of two languages – VB script or C#. ASP .NET is a server-side scripting language. Your .aspx pages are just scripts that tell IIS how to render a page.

Advanced ASP.NET Interview Questions

Question # 23 What is STA?
STA stands for Single Threaded Apartment. In STA, there may be multiple apartment. But only single thread can be executed in an apartment.

Question #  24 What is MTA?

Answer # MTA stands for Multi Threaded Apartment. In MTA, only one apartment will be there and all threads will execute within that single apartment.

Question # 25 What threading model used in asp and asp.net?

Answer # ASP used STA threading model and ASP.NET uses MTA threading model.

Question # 26 What is a web farm?

Answer # A web farm is a group of two or more servers used to host the same site. Web farms increase the capacity of a web site, and improve availability by providing fail-over. Web farms are universally used for high-traffic and mission critical web sites.

Question # 27 What is web garden?

Answer # Application pool is used to separate sets of IIS worker processes and enables a better security, reliability, and availability for any web application. Now, by default, each and every Application pool contains a single worker process. Application which contains the multiple worker process is called “Web Garden”.

Question # 28 What is a Web pool?

Answer # When you run IIS 6.0 in worker process isolation mode, you can separate different Web applications and Web sites into groups known as application pools. An application pool is a group of one or more URLs that are served by a worker process or set of worker processes.

Question # 29 What is the use of worker process in asp net?

Answer # Application Pool. Worker Process: Worker Process (w3wp.exe) runs the ASP.Net application in IIS. This process is responsible for managing all the request and response that are coming from the client system. All the ASP.Net functionality runs under the scope of the worker process.

Question # 30 What is a server farm in IIS?

Answer # The first step in installing and configuring an IIS 8 web farm is to install IIS on the web servers and load balancing server. Then install Application Request Routing (ARR) on the load balancing server. Finally, set up your website on one of the web servers.

Question # 31 What is the application pool?

Answer # Application pools are used to separate sets of IIS worker processes that share the same configuration and application boundaries. Application pools used to isolate our web application for better security, reliability, and availability and performance and keep running without impacting each other .

Question # 32 How does the IIS work?

Answer # IIS (Internet Information Server) is one of the most powerful web servers from Microsoft that is used to host your Web application. IIS has it’s own Process Engine to handle the request. So, when a request comes from client to server, IIS takes that request and process it and send response back to clients.

Question # 33 What is the difference between trace and debug in asp.net?

Answer # The Debug and Trace classes have very similar methods. The primary difference is that calls to the Debug class are typically only included in Debug build and Trace are included in all builds (Debug and Release). You can control this through the compiler flags DEBUG and TRACE.

Question # 34 Explain different types of validators in ASP.NET?

Answer #

Required field Validator
Range Validator
Compare Validator
Custom Validator
Regular expression Validator
Summary Validator

Question # 35 How many types of session state management options available in ASP.NET?

Answer # In ASP.Net, there are two session state managemtn options are available, they are:
In-Process
Out-of-Process.

Question # 36 What are the page life cycle events?

Answer # List the events in page life cycle.

1) Page_PreInit
2) Page_Init
3) Page_InitComplete
4) Page_PreLoad
5) Page_Load
6) Page_LoadComplete
7) Page_PreRender
8) Render

Question # 37 How many types of cookies are there in ASP.NET?

Answer # Session Cookie – Resides on the client machine for a single session until the user logs out.
Persistent Cookie – Resides on a user’s machine for a period specified for its expiry, such as 10 days, one month, and never based on the settings.

ASP.NET Interview Questions And Answers For 2 Years Experience

Question # 38 What is the difference between Union and Union all?

Answer # The difference between Union and Union all is that Union all will not eliminate duplicate rows, instead it just pulls all rows from all tables fitting your query specifics and combines them into a table. A UNION statement effectively does a SELECT DISTINCT on the results set.

Question # 39 Which is faster union or union all?

Answer # Just like JOINS, UNION combines data into a single record-set but vertically by adding rows from another table. JOINS combine data horizontally by adding columns from another table. UNION insures you get DISTINCT records from both the tables.

Question # 40 What is the difference between union and join?

Answer # By using JOINs, you can retrieve data from two or more tables based on logical relationships between the tables. Joins indicate how SQL should use data from one table to select the rows in another table. The UNION operation is different from using JOINs that combine columns from two tables.

Question # 41 What is the difference between union and structure?

Answer # The difference between structure and union is, The amount of memory required to store a structure variable is the sum of the size of all the members. On the other hand, in case of unions, the amount of memory required is always equal to that required by its largest member.

Question # 42 Which is better union or union all?

Answer # UNION ALL command is equal to UNION command, except that UNION ALL selects all the values. The difference between Union and Union all is that Union all will not eliminate duplicate rows, instead it just pulls all the rows from all the tables fitting your query specifics and combines them into a table.

Question # 43 What are SQL Joins?

Answer # SQL Joins clause is used to combine records from two or more tables in a database. A JOIN is a means for combining fields from two tables by using values common to each.

  • Inner join
  • Outer join
  • Left outer join
  • Right outer join
  • Full outer join

Question # 44 What is a session in asp net?

Answer # ASP.NET session state enables you to store and retrieve values for a user as the user navigates ASP.NET pages in a Web application. HTTP is a stateless protocol. This means that a Web server treats each HTTP request for a page as an independent request.

Question # 45 What is application and session in ASP.NET?

Answer # Application and Session Variables. The Application and Session objects can be used to store values that are global either to a particular user (the Session ) or to all users (the Application )

Question # 46 What are the types of session in asp net?

Answer # Following are the different types of session modes available in ASP.NET:

  • Off.
  • InProc.
  • StateServer.
  • SQLServer.
  • Custom.

Question # 47 What is the difference between session and viewstate in asp net?

Answer # SessionState persist the data of particular user in the server. This data available till user close the browser or session time completes. View State are valid mainly during postbacks and information is stored in client only. Viewstate are valid for serializable data only.

Question # 48 When does a session actually start?

Answer # Session actually starts when a visitor requests a website for the first time.

Question # 48 How is a session stored and maintained in ASP.NET?

Answer # When a web app is requested by the user for the first time, the server creates a sessionID and stores it in the cookie of the client browser. This sessionID is sent to the server in all the subsequent requests.

Question # 49 What are HTML helpers in ASP.NET?

Answer # ASP.NET MVC provides HtmlHelper class which contains different methods that help you create HTML controls programmatically.

Question # 50 What is the difference between Session.Abandon() vs Clear()?

Answer # Clear – Removes all keys and values from the session-state collection. Abandon – removes all the objects stored in a Session. If you do not call the Abandon method explicitly, the server removes these objects and destroys the session when the session times out.

Advanced ASP.NET Interview Questions And Answers

Question # 51 What is the difference between Stored Procedure vs Function?

Answer # Function must return a value but in Stored Procedure it is optional( Procedure can return zero or n values). Functions can have only input parameters for it whereas Procedures can have input/output parameters . Functions can be called from Procedure whereas Procedures cannot be called from Function.

Question # 52 What are the various ways to send content from one page to another?

Answer # There are different ways are there to send content from one page another page.

  • Response. Redirect()
  • Server.Transfer()
  • WebClient.DownloadFile()

Question # 53 What is the difference between sealed vs static class?

Answer # When a class defined as sealed its not possible to inherit. A static class can have only static member (e.g static method, property, and variables). A static class restrict the user to call default constructor of the class. Static classes can only have static constructor to initialize static members.

ASP.NET Interview Questions And Answers For 3 Years Experience

Question # 54 What is your current project?

Question # 55 What is your team size in the current project?

Question # 56 What is the team hierarchy of your project?

Question # 57 What are your roles and responsibilities in your project?

Question # 58 Can you explain about your previous projects?

Answer # Interviewers ask these type of questions to know if you are a genuine candidate or not. Explain these type of questions with confidence.

Question # 59 What is the difference between abstract class vs interface? Can give me the real time examples?

Answer # A class that implements an interface must provide an implementation of all the methods of that interface. abstract classes may contain state (data members) and/or implementation (methods) abstract classes can be inherited without implementing the abstract methods (though such a derived class is abstract itself)

Question # 60 What is Authentication in ASP.NET?

Answer # Authentication is the process of obtaining identification credentials such as name and password from a user and validating those credentials against some authority. If the credentials are valid, the entity that submitted the credentials is considered an authenticated identity.

Question # 61 What are the authentication types in asp.net?

Answer #

  • Windows authentication and IIS.
  • Passport authentication.
  • Forms authentication.
  • After your application has authenticated users, you can proceed to authorize their access to resources.

Question # 62 Which authentication uses a combination of Windows and IIS authentication?

Answer # In IIS7, ASP.NET is integrated into the request pipeline, and the composite effect is that there is only one authentication mechanism to maintain. Passport authentication uses Microsoft’s Windows Live ID Authentication (formally .NET Passport), which you have to be licensed to use.

Question # 63 What is the default authentication mode for asp net?

Answer # Windows authentication is used together with IIS authentication. Authentication is performed by IIS in the following ways: basic, digest, or Integrated Windows Authentication. When IIS authentication is complete, ASP.NET uses the authenticated identity to authorize access. This is the default setting.

Question # 64 What is the difference between authentication and authorization?

Answer # When you log on to a PC with a user name and password you are authenticating. Authorization is the process of verifying that you have access to something. Gaining access to a resource (e.g. directory on a hard disk) because the permissions configured on it allow you access is authorization.

Question # 65 What is Windows Active Directory authentication?

Answer # Active Directory authentication offers users a faster, more secure, and more scalable authentication mechanism than LDAP authentication. By using the Kerberos authentication protocol, SGD can securely authenticate any user against any domain in a forest. Active Directory authentication is disabled by default.

Question # 66 What is anonymous authentication?

Answer # Anonymous authentication allows any user to access any public content without providing a user name and password challenge to the client browser. By default, Anonymous authentication is enabled in IIS 7.

Question # 67 Is oauth for authentication or authorization?

Answer # Many point to Identity Providers like Facebook to prove their point. The problem is that OAuth 2.0 is a Delegated Authorization protocol, and not a Authentication protocol. This is generally a four party model User, Website, Authorization server, and Protected resource.

Question # 68 What is the difference between LDAP and Active Directory?

Answer # LDAP (Lightweight Directory Access Protocol) is an application protocol for querying and modifying items in directory service providers like Active Directory, which supports a form of LDAP. Short answer: AD is a directory services database, and LDAP is one of the protocols you can use to talk to it.

Question # 69 Why we use DBMS for projects ? Why don’t we save any application data in separate files instead of DBMS?

Answer # Normalization of the data is the main advantage of using DBMS instead of saving data in seperate files.

Question # 70 What is the differences between a Primary key and a Unique key in SQL server?

Answer # Primary Key is used to identify a row (record) in a table, whereas Unique-key is to prevent duplicate values in a column (with the exception of a null entry). By default SQL-engine creates Clustered Index on primary-key if not exists and Non-Clustered Index on Unique-key.

ASP.NET Real Time Interview Questions And Answers

Question # 71 What are the differences between primary foreign and unique keys?

Answer # A primary key is a column or a set of columns that uniquely identify a row in a table. A primary key should be short, stable and simple.

A foreign key is a field (or collection of fields) in a table whose value is required to match the value of the primary key for a second table. A table can have multiple foreign keys.

Question # 72 What is the difference between a candidate key and primary key?

Answer # Candidate Key – A Candidate Key can be any column or a combination of columns that can qualify as unique key in database. There can be multiple Candidate Keys in one table. Each Candidate Key can qualify as Primary Key.

Primary Key – A Primary Key is a column or a combination of columns that uniquely identify a record.

Question # 73 Can the unique key be null?

Answer # One row in the database is allowed to have null for the value of the unique key constraint.

Question # 74 Can I have a unique key as foreign key?

A FOREIGN KEY constraint does not have to be linked only to a PRIMARY KEY constraint in another table; it can also be defined to reference the columns of a UNIQUE constraint in another table. So in your case if you make AnotherID unique, it will be allowed.

Question # 75 How may clustered index we can create in table?

Answer # Generally we can create only one clustered index in a table, but if required there is a way to create more clustered index in a table.

Question # 76 What is the difference between clustered and nonclustered index?

Answer # A clustered index actually describes the order in which records are physically stored on the disk, hence the reason you can only have one. A Non-Clustered Index defines a logical order that does not match the physical order on disk.

Question # 77 What is distributed system in ASP.NET?

Answer # A distributed system is a network that consists of autonomous computers that are connected using a distribution middleware. They help in sharing different resources and capabilities to provide users with a single and integrated coherent network.

Question # 78 What is Web API and why to use it?

Answer # Asp.Net Web API is a framework for building HTTP services that can be consumed by a broad range of clients including browsers, mobiles, iphone and tablets. … It is a part of the core ASP.NET platform and can be used with MVC and other types of Web applications like Asp.Net WebForms.

Question # 79 What is difference between Web API and Web services?

Answer # Web Services are based on the SOAP protocol. Web API is a newer Microsoft framework which helps you to build REST based interfaces. The response can be either JSON or XML, but there is no way to generate clients automatically because Web Api does not offer a service description like the WSDL from Web Services.

Question # 80 What is Web API vs WCF?

Answer # While WCF is a unified framework for building service oriented applications, Web API is a light weight alternative to build RESTful services that can be consumed by many different clients. RESTful services use basic HTTP and are simple with much less payload compared to SOAP services.

Question # 81 What is difference between REST and SOAP?

Answer # Web services are of two kinds: Simple Object Access Protocol (SOAP) and Representational State Transfer (REST). SOAP defines a standard communication protocol (set of rules) specification for XML-based message exchange. SOAP uses different transport protocols, such as HTTP and SMTP.

Question # 82 Why Web API is better than WCF?

Answer # Since WCF is SOAP based, which uses standard XML schema over HTTP, it could lead to slower performance. WEB API is a better choice for simpler, light weight services. WEB API can use any text format including XML and is faster than WCF. WEB API can be used to create full-blown REST Services.

Question # 83 What is the difference between rest and restful?

Answer # Representational state transfer (REST) is a style of software architecture. As described in a dissertation by Roy Fielding, REST is an “architectural style” that basically exploits the existing technology and protocols of the Web. RESTful is typically used to refer to web services implementing such an architecture.

ASP.NET Interview Questions and Answers for 4 Years Experience

Question # 84 What is the difference between a process and a thread?

Answer # Threads are used for small tasks, whereas processesare used for more ‘heavyweight’ tasks – basically the execution of applications. Another difference betweenthread and a process is that threads within the same process share the same address space, whereas different processes do not.

Question # 85 What is the difference between exe and dll?

Answer # Difference between exe and dll

1.EXE is an extension used for executable files while DLL is the extension for a dynamic link library.

2.An EXE file can be run independently while a DLL is used by other applications.

3.An EXE file defines an entry point while a DLL does not.

Question # 86 Is a DLL file an executable?

Answer # EXE file is a executable file which runs in a separate process which is managed by OS. DLLs are not directly executable . They are separate files containing functions that can be called by programs and other DLLs to perform computations and functions. DLL: They can be reused for some other application.

Question # 87 What is the GAC?

Answer # The Global Assembly Cache (GAC) is a folder in Windows directory to store the .NET assemblies that are specifically designated to be shared by all applications executed on a system.

Question # 88 What is strong-typing versus weak-typing? Which is preferred?

Answer #

Strong typing: It checks the type of variables  as soon as possible, usually at compile time. It  prevents mixing operations between mismatched types.

Weak Typing: While weak typing is delaying checking the types of the system as late as possible, usually to run-time. In this you can mix types without an explicit conversion.

A “weak-typed” programming language is simply one which is not strong-typed.

which is preferred depeneds on what you want. for scripts and good stuff you will usually want weak typing, because you want to write as much less code as possible. in big programs, strong typing can reduce errors at compile time.

Question # 89 What is the difference between equals() and == in c#?

Answer # The only difference between Equal and == is on object type comparison. in other cases, such as reference types and value types, they are almost the same(either both are bit-wise equality or both are reference equality). The == operator can be used to compare two variables of any kind, and it simply compares the bits.

Question # 90 What is boxing and unboxing in asp.net?

Answer # Boxing is the process of converting a value type to the type object or to any interface type implemented by this value type. When the CLR boxes a value type, it wraps the value inside a System.Object and stores it on the managed heap. Unboxing extracts the value type from the object.

ASP.NET MVC Interview Questions For Experienced

Question # 91 What is Reflection?

Answer # With reflection we can dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object and invoke its methods or access its fields and properties. We can also access attribute information using reflection.

Question # 92 What is full trust in ASP.NET?

Answer # Full trust is the default, allows ASP.NET applications to execute native code, to read from the Registry and Windows Event Log, and to read and write to files outside of the application’s virtual directory. In short, with full trust one web application could delete the entire contents of another web application.

Question # 93 What is the difference between debug and release?

Answer # The biggest difference between these is that: In a debug build the complete symbolic debug information is emitted to help while debugging applications and also the code optimization is not taken into account. While in release build the symbolic debug info is not emitted and the code execution is optimized.

ASP.NET Interview Questions And Answers For 5+ Years Experience

Question # 94 What is the purpose of XML Namespaces?

Answers # XML namespaceXML namespaces are used for providing uniquely named elements and attributes in an XML document. They are defined in a W3C recommendation. An XML instance may contain element or attribute names from more than one XML vocabulary.

Question # 95 What is the difference between typeof() vs GetType()?

Answers # typeOf is a C# keyword that is used when you have the name of the class. It is calculated at compile time and thus cannot be used on an instance, which is created at runtime. GetType is a method of the object class that can be used on an instance.

Question # 96 Why would anyone need to implement their own hashtable or linked list?

Answers # I’m not implying that the Dictionary class is inferior or that people should roll their own hashtable. This is a basic question which tests whether a person has a minimal understanding of datastructures. Thats what these questions test for: bare minimum understanding.

Question # 97 what is XSS?

Answer # Cross-site Scripting (XSS) refers to client-side code injection attack wherein an attacker can execute malicious scripts (also commonly referred to as a malicious payload) into a legitimate website or web application.

Question # 98 What is X XSS protection?

Answer # The HTTP XXSSProtection response header is a feature of Internet Explorer, Chrome and Safari that stops pages from loading when they detect reflected cross-site scripting (XSS) attacks.
Question # 99 What is data cache in SQL Server?
Answer # An SQL Server buffer pool, also called an SQL Server buffer cache, is a place in system memory that is used for caching table and index data pages as they are modified or read from disk.
Question # 100 How do you implement SQL caching in ASP.NET?
Answer # ASP.NET allows us to use the SqlCacheDependency class to create a cache item dependency on a table in a database. It has the ability to automatically invalidate a cached data object when the related data is modified in the database. This feature is supported in from SQL Server 2005+ versions

RELATED INTERVIEW QUESTIONS

  1. Hibernate Interview Questions
  2. PHP Interview Questions
  3. Kubernetes Interview Questions
  4. Docker Interview Questions
  5. CEH Interview Questions
  6. CyberArk Interview Questions
  7. Appian Interview Questions
  8. Drools Interview Questions
  9. Talend Interview Questions
  10. Selenium Interview Questions
  11. Ab Initio Interview Questions
  12. AB Testing Interview Questions
  13. Mobile Application Testing Interview Questions
  14. Pega Interview Questions
  15. UI Developer Interview Questions
  16. Tableau Interview Questions
  17. SAP ABAP Interview Questions
  18. Reactjs Interview Questions
  19. UiPath Interview Questions
  20. Automation Anywhere Interview Questions
  21. RPA Interview Questions
  22. RPA Blue Prism Interview Questions
  23. Ranorex Interview Questions
  24. AWS Interview Questions
  25. SSRS Interview Questions
  26. SQL Interview Questions
  27. Informatica MDM Interview Questions
  28. CyberArk Interview Questions
  29. SAP SD Interview Questions
  30. SAP EWM Interview Questions

Top 688 .NET Interview Questions For Experienced

Top 688 .NET Interview Questions For Experienced. .NET technical interview questions for beginners to 5+ years experienced users. This list includes .NET Framework, Assemblies, ASP.NET, C#, ADO.NET, SQL Server, Crystal Reports, Ajax, Javascript, Triggers, WCF, WPF, Silverlight, Visual Studio and related topics.

.NET Interview Questions

 

  1. What Is The Microsoft.net?
  2. What Is The .net Framework?
  3. What Is Clr?
  4. What Is Cts?
  5. What Is Cls?
  6. What Is Managed Code?
  7. What Is Msil?
  8. What Is Jit?
  9. What Is Portable Executable (pe)?
  10. What Is An Application Domain?
  11. How Does An Appdomain Get Created?
  12. What Is An Assembly?
  13. What Are The Contents Of Assembly?
  14. What Are The Different Types Of Assembly?
  15. What Is A Dynamic Assembly?
  16. What Is A Strong Name?
  17. What Is Gac? What Are The Steps To Create An Assembly And Add It To The Gac?
  18. What Is The Caspol.exe Tool Used For?
  19. What Is A Garbage Collector?
  20. What Are Generations And How Are They Used By The Garbage Collector?
  21. What Is Ilasm.exe Used For?
  22. What Is Ildasm.exe Used For?
  23. What Is The Resgen.exe Tool Used For?
  24. What Is Boxing And Unboxing?
  25. How Can We Make A Thread Sleep For Infinite Period ?
  26. In Which Format You Can Pass The Value In The Sleep Function?
  27. What’s Thread.sleep() In Threading ?
  28. How Can You Reference Current Thread Of The Method ?
  29. What Does Addressof Operator Do In Background ?
  30. Different Levels Of Priority Provided By .net.
  31. Is There Any Thread In Our .net Programs?
  32. Namespace For The Thread Class?
  33. Can We Have Multiple Threads In One App Domain ?
  34. Did Vb6 Support Multi-threading ?
  35. What Is A Thread ?
  36. What Is Multi-threading ?
  37. What Is Multi-tasking ?
  38. What Is Equivalent For Regsvr32 Exe In .net ?
  39. How Do We Create Dcom Object In Vb6?
  40. Can You Explain What Is Dcom ?
  41. What Is Satellite Assembly? And Steps To Create Satellite Assembly?
  42. How To Exclude A Property From Xml Serialization?
  43. What Is Garbage Collector ?
  44. What Is Difference Between Code Access And Role Based Security?
  45. What Is Cas?
  46. Can We Customize The Serialization Process?
  47. Types Of Serialization
  48. What Is Serialization?
  49. What Is Namespace?
  50. What Is Gac? How To Put Assembly In Gac?
  51. What Is An Assembly Loader?
  52. What Is An Assembly Qualified Name
  53. What Is Partial Assembly Reference
  54. What Is Full Assembly Reference
  55. What Are The Contents Of An Assembly ?
  56. What Are The Types Of Assembly Available
  57. What Are Attributes?
  58. What Is Manifest?
  59. What Is Jit Compiler
  60. What Debugging Tools Come With The .net Sdk?
  61. What’s The .net Collection Class That Allows An Element To Be Accessed Using A Unique Key?
  62. What Is Cls
  63. What Is Clr
  64. What Is Dependency Injection?
  65. Can You Describe Iuknown Interface In Short?
  66. What Is Reference Counting In Com?
  67. What Is Com?
  68. When We Use Windows Api In .net Is It Managed Or Unmanaged Code?
  69. Once I Have Developed The Com Wrapper Do I Have To Still Register The Com In Registry?
  70. In Which Order The Destructor Is Called For An Inherited Class?
  71. In Which Order The Constructor Is Called For An Inherited Class?
  72. What Are Value Types And Reference Types ?
  73. What Is The Difference Between Viewstate And Sessionstate?
  74. Difference Between Machine.config And Web.config?
  75. How Is .net Able To Support Multiple Languages?
  76. What Is View State?
  77. Can The Validation Be Done In The Server Side? Or This Can Be Done Only In The Client Side?
  78. How To Manage Pagination In A Page?
  79. What Is Ado .net And What Is Difference Between Ado And Ado.net?
  80. How To Get The Sum Of Last 3 Items In A List Using Lambda Expressions?
  81. You Have Got 1 Million Parking Slots. At A Time A Parking Slot Can Be Free Or Not. To Get Next Slot Easily Which Data Structure To Implement?
  82. Why Can’t Struct Be Used Instead Of Class For Storing Entity?
  83. What Is Assembly Version Series Sequence?
  84. What Tool We Have To Use To Install Assembli In Gac Folder.
  85. Ho We Can See Assembly Information?
  86. What Is Private And Shared Assembly?
  87. What Is Type Safety?
  88. What Is The Difference Between Datareader And Dataadapter?
  89. What Is Func In .net 3.5?
  90. What Is Action In C# 3.5?
  91. What Is The Advantage Of Mvc?
  92. Advantages Of Vb.net And C#
  93. What Is Garbage Collection?
  94. How Many Types Of Stored Procedures Are There In Sql Server?
  95. What Is The Purpose Of Linked Server Configuration In Sql Server?
  96. What Is Difference Between Tostring() Vs Convert.tostring() Vs (string) Cast
  97. In How Many Ways You Can Invoke Ssrs Reports?
  98. What Is A Static Constructor?
  99. Why Do I Get Errors When I Try To Serialize A Hashtable?
  100. Why Is Xmlserializer So Slow?

.NET Technical Interview Questions

 

  1. Can I Customise The Serialization Process?
  2. Does The .net Framework Have In-built Support For Serialization?
  3. Is The Lack Of Deterministic Destruction In .net A Problem?
  4. Why Doesn’t The .net Runtime Offer Deterministic Destruction?
  5. How Does Assembly Versioning Work?
  6. How Do Assemblies Find Each Other?
  7. Where Is The Output Of Textwritertracelistener Redirected?
  8. Why Are There Five Tracing Levels In System.diagnostics.traceswitcher?
  9. What’s The Difference Between The Debug Class And Trace Class?
  10. What Does Assert() Method Do?
  11. Why String Are Called Immutable Data Type ?
  12. What Is Side-by-side Execution? Can Two Application One Using Private Assembly And Other Using Shared Assembly Be Stated As A Side-by-side Executables?
  13. Changes To Which Portion Of Version Number Indicates An Incompatible Change?
  14. What Is Partial Assembly References?
  15. What Is The Difference Between Finalize And Dispose (garbage Collection) ?
  16. What Is Reflection?
  17. What Does ‘managed’ Mean In The .net Context?
  18. What Platforms Does The .net Framework Run On?
  19. When Was The First Version Of .net Released?
  20. When Was .net Announced?
  21. What Is .net Remoting?
  22. How Do You Generate A Strong Name?
  23. What Is The Gac? What Problem Does It Solve?
  24. What Is Strong-typing Versus Weak-typing? Which Is Preferred? Why?
  25. What Is The Difference Between An Exe And A Dll?
  26. Describe The Advantages Of Writing A Managed Code Application Instead Of Unmanaged One. What’s Involved In Certain Piece Of Code Being Managed?
  27. What Is Public Or Shared Assemblies ?
  28. What Is Metadata?
  29. What Are The Mobile Devices Supported By .net Platform
  30. Can You Declare The Override Method Static While The Original Method Is Non-static?
  31. What Is Boxing And Unboxing ?
  32. What Is Msil, Il, Cts And, Clr ?
  33. What Is Gc (garbage Collection) And How It Works
  34. How Do I Unload An Application Domain?
  35. How Do I Unload An Assembly?
  36. How Do I Run Managed Code In A Process?
  37. What Is The Difference Between An Application Domain And A Process?
  38. What Is A Clr Host?
  39. Can We Maintain State In Webservice?
  40. Difference Between Authentication And Authorization?
  41. What Is The Purpose Of Enumerable Class In .net?
  42. In The Page Load Event I Assigned Dropdownlist’s Datasource Property To A Valid List. On The Submit Button Click.. The Same Datasource Property Is Coming As Null. Why?
  43. What Is Data Adapter?
  44. What Is Replication?
  45. What Are The Different Types Of Remote Object Creation Mode In .net?
  46. What Is Application Domain?
  47. What Is Thread.sleep()?
  48. What Is Addressof Operator?
  49. What Is Multi-threading?
  50. What Is Dcom?
  51. How To Install Or Uninstall A Windows Service?
  52. What Is Jit? What Are The Different Types Of Jit?
  53. What Is Delay Signing?
  54. What Is Strong Name?
  55. What Is Code Verification?
  56. What Is Code Access Security?
  57. What Is Il?
  58. What Is Class Library In .net
  59. How To Block A Class From Being Inherited Further?
  60. How To Find The Current Application File Path While Runtime?
  61. What Is The Base Class Of All Classes In C#?
  62. You Are Designing A User Control. You Created New Property Called Backgroundimage Which Is Of Type Image. You Wanted To Disable Storing This Property In The User’s Form. How To Achieve This?
  63. You Are Creating A Custom Usercontrol, Some Of The Newly Created Properties Are Shown In The Properties Window. How You Can Hide A New Property Named Theme From The Properties Window?
  64. How To Sort An Int Array In C#?
  65. How To Prevent The Error While Updating Ui Control From Another Thread?
  66. You Are Designing A Single Person Shooter Game Application. The Player Can Choose Between Multiple Guns. 1) Pistol With 5 Bullets 2) Shotgun With 100 Bullets 3) Grenade Launcher With 20 Grenades Each Gun Will Have Different Sound Effects And Graphics.pressing Ctrl+space Should Rotate Between Guns.which Design Pattern Should You Employ For This?
  67. How To Find Whether The Application Is Run From Inside Ide Or Not?
  68. What Is The Difference Between Var And Dynamic Types In C# 4.0?
  69. How Can You Access A Private Method Of A Class?
  70. Why Linq Is Having Select Clause At The End?
  71. Name The Method Of Servicebase Class?
  72. Name The Two Classes Are Required For Implementing A Windows Service?
  73. What Are The Benefits Of Using Windows Services:
  74. What Are Windows Services?
  75. By Default Security Setting In .net?
  76. Can Namespace Contain The Private Class?
  77. Wcf And What Is Difference Between Wcf And Web Services?
  78. Is Exe Is Machine Dependent?
  79. What Is Difference Between Il And Dll ?
  80. How Will You Deploy The Dll File In Gac?
  81. If Dll And Exe Files Are Same It Means You Can Deploy Both The Files In Gac?
  82. What Is The Task Perform By Clr?
  83. Suppose Two Interfaces Have Same Method, So How Will You Implement These Methods In Derive Class?
  84. What Is Using Keyword?
  85. How To Get The Number After Decimal Point In .net?if The No Is 2.36. Result Should Be 36?
  86. Wht Executescaler Method Is Used?
  87. What Is Literal Control
  88. How Many Languages .net Is Supporting Now?
  89. How Asp .net Different From Asp?
  90. What Is Smart Navigation In .net?
  91. What Is View State In .net?
  92. How Do You Validate The Controls In An Asp .net Page?
  93. How To Manage Pagination In A Page Using .net?
  94. Observations Between Vb.net And Vc#.net?
  95. Advantages Of Migrating To Vb.net?
  96. Advantages Of Vb.net?
  97. Using Activex Control In .net?
  98. What Is Machine.config In .net?
  99. What Is Web.config In .net?
  100. What Is The Difference Between Ado And Ado.net?

Advanced .NET Interview Questions

 

  1. What Is The Difference Between Vb And Vb.net?
  2. What Is A Strong Name In .net?
  3. What Is A Manifest In .net?
  4. Creating A Key Pair In .net?
  5. What Is The Difference Between “using System.data;” And Directly Adding The Reference From “add References Dialog Box”?
  6. What Is Gac In .net?
  7. What Is A Metadata In .net?
  8. What Is Managed Code And Managed Data In .net?
  9. What Is .net And .net Framework?
  10. What’s A Windows Process?
  11. What’s Typical About A Windows Process In Regards To Memory Allocation?
  12. Why Do You Call It A Process? What’s Different Between Process And Application In .net, Not Common Computer Usage, Terminology?
  13. What Distributed Process Frameworks Outside .net Do You Know?
  14. What Are Possible Implementations Of Distributed Applications In .net?
  15. When Would You Use .net Remoting And When Web Services?
  16. What’s A Proxy Of The Server Object In .net Remoting?
  17. What Are Remotable Objects In .net Remoting?
  18. What Are Channels In .net Remoting?
  19. What Security Measures Exist For .net Remoting In System.runtime.remoting?
  20. What Is A Formatter?
  21. Choosing Between Http And Tcp For Protocols And Binary And Soap For Formatters, What Are The Trade-offs?
  22. What’s Singlecall Activation Mode Used For?
  23. What’s Singleton Activation Mode?
  24. How Do You Define The Lease Of The Object?
  25. Can You Configure A .net Remoting Object Via Xml File?
  26. How Can You Automatically Generate Interface For The Remotable Object In .net With Microsoft Tools?
  27. What Are The Consideration In Deciding To Use .net Remoting Or Asp.net Web Services?
  28. What’s Singlecall Activation Mode Used For?
  29. What Do You Mean By A Windows Process In Regards To Memory Allocation?
  30. What Is The Relationship Between A Process, Application Domain, And Application?
  31. How To Decide Which To Use .net Remoting Or Asp.net Web Services?
  32. What Is The Proxy Of The Server Object In .net Remoting?
  33. What Do Mean By Remotable Objects In .net Remoting?
  34. Which Class Does The Remote Object Has To Inherit?
  35. What Are Two Different Types Of Remote Object Creation Mode In .net?
  36. What Are The Situations You Will Use Singleton Architecture In Remoting ?
  37. What Is Fundamental Of Published Or Precreated Objects In Remoting?
  38. What Are The Ways In Which Client Can Create Object On Server In Cao Model?
  39. Are Cao Stateful In Nature?
  40. Is It A Good Design Practice To Distribute The Implementation To Remoting Client?
  41. Which Config File Has All The Supported Channels/protocol?
  42. Can Non-default Constructors Be Used With Single Call Sao?
  43. How Can We Call Methods In Remoting Asynchronously?
  44. What Is Asynchronous One-way Calls?
  45. What Is Marshalling And What Are Different Kinds Of Marshalling?
  46. What Is Objref Object In Remoting?
  47. What Is A Web Service?
  48. What Is Uddi?
  49. What Is Disco?
  50. What Is Wsdl?
  51. What The Different Phase/steps Of Acquiring A Proxy Object In Webservice?
  52. What Is File Extension Of Webservices?
  53. Which Attribute Is Used In Order That The Method Can Be Used As Webservice?
  54. What Are The Steps To Create A Webservice And Consume It?
  55. Why Do You Call It A Process? What’s Different Between Process And Application In .net, Not Common Computer Usage, Terminology?
  56. What’s Singlecall Activation Mode Used For?
  57. What Is The Relation Between Classes And Objects?
  58. Explain Different Properties Of Object Oriented Systems.
  59. What Is Difference Between Association, Aggregation And Inheritance Relationships?
  60. Explain The Features Of An Abstract Class In Net.
  61. Difference Between Abstract Classes And Interfaces
  62. Similarities And Difference Between Class And Structure In .net
  63. Features Of Static/shared Classes.
  64. What Is Operator Overloading In .net?
  65. What Is Finalize Method In .net?
  66. What Are The Concepts Of Dispose Method?
  67. Concurrency With Aop?
  68. Transparent Caching With Aop ?
  69. Security With Aop?
  70. Aspect-oriented Programming?
  71. What Is Manifest In .net?
  72. What Is Garbage Collection? How To Force Garbage Collector To Run?
  73. Explain Boxing And Unboxing In .net.
  74. What Is Native Image Generator (ngen.exe)?
  75. Explain Clr In Brief.
  76. Describe How A .net Application Is Compiled And Executed.
  77. Describe The Parts Of Assembly.
  78. Overview Of Clr Integration.
  79. Clr Triggers?
  80. Steps For Creating Clr Trigger?
  81. What Is A Clr (common Language Runtime)?
  82. Explain The Concepts Of Cts And Cls(common Language Specification).
  83. .net Framework
  84. How Do We Access Crystal Reports In .net?
  85. What Are The Various Components In Crystal Reports?
  86. What Basic Steps Are Needed To Display A Simple Report In Crystal?
  87. Asp.net 2.0 Themes
  88. Should User Input Data Validation Occur Server-side Or Client-side? Why?
  89. What’s A Bubbled Event?
  90. What Is A Satellite Assembly?
  91. .net Code Security
  92. .net Assembly
  93. .net Debug & Trace
  94. Who Benefits From Ajax?
  95. What Is Asp.net Ajax?
  96. What Is .net?
  97. What Versions Of .net Are There?
  98. What Operating Systems Does The .net Framework Run On?
  99. What Tools Can I Use To Develop .net Applications?
  100. Why Did They Call It .net?

C# .NET Interview Questions

 

  1. What Is The Cli? Is It The Same As The Clr?
  2. What Is C#?
  3. What Is The Difference Between A Private Assembly And A Shared Assembly?
  4. How Can I Develop An Application That Automatically Updates Itself From The Web?
  5. Can I Write My Own .net Host?
  6. Is It True That Objects Don’t Always Get Destroyed Immediately When The Last Reference Goes Away?
  7. Should I Implement Finalize On My Class? Should I Implement Idisposable?
  8. Do I Have Any Control Over The Garbage Collection Algorithm?
  9. How Can I Find Out What The Garbage Collector Is Doing?
  10. What Is The Lapsed Listener Problem?
  11. I Want To Serialize Instances Of My Class. Should I Use Xmlserializer, Soapformatter Or Binaryformatter?
  12. Xmlserializer Is Throwing A Generic “there Was An Error Reflecting Myclass” Error. How Do I Find Out What The Problem Is?
  13. What Is Code Access Security (cas)?
  14. How Does Cas Work?
  15. I’m Having Some Trouble With Cas. How Can I Troubleshoot The Problem?
  16. I Can’t Be Bothered With Cas. Can I Turn It Off?
  17. Can I Look At The Il For An Assembly?
  18. Can Source Code Be Reverse-engineered From Il?
  19. How Can I Stop My Code Being Reverse-engineered From Il?
  20. Can I Do Things In Il That I Can’t Do In C#?
  21. Does .net Replace Com?
  22. Is Dcom Dead?
  23. Is Com+ Dead?
  24. Can I Use Com Components From .net Programs?
  25. Can I Use .net Components From Com Programs?
  26. Is Atl Redundant In The .net World?
  27. How Do I Stop A Thread?
  28. How Do I Know When My Thread Pool Work Item Has Completed?
  29. Should I Use Readerwriterlock Instead Of Monitor.enter/exit?
  30. Tracing . Is There Built-in Support For Tracing/logging?
  31. Can I Redirect Tracing To A File?
  32. Are There Any Third Party Logging Components Available?
  33. Miscellaneous. How Does .net Remoting Work?
  34. When Should You Call The Garbage Collector In .net?
  35. What Is The Difference Between An Event And A Delegate?
  36. What Size Is A .net Object?
  37. Will My .net App Run On 64-bit Windows?
  38. .net 2.0 What Are The New Features Of .net 2.0?
  39. What’s New In The .net 2.0 Class Library?
  40. What Is Ajax?
  41. Can Ajax Be Implemented In Browsers That Do Not Support The Xmlhttprequest Object?
  42. Can Ajax Technology Work On Web Servers Other Than Iis?
  43. Which Browsers Support The Xmlhttprequest Object?
  44. What Are Ajax Extensions?
  45. What Is Dojo?
  46. How To Handle Multiple Or Concurrent Requests In Ajax?
  47. What Is The Role Of Scriptmanager In Ajax?
  48. Can We Override The Enablepartialrendering Property Of The Scriptmanager Class?
  49. How To Use Multiple Scriptmanager Controls In A Web Page?
  50. Whats The Difference Between Registerclientscriptblock, Registerclientscriptinclude And Registerclientscriptresource?
  51. What Are Type/key Pairs In Client Script Registration? Can There Be 2 Scripts With The Same Type/key Pair Name?
  52. What Are The Modes Of Updation In An Updatepanel? What Are Triggers Of An Updatepanel?
  53. How To Control How Long An Ajax Request May Last?
  54. What Is Asp.net Futures?
  55. What Are Limitations Of Ajax?
  56. How To Trigger A Postback On An Updatepanel From Javascript?
  57. Which Request Is Better With Ajax, Get Or Post?
  58. What Is The Asp.net Ajax Framework? What Versions Have Been Released So Far?
  59. What Is The Asp.net Control Toolkit?
  60. How To Create An Ajax Website Using Visual Studio?
  61. How To Make Sure That Contents Of An Updatepanel Update Only When A Partial Postback Takes Place (and Not On A Full Postback)?
  62. What Are The Requirements To Run Asp.net Ajax Applications On A Server?
  63. Explain The Updatepanel?
  64. Can I Use Asp.net Ajax With Any Other Technology Apart From Asp.net?
  65. Difference Between Server-side Ajax Framework And Client-side Ajax Framework?
  66. How Can You Debug Asp.net Ajax Applications?
  67. Can We Call Server-side Code (c# Or Vb.net Code) From Javascript?
  68. Can You Nest Updatepanel Within Each Other?
  69. How Can You To Add Javascript To A Page When Performing An Asynchronous Postback?
  70. Explain Differences Between The Page Execution Lifecycle Of An Asp.net Page And An Asp.net Ajax Page?
  71. Is The Asp.net Ajax Control Toolkit(ajaxcontroltoolkit.dll) Installed In The Global Assembly Cache?
  72. What Role “#&&” Plays In A Querysting?
  73. Is There Any Property Names “isnavigating”?
  74. Tell Name Of All The Control Of Ajax?
  75. If There Are Multiple Update Panels On The Page Say Upd1 And Upd2. There Is A Button Placed In Upd1. How Can You Stop Upd2 To Update When Button Placed In Upd1 Is Clicked?
  76. How Many Types Of Triggers Are There In Update Panel?
  77. What Is The Displayafter Property In Updateprogress Control?
  78. Is It Compulsory To Have Script Manager On The Page When You Are Using Any Control Of Ajax Control Tool Kit?
  79. Which Property Needs To Be Set For Script Manager Control To Extend The Time Before Throwing Time Out Expection If No Response Is Received From The Server?
  80. To Create Browser History Point Using Client Script, We Make Call Method…..
  81. Default Value Of Enablehistory Attribute In Scriptmanager Is,
  82. What Is A Design Pattern?
  83. What Are Creational Design Patterns?
  84. Whats The Difference Between Abstract Factory Pattern And Factory Pattern?
  85. Describe The Builder Design Pattern
  86. What Is The Lazy Design Pattern?
  87. What Is The Prototype Design Pattern?
  88. What Is The Singleton Design Pattern?
  89. What Are Structural Design Patterns?
  90. What Are The Different Types Of Proxy Patterns?
  91. What Is A Behavioral Design Pattern?
  92. What Is The Mvc Pattern (model View Controller Pattern)?
  93. What Is The Gang Of Four Design Pattern?
  94. When Should Design Patterns Be Used?
  95. How Many Design Patterns Can Be Created In .net?
  96. Describe The Ajax Design Pattern.
  97. Explain The .net Framework.
  98. Describe The .net Framework Architecture.
  99. What Are The Components Of The .net Framework.
  100. Explain The Role Of Assembly In The .net Framework.

.NET Framework Interview Questions

 

  1. Describe The Gac In The .net Framework.
  2. What Is The Advantage Of Packaging Over Xcopy In .net?
  3. .net Code Security Interview Questions With Answers
  4. .net Debug & Trace Interview Questions With Answers
  5. What Is Asp.net 2.0 Ajax?
  6. The Components In The Asp.net 2.0 Ajax Packaging?
  7. What Are The Benefits Of Ajax?
  8. What’s The .net Collection Class That Allows An Element To Be Accessed Using A Unique Key?
  9. Balancing Client And Server Programming With Asp.net Ajax
  10. Asp.net 2.0 Features?
  11. What Is The Smallest Unit Of Execution In .net?
  12. Will The Finally Block Get Executed If An Exception Has Not Occurred?
  13. Asp.net Application Life Cycle
  14. What’s Difference Between “optimistic” And “pessimistic” Locking?
  15. Differences Between “dataset” And “datareader”.
  16. What Are The Steps Involved To Fill A Dataset?
  17. Describe The .net Base Class Library.
  18. What Is The Difference Between Value Types And Reference Types?
  19. Can You Store Multiple Data Types In System.array?
  20. Explain An Object, Class And Method.
  21. What Is The Difference Between Localization And Globalization?
  22. What Is Unicode?
  23. What Are Resource File And How Do We Generate Resource File?
  24. Describe How To Implement Globalization And Localization In The Use Interface In .net.
  25. Explain How To Prepare Culture-specific Formatting In .net.
  26. Explain The Use Of Resource Manager Class In .net.
  27. Asp.net Globalization-localization
  28. Asp.net Overview
  29. What’s The Top .net Class That Everything Is Derived From?
  30. What Kinds Of Fonts Are Supported With Silverlight?
  31. How Much Is The Pay-for-use Service If I Chose Not To Use Microsoft-sponsored Advertising?
  32. What Is The Difference Between Silverlighttm Streaming And Other Video Sharing Services?
  33. Why Is This Service Branded With Windows Livetm?
  34. It’s Free-what’s The Catch?
  35. Can I Tap Into Other Windows Livetm Services?
  36. Do You Support Digital Rights Management To Protect My Videos?
  37. How Does The Service Stream Content?
  38. Can I Stream Live Content/events?
  39. Do I Need To Have The Latest Version Of Windows Media Player Installed?
  40. What Audio Or Video Formats Are Supported In Silverlight?
  41. Will Silverlight Support All The Codecs Windows Media Player Supports?
  42. Will Silverlight Support Live Streaming Events As Well As Downloading Media?
  43. Does Silverlight Support Mpeg4 And H.264 Video, Or Advanced Audio Coding (aac) Audio, Or Flash Video?
  44. Explain Silverlight Architecture.
  45. Difference Between Wpf And Silverlight
  46. What Are The Limitations Of Using External Fonts In Silverlight?
  47. Describe How To Perform Event Handling In Silver Light
  48. Explain How To Add The Reference Of A Class Library Project In Silverlight Application Project
  49. What Is Silverlight.js File? Explain With An Example.
  50. What Is A .xap File? Explain With An Example.
  51. Explain How Can Silverlight Use Asx Files.
  52. Explain Silverlight Application Life-cycle
  53. What Is The Role Of Silverlight Plugin In The Silverlight Application Life-cycle?
  54. Explain The Purpose Of Storyboard.targetproperty.
  55. Why Is Xap Important?
  56. How Does Xap Work?
  57. Explain The Use Of Clientbin Folder In Silverlight.
  58. What Is Clipping In Silverlight?
  59. What Is The Parent Xaml Tag Of Silverlight Page? Explain Its Purposes.
  60. Explain With Example How To Change The Default Page Of The Silverlight Application.
  61. How Many Xaml Files Are Created When You Create A New Project In Silverlight Through Visual Studio And What Are The Uses Of Those Files?
  62. What Are The Programming Language That Can Be Used To Write The Backend Of The Silverlight Application?
  63. Explain How To Set Silverlight Contents Width As 100%.
  64. Can You Provide A List Of Layout Management Panels And When You Will Use Them?
  65. Explain How To Apply Style Elements In A Silverlight Project?
  66. What Are The Main Features And Benefits Of Silverlight?
  67. When Would One Use Silverlight Instead Of Asp.net Ajax?
  68. True Or False: A Web Service Can Only Be Written In .net?
  69. Does Silverlight Have A System.console Class? Why?
  70. What Are The Properties That Have To Be Initialized For Creating A Silverlight Control Using Createsilverlight()?
  71. Explain The Path Instructions In Xaml
  72. Explain The Resemblance Between Css And Silverlight, Regarding Overlapping Objects.
  73. What Kind Of Brushed Does Silverlight Support?
  74. Explain The Mouse Events That Silverlight Currently Supports.
  75. Difference Between Mouseleftbuttondown And Mouseleftbuttonup In Silverlight.
  76. What Is The Function Used For Removing An Event Listener?
  77. How Would You Implement Drag-and-drop In Silverlight?
  78. What Are The Properties Of The Eventargs Argument When Capturing Keyboard Events?
  79. What Is The Function Used To Get A Reference To An Object Inside The Silverlight Control?
  80. What Objects Support Tranformations? What Are The Transformations That Silverlight Supports For The Elements?
  81. Explain The Steps Needed To Be Performed In Order To Create An Animation In Xaml
  82. What Are The Animation Types Supported By Silverlight?
  83. Explain The Concept Of Keyframe. What Is The Difference Between Silverlight And Flash Regarding Animations?
  84. How Many Classes Can A Single .net Dll Contain?
  85. How Could You Determine The Media Position When Playing A Video In Silverlight?
  86. Name Two Properties Common In Every Validation Control?
  87. What Is The Global.asax Used For?
  88. How Could You Modify Xaml Content From Javascript?
  89. What Are The Necessary Step That Need To Be Performed In Order To Download Content From Within Silverlight?
  90. What Asp.net Control Can Embed Xaml Into Asp.net Pages?
  91. Does Silverlight Supports Database Connectivity? Explain
  92. What Is The Codec Silverlight Supports For Hd Streaming?
  93. How Can Iis Improve Silverlight Streaming?
  94. Whats An Assembly?
  95. What Is Smpte Vc-1?
  96. What Is Xaml? Are Xaml File Compiled Or Built On Runtime?
  97. What Are Dependency Properties In Silverlight?
  98. Will Silverlight Support Digital Rights Management?
  99. Explain The Relationship Between Silverlight And Windows Media Technologies?
  100. What Is The Relationship Between Silverlight And Windows Media Player?

ASP.NET Interview Questions For Experienced

 

  1. Will Silverlight-based Applications And Content Run On Any Web Server? What Are The Benefits To Running It On Servers Running Windows?
  2. What Features Are Missing From Silverlight Presentation Markup That Will Be Supported In Windows Presentation Foundation?
  3. Is Silverlight Supported On Various Locales?
  4. What Are The Different Ways To Display Text With Silverlight?
  5. What Is Xaml ?
  6. What Is The Difference Between Wpf And Silverlight?
  7. Can You Name Built-in Layout Panels You Have Been Using With Silverlight?
  8. How Can I Switch To Expression Blend From Visual Studio?
  9. How Can You Set Image Source Dynamically From C# Application To”test.png” File?
  10. How Can I Create Image Pieces/sub Image?
  11. How Does Silverlight 2 Differ From Adobe Flash?
  12. Can You Elaborate How To Start A Silverlight Application With Visual Studio?
  13. What Is Silverlight Tool Kit?
  14. What Happened When I Press F5 Within Visual Studio To Run Silverlight Application?
  15. What Is Storyboard?
  16. Can I Add More Than One .xaml Pages In Silverlight Application?
  17. What Is The Best Place To Start Silverlight Application?
  18. Is Silverlight The Official Name For “wpf/e”?
  19. Does Silverlight Web Application Work With All Browsers ?
  20. Is Silverlight A New Media Player?
  21. How Is My Content Secured From Unauthorized Access?
  22. Explain Form Level Validation And Field Level Validation
  23. Overview Of Ado.net Architecture.
  24. Asp.net State Management
  25. Asp.net Caching
  26. Define Xslt.
  27. What Is Xpath?
  28. Define Xmlreader Class.
  29. Define Xmlvalidatingreader Class.
  30. How Can You Sort The Elements Of The Array In Descending Order?
  31. What’s The .net Collection Class That Allows An Element To Be Accessed Using A Unique Key?
  32. Can You Prevent Your Class From Being Inherited By Another Class?
  33. How Is Method Overriding Different From Method Overloading?
  34. What Is A Satellite Assembly?
  35. What Are Advantages And Disadvantages Of Microsoft-provided Data Provider Classes In Ado.net?
  36. What Is .net Framework?
  37. Is .net A Runtime Service Or A Development Platform?
  38. What Are The New Features Of Framework 1.1 ?
  39. How Do I Define My Own Code Group?
  40. How Do I Change The Permission Set For A Code Group?
  41. Can I Create My Own Permission Set?
  42. I’m Having Some Trouble With Cas. How Can I Diagnose My Problem?
  43. I Can’t Be Bothered With All This Cas Stuff. Can I Turn It Off?
  44. What Is Msil, Il?
  45. Can I Write Il Programs Directly?
  46. What Is Jit (just In Time)? How It Works?
  47. Which Namespace Is The Base Class For .net Class Library?
  48. What Is Event – Delegate? Clear Syntax For Writing A Event Delegate
  49. What Are Object Pooling And Connection Pooling And Difference? Where Do We Set The Min And Max Pool Size For Connection Pooling?
  50. Interop Services?
  51. What Are Server Controls?
  52. What Is Exception Handling?
  53. What Are The Different Types Of Assemblies?
  54. What Are Satellite Assemblies? How You Will Create This? How Will You Get The Different Language Strings?
  55. What Is Jagged Arrays?
  56. What Is Assembly Manifest? What All Details The Assembly Manifest Will Contain?
  57. Difference Between Assembly Manifest & Metadata?
  58. What Is Global Assembly Cache (gac) And What Is The Purpose Of It? (how To Make An Assembly To Public? Steps) How More Than One Version Of An Assembly Can Keep In Same Place?
  59. How Do I Know When My Thread Pool Work Item Has Completed?
  60. How To Find Methods Of A Assembly File (not Using Ildasm)
  61. What Is Garbage Collection In .net? Garbage Collection Process?
  62. Readonly Vs. Const?
  63. What Is Reflection In .net? Namespace? How Will You Load An Assembly Which Is Not Referenced By Current Assembly?
  64. What Is Custom Attribute? How To Create? If I’m Having Custom Attribute In An Assembly, How To Say That Name In The Code?
  65. What Is The Managed And Unmanaged Code In .net?
  66. How Do You Create Threading In .net? What Is The Namespace For That?
  67. Using Directive Vs Using Statement
  68. Describe The Managed Execution Process?
  69. What Is Active Directory? What Is The Namespace Used To Access The Microsoft Active Directories? What Are Adsi Directories?
  70. How Garbage Collector (gc) Works?
  71. Why Do We Need To Call Cg.supressfinalize?
  72. What Is Nmake Tool?
  73. What Are Namespaces?
  74. What Is Rcw (runtime Callable Wrappers)?
  75. What Is Ccw (com Callable Wrapper)
  76. How Will You Register Com+ Services?
  77. What Is Use Of Contextutil Class?
  78. What Is Pinvoke?
  79. Is It True That Com Objects No Longer Need To Be Registered On The Server?
  80. Can .net Framework Components Use The Features Of Component Services?
  81. What Are The Oops Concepts?
  82. What Is The Difference Between A Struct And A Class?
  83. What Is Method Overloading?
  84. What Is Method Overriding? How To Override A Function In C#?
  85. Can We Call A Base Class Method Without Creating Instance?
  86. You Have One Base Class Virtual Function How Will Call That Function From Derived Class?
  87. In Which Cases You Use Override And New Base?
  88. What Are Sealed Classes In C#?
  89. What Is Polymorphism? How Does Vb.net/c# Achieve Polymorphism?
  90. Explain About Protected And Protected Internal, “internal” Accessspecifier?
  91. Difference Between Type Constructor And Instance Constructor? What Is Static Constructor, When It Will Be Fired? And What Is Its Use?
  92. What Is Private Constructor? And It’s Use? Can You Create Instance Of A Class Which Has Private Constructor?
  93. I Have 3 Overloaded Constructors In My Class. In Order To Avoid Making Instance Of The Class Do I Need To Make All Constructors To Private?
  94. Overloaded Constructor Will Call Default Constructor Internally?
  95. What Is The Difference Between Finalize And Dispose (garbage Collection)
  96. Is Goto Statement Supported In C#? How About Java?
  97. What’s Different About Switch Statements In C#?
  98. Advantage Of Ado.net?
  99. How Would You Connect To Database Using .net?
  100. Difference Between Oledb Provider And Sqlclient ?

.NET Interview Questions For 5+ Years Experience

 

  1. What Are The Different Namespaces Used In The Project To Connect The Database? What Data Providers Available In .net To Connect To Database?
  2. Which Method Do You Invoke On The Dataadapter Control To Load Your Generated Dataset With Data?
  3. Explain Different Methods And Properties Of Datareader Which You Have Used In Your Project?
  4. What Happens When We Issue Dataset.readxml Command?
  5. In How Many Ways We Can Retrieve Table Records Count? How To Find The Count Of Records In A Dataset?
  6. How To Check If A Datareader Is Closed Or Opened?
  7. Differences Between Dataset.clone And Dataset.copy?
  8. What Is Method To Get Xml And Schema From Dataset?
  9. Difference Between Application Events And Session Events
  10. Difference Between Asp Session And Asp.net Session?
  11. What Is Cookie Less Session? How It Works?
  12. What Method Do You Use To Explicitly Kill A Users Session?
  13. What Are The Different Ways You Would Consider Sending Data Across Pages In Asp (i.e Between 1.asp To 2.asp)?
  14. What Is State Management In .net And How Many Ways Are There To Maintain A State In .net? What Is View State?
  15. What Are The Disadvantages Of View State / What Are The Benefits?
  16. When Maintaining Session Through Sql Server, What Is The Impact Of Read And Write Operation On Session Objects?
  17. Explain The Differences Between Server-side And Client-side Code?
  18. Which Asp.net Configuration Options Are Supported In The Asp.net Implementation On The Shared Web Hosting Platform?
  19. What Is Role-based Security?
  20. How Do You Specify Whether Your Data Should Be Passed As Query String And Forms (mainly About Post And Get)
  21. Which Two Properties Are There On Every Validation Control?
  22. How Do You Use Css In Asp.net?
  23. How Do You Implement Postback With A Text Box?
  24. What Is Sql Injection?
  25. Asp.net – How To Find Last Error Which Occurred?
  26. What Is The Use Of sessionstate Tag In The Web.config File?
  27. What Are The Different Modes For The Sessionstates In The Web.config File?
  28. Is It Possible For Me To Change My .aspx File Extension To Some Other Name?
  29. What Is A Webservice And What Is The Underlying Protocol Used In It?
  30. In A Webservice, Need To Display 10 Rows From A Table. Which Is The Best Choice Among Datareader Or Dataset?
  31. Are Web Services A Replacement For Other Distributed Computing Platforms?
  32. How To Generate Proxy Class Other Than .net App And Wsdl Tool?
  33. What Is A Proxy In Web Service? How Do I Use A Proxy Server When Invoking A Web Service?
  34. How You Will Protect / Secure A Web Service?
  35. What Is Remoting?
  36. Cao And Sao.
  37. Difference Between Singleton And Singlecall.
  38. In Which Process Does Iis Runs (was Asking About The Exe File)
  39. Where Are The Iis Log Files Stored?
  40. How Do I Send An Email Message From My Asp.net Page?
  41. What Is An Il?
  42. What Is Difference Between Namespace And Assembly?
  43. What Is The Use Of Errorprovider Control In .net?
  44. Can Any Object Be Stored In A Viewstate In .net?
  45. Difference Between Class And Interface In .net?
  46. What Is Shadowing?
  47. Differences Between Dll And Exe?
  48. What Do You Mean By Authentication And Authorization?
  49. Where Do You Add An Event Handler?
  50. Differentiate Between Client-side And Server-side Validations In Web Pages?
  51. What Does The Orientation Property Do In A Menu Control?
  52. Which Method Is Used To Force All The Validation Controls To Run?
  53. What Is Viewstate?
  54. Differentiate Globalization And Localization?
  55. How Can You Register A Custom Server Control To A Web Page?
  56. What Is Iis? Why Is It Used?
  57. Define A Multilingual Website?
  58. What Are The Advantages Of The Code-behind Feature?
  59. Which Is The Parent Class Of The Web Server Control?
  60. How Can We Identify That The Page Is Post Back?
  61. In Which Event Are The Controls Fully Loaded?
  62. Which Properties Are Used To Bind A Datagridview Control?
  63. What Is Autopostback?
  64. What Are The Parameters That Control Most Of Connection Pooling Behaviours?
  65. What Are Different Types Of Authentication Techniques That Are Used In Connection Strings To Connect .net Applications With Microsoft Sql Server?
  66. Which Adapter Should You Use, If You Want To Get The Data From An Access Database?
  67. What Are The Pre-requisites For Connection Pooling?
  68. Name The Method That Needs To Be Invoked On The Dataadapter Control To Fill The Generated Dataset With Data?
  69. Which Property Is Used To Check Whether A Datareader Is Closed Or Opened?
  70. What Is The Role Of The Dataset Object In Ado.net?
  71. Which Architecture Does Datasets Follow?
  72. Mention The Namespace That Is Used To Include .net Data Provider For Sql Server In .net Code?
  73. What Is The Meaning Of Object Pooling?
  74. What Are Tuples?
  75. What Is The Difference Between Int And Int32?
  76. Which Method Do You Use To Enforce Garbage Collection In .net?
  77. What Is Managed Extensibility Framework?
  78. What Is Microsoft Intermediate Language (msil)?
  79. Mention The Execution Process For Managed Code?
  80. What Are The Benefits Of .net Framework?
  81. Mention The Core Components Of .net Framework?
  82. Briefly Describe The Roles Of Clr In .net Framework?
  83. Why Is String Called Immutable Data Type?
  84. What Is Side-by-side Execution? Can Two Applications, One Using A Private Assembly And Other Using A Shared Assembly, Be Stated As Side-by-side Executables?
  85. Explain The Differences Between Managed And Unmanaged Code?
  86. What Is The Maximum Number Of Classes That Can Be Contained In One Dll File?
  87. Can One Dll File Contains The Compiled Code Of More Than One .net Language?
  88. Explain The Different Types Of Assemblies?

RELATED INTERVIEW QUESTIONS

  1. Accenture Java Interview Questions
  2. Advanced Java Interview Questions
  3. Core Java Interview Questions
  4. .NET Interview Questions
  5. Ansible Interview Questions
  6. ServiceNow Interview Questions
  7. RPA Interview Questions
  8. Blue Prism Interview Questions
  9. SSIS Interview Questions And Answers
  10. Oracle Performance Tuning Interview Questions
  11. SCCM Interview Questions
  12. ServiceNow Interview Questions
  13. SQL Interview Questions
  14. Docker Interview Questions