YouTube Icon

Interview Questions.

Top 100+ .net Deployment Interview Questions And Answers - May 25, 2020

fluid

Top 100+ .net Deployment Interview Questions And Answers

Question 1. What Is Deployment?

Answer :

Deployment refers back to the distribution of an application among numerous quit-customers. It is a process that makes software program to be had for use by way of simply putting in it at the consumer computer.

Question 2. List Different Ways Of Deployment That Are Supported By .Internet Framework four.0.?

Answer :

Windows Installer
ClickOnce
XCOPY
Copy Web Site
Publish Web Site device
DBMS Interview Questions
Question 3. What Is Xcopy?

Answer :

XCOPY allows you to deploy an utility by using copying the application listing and all subdirectories to the goal pc after which executing the utility at the customer. The application begins executing on the target computer by the usage of its meeting report, which is a self-description file that incorporates all the facts approximately the utility. The XCOPY deployment does no longer make any impact on the target machine whilst configuring the additives and registering entries, and is consequently called zero-effect installation.

Question four. Does Xcopy Copy The Hidden And System Files?

Answer :

No. By default, XCOPY excludes the hidden and machine files. However, you can encompass the hidden and device files using the /h transfer.

VB.NET Tutorial
Question five. Why Do You Use Windows Installer?

Answer :

The Windows Installer deployment method permits you to deploy Windows-based totally and Web programs by means of growing a Windows Installer Package. The installer bundle has an extension of.Msi and it carries the application, any based documents, registry entries, and the relaxation. The installer package can then be allotted to diverse end-customers through surely copying it on the target computers

The give up-users can then run the installer bundle to install the software everywhere of their computer systems. The set up takes place the use of the installation wizard; consequently, the users can without problems set up the software on their machine. Once your utility is hooked up at the target pc, quit-users can open the application from the mounted area.

VB.NET Interview Questions
Question 6. Can You Deploy An Asp.Net Web Application Project Using The Copy Web Site Option?

Answer :

No. The Copy Web Site choice can simplest be used to installation the Web websites.

Question 7. How Can You Determine Whether You Should Deploy The Application Or Publish The Application?

Answer :

If you need to host the application on a shared website hosting surroundings, you need to use publishing; while, in case you need to create a Web utility that is downloaded from a Web website, you should set up the application to create a setup.Exe document.

ASP.NET Tutorial ASP.NET Interview Questions
Question eight. How Can You Deploy An Asp.Net Web Application?

Answer :

You can installation an ASP.NET Web application the use of either the Windows Installer deployment or ClickOnce deployment approach.

Question 9. What Is Application Cache?

Answer :

When a ClickOnce software is hooked up regionally or hosted on-line, it is saved within the ClickOnce software cache of the customer pc. The ClickOnce application cache is a set of hidden directories located under the Local Settings listing of the present day person's Documents and Settings folder. The application cache incorporates all of the software documents, assemblies, configuration files, application and consumer settings, and facts directory. In case the ClickOnce programs are hosted on line, the size of the ClickOnce utility cache receives confined to a distinctive quantity; while, the hooked up packages do now not restrict to the cache length hindrance. The cache garage quota is accountable to decide the size of the software cache.

ADO.Net Interview Questions
Question 10. What Are The Enhancements In Clickonce Deployment In .Net 4.0?

Answer :

In .NET 4.0, the ClickOnce deployment era is more desirable with the subsequent capabilities:

Support for .NET Framework four.0 version - Creates applications via the use of Visual Studio 2010 which could target .NET Framework 4.0 and its new capabilities.
Support for a couple of versions of the .NET Framework - Creates programs that are compatible with multiple variations of the .NET Framework. You can specify the target framework for an utility as .NET Framework 3.Five or .NET Framework four while creating the application.
Enhanced logging function - Stores logging statistics that includes various parameters exceeded to the ClickOnce runtime, the browser settings, and ClickOnce security alternatives.
Custom Installer and User Interface - Allows you to create a custom graphical consumer interface for putting in and updating the .Exe packages. In addition, the custom installer could have custom conversation packing containers for security and upkeep operations.

DocumentDB SQL Tutorial
Question 11. What Is The Difference Between Deploying And Publishing An Application?

Answer :

In deployment, you can create a new setup and deployment venture. In this assignment, you can upload the mission output and create a setup.Exe report. After developing an executable file, you need to login into the server and execute the setup.Exe document to install the software. On the opposite hand, in publishing, you want to proper-click on the utility in the Solution Explorer and pick out Publish to put up the utility. Then, you specify a place in which the utility is to be posted. The customers can then install the utility from the location where you've got posted it and run regionally even when the computer is offline.

Advanced Dot Net Interview Questions
Question 12. What Do You Mean By Merge Module Projects?

Answer :

Merge Module projects are used to package the files and additives which might be shared among more than one packages. The Merge Module challenge report contains the .Msm extension. The .Msm document consists of files, sources, registry entries, and setup logic. This file is merged with a Windows installer (.Msi) file to correctly installation the shared documents. If a single merge module is used by more than one software, you then need to add that merge module in the package deal simplest as soon as.

DBMS Interview Questions
Question 13. What Is The Need Of Copy Web Site?

Answer :

Copy Web Site is a device used to deploy the Web web page by copying its content material files. The Copy Web Site device also tests whether or now not the modern-day version of a record is present on the destination. If documents of the most recent version are determined at the vacation spot, then the Copy Web Site device does not superimpose the older model of files.

The Copy Web Site deployment device consists of the subsequent most important entities:

Project source - Specifies the supply directory, which contains the contents and references of a Web web site at improvement time. In simple phrases, you can say that the venture supply specifies the web site that you currently have opened in Visual Studio 2010. The Copy Web Site device alternatives all the files for deployment from this location.
Project vacation spot - Specifies the destination folder where you need to deploy the utility. This vacation spot directory can be located on far off computers or servers, which let you replica the Web website contents using the Front Page Server Extensions, FTP, or HTTP protocol implementations for content switch.
Synchronizing  Web sites - Synchronizes  Web web sites by using copying every other's documents. Synchronization exams the files on the nearby and far flung websites and guarantees that all files on both sites are updated.

Question 14. What Is The Use Of The Copy Project Command?

Answer :

The Copy Project command copies only the documents required to run the undertaking and pastes it on the goal server. It does not set up the entire mission; consequently, IIS listing settings are not routinely configured.

Question 15. Can Windows Applications And The Web Applications Be Deployed Using The Same Template Of Setup And Deployment Project?

Answer :

No. The Windows applications use the Setup Project template; while, the Web programs use the Web Setup Project template. After the deployment, their set up takes area in the comparable way.

IIS ADMIN Interview Questions
Question 16. Explain The .Net Framework Deployment Features?

Answer :

In a standard context, .NET Framework consists of the following deployment features:

No-effect packages - Provides software isolation and removes DLL conflicts.
Private components through default - Enables the additives to install to the application directory and to be seen best to the containing utility.
Side-by way of-facet versioning - Enables you to pick out one of the a couple of versions.
XCOPY deployment and replication - Refers to the self-descriptive application this is deployed with out the want to store registry entries.
On-the-fly updates - Allows for the updating of the DLLs of the far flung computers.
Integration with the Microsoft Windows Installer - Makes the functions, which includes advertising and marketing, publishing, repairing, and set up-on-demand available at some stage in deployment of an utility.
Enterprise deployment - Eases the task of software distribution.
Downloading and caching - Specifies that the downloads are kept smaller and the components are remoted for application use.
Partially depended on code - Enables code-based totally identification.




CFG