.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 would you Deploy your old applications with .Net Framework 4.0? Are the Old applications compatible?

Posted By :Ashutosh Jha     Posted Date :December 27, 2013    Points :40   Category :.NET Framework 
.NET Framework 4 is highly compatible with applications that are built with earlier .NET Framework versions. Though Some Changes have been made to improve security, standards compliance, correctness, reliability, and performance.
To run older applications with .NET Framework 4, you will have to re-compile your applications with the target .NET Framework version specified in the properties for your project in Visual Studio Or you can specify the supported runtime with the Element in an application configuration file. .Net Framework 4 does not automatically use its version of the common language runtime to run applications that are built with earlier versions of the .NET Framework.

You can also find related Interview Question to How would you Deploy your old applications with .Net Framework 4.0? Are the Old applications compatible?  below: 

What options are available to deploy my .NET applications?

The .NET Framework simplifies deployment by making zero-impact install and XCOPY deployment of applications feasible. Because all requests are resolved first to the private application directory, simply copying an application's directory files to disk is all that is needed to run the application. No registration is required.
This scenario is particularly compelling for Web applications, Web Services, and self-contained desktop applications. However, there are scenarios where XCOPY is not sufficient as a distribution mechanism. An example is when the application has little private code and relies on the availability of shared assemblies, or when the application is not locally installed (but rather downloaded on demand). For these cases, the .NET Framework provides extensive code download services and integration with the Windows Installer. The code download support provided by the .NET Framework offers several advantages over current platforms, including incremental download, code access security (no more Authenticode dialogs), and application isolation (code downloaded on behalf of one application doesn't affect other applications). The Windows Installer is another powerful deployment mechanism available to .NET applications. All of the features of Windows Installer, including publishing, advertisement, and application repair will be available to .NET applications in Windows Installer 1.5. (More...)

Is IIS require to run asp.net Web applications?

If you are using Visual Studio, you can use the ASP.NET Development Server built into Visual Studio to test your pages. The server functions as a local Web server, running ASP.NET Web pages in a manner virtually identical to how they run in IIS. To deploy a Web application, you need to copy it to a computer running IIS version 5 or 6. (More...)

What is the role of the ScriptManager control in implementing multilingual applications (AJAX)?

The ScriptManager control can be used to define the UI or custom UI cultures that you would use in your applications. You can set the
EnableScriptLocalization and EnableScriptGlobalization properties of
the ScriptManager control to true and specify the script reference path as per your requirements. (More...)

Explain about security of the Ajax based web applications?

The XMLHttpRequest object is subjected to the browsers security sandbox. Any resources requested by the XMLHttpRequest object must reside within the same domain from which the calling script originated from which the calling script requested. XMLHttpRequest cannot request services due to security restriction, outside the domain from which the script was originally served. (More...)

AJAX applications are

browser- and platform-independent. (More...)

What are the requirements to run ASP.NET AJAX applications on a server?

You would need to install 'ASP.NET AJAX Extensions' on your server. If you are using the ASP.NET AJAX Control toolkit, then you would also need to add the AjaxControlToolkit.dll in the /Bin folder.

How does SMTP support web applications ?

Simple Mail Transfer Protocol (SMTP ) is the standard for sending electronic mails(e-mail) across IP networks.

Using some pre-defined class in the System.Net.Mail and System.Net.Mime assemblies we can send mails to one or more recipients.

These mails can also be sent with alternative views and it can even handle the file attachments.

What are the Good Steps to be followed for maintaining Connection Strings in Asp.Net Web Applications ?

There are some basic steps which should be followed inorder maintain Connection strings more efficiently they are

. Connection strings should allways be given in web.config file itself for security resons. Not only for security but also as more accessible at multiple places.

. We should never make connection strings as Declarative property for SqlDataSource control

. Allways Connection strings should be stored in an Encrypted format for secure Database server .

. Do not store it in a plain text format and also never store it in a .aspx page. (More...)

Can Android applications built using c#?

Yes it is possible to build Android applications using C# in .NET Framework.

More information can be found below link

http://www.c-sharpcorner.com/UploadFile/mahesh/5795/ (More...)

What are the different state management techniques used in asp.net for web applications?

In ASP.Net the state can be maintained in following ways
Server-side state management
Application objects
Session Variables
Client-side state management
Hidden input fields
Query String
ViewState (More...)

What are Web Applications in SharePoint?

An IIS Web site created and used by SharePoint 2010. Saying an IIS virtual server is also an acceptable answer. (More...)

Explain how connections are managed with Service Applications.


A virtual entity is used that is referred to as a proxy, due to label in PowerShell. (More...)

What are the advantages of Service Applications over SSP ?

The key limitation of the SSP architecture was that it was configured by using a set of services, and all Web applications associated with the SSP bore the overhead of all the services even if they weren't being used. To change the service configuration for a particular Web application, a new SSP would have to be created.

The service application architecture on the other hand, allows a set of services to be associated with a given Web application and a different set of services to be associated with another Web application. Also, the same service application can be configured differently in different Web applications; therefore, Web sites can be configured to use only the services that are needed, rather than the entire bank of services. (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