.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

How can you examine all .net frameworks installed on a machine?

Posted By :shankey     Posted Date :August 25, 2011    Points :40   Category :.NET Framework 

Examine the subkeys whose names start with the lowercase letter "v"
and are followed by a number under the above mentioned registry key.

You can also find related Interview Question to How can you examine all .net frameworks installed on a machine?  below: 

How can I see what assemblies are installed in the global assembly cache?

The .NET Framework ships with a Windows shell extension for viewing the assembly cache. Navigating to % windir%\assembly with the Windows Explorer activates the viewer. (More...)

What is Machine.config?

Machine configuration file: The machine. config file contains settings that apply to the entire computer. This file is located in the %runtime install path%Config directory. There is only one
machine. config file on a computer. The Machine.Config file found in the "CONFIG" subfolder of your .NET Framework install directory (c:WINNTMicrosoft.NETFramework{Version Number}CONFIG on Windows 2000 installations). The machine.config, which can be found in the directory $WINDIR$Microsoft.NETFrameworkv1.0.3705CONFIG, is an XML-formatted configuration file that specifies configuration options for the machine. This file contains, among many other XML elements, a browserCaps element. Inside this element are a number of other elements that specify parse rules for the various User-Agents, and what properties each of these parsings supports. (More...)

Is the ASP.NET AJAX Control Toolkit(AjaxControlToolkit.dll) installed in the Global Assembly Cache?

No. You must copy the AjaxControlToolkit.dll assembly to the /Bin folder in your application. (More...)

Is it possible to add multiple Machine.config file?

No, it is not possible to add more than 1 machine.config file. if we want to overwrite any setting than that can be achieve with the help of web.config. (More...)

How to determine the service pack currently installed on SQL Server?

The global variable @@Version is used to determine the service pack installed.
Ex : SELECT @@Version
O/P : Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition on Windows NT 5.2 (Build 3790: Service Pack 2) (More...)

How can we retrive all logical drives of a machine?

Using the code System.IO.Directory.GetLogicalDrives(); (More...)

Web.Config vs Machine.config

Web.Config Files - It is used to maintain the all type of
configuration like that Database connection and Error log
configuration and also maintain the Authenticate of user
security of the web application

Machine.config - only one file was created in your
microsoft .net folder when you installed the microsoft
visual studio.
So, it is used to configuration for the particular server
machine. (More...)

How to detect the operating system on the client machine in JavaScript?

The navigator.appVersion string should be used to find the name of the operating system on the client machine. The following code snippet returns the appropriate Operating systems.

var OSName="Unknown OS";
if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows";
if (navigator.appVersion.indexOf("Mac")!=-1) OSName="MacOS";
if (navigator.appVersion.indexOf("X11")!=-1) OSName="UNIX";
if (navigator.appVersion.indexOf("Linux")!=-1) OSName="Linux"; (More...)

What is the difference between "Web.config" and "Machine.Config" ?

Configuration files are used to control and manage the behavior of a web application.
1. Machine.config
2. Web.config


One Machine.config file is shared for all ASP.NET's Application. It is only one on the machine for each version of .NET Framework. If you apply anything in machine.config file then it is applied on all ASP.NET applications. Machine.config file is universal on the machine. It can be located in the %runtime install path%\Config directory.

1. This is automatically installed when you install .NET Framework or Visual Studio. Net.
2. This is also called machine level configuration file.
3. Only one machine.config file exists on a server/computer.
4. This file is at the highest level in the configuration hierarchy

Web.config file is only for particular ASP.NET application. each ASP.NET application has different file. One ASP.NET application can have more than one web.config file. But only one in one folder.

1. This is automatically created when you create an ASP.Net web application project.
2. This is also called application level configuration file or folder level configuration file.
3. This file inherits setting from the machine.config. If same setting key is defined in both Machine.Config and Web.config, the Web.Config setting is used.

Difference Between Machine.config and Web.config

Machine.config is automatically installed when you install .NET Framework or Visual Studio. Net.

Web.config is automatically created when you create an ASP.Net web application project.

Machine.config is called machine level configuration file. Only one machine.config file exists on a server.

Web.config is called application level configuration file.

Machine.config file is at the highest level in the configuration hierarchy.

Web.Config file inherits setting from the machine.config (More...)

Difference Between Machine.config and Web.config?

Machine.config->Configuration file for all the applications in the system.
Web.config->Config file for single application. (More...)

What is the difference between Machine.config and web.config?

The main difference between Machine.config and web.config is as follows:
Machine.config is machine level config file,means if you make any changes into this file, it will applicable for all application which exists on same machine.

While Web.config settings only applicable for application level.This file is best place to keep your connection string and SMTP like settings and so on. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend