Home
ASP.Net
Interview FAQs

There are some assembly benefits-

  • Assemblies are designed to simplify application deployment and to solve versioning problems that can occur with component-based applications.
  • End users and developers are familiar with versioning and deployment issues that arise from today component-based systems. Some end users have experienced the frustration of installing a new application on their computer, only to find that an existing application has suddenly stopped working. Many developers have spent countless hours trying to keep all necessary registry entries consistent in order to activate a COM class.
  • Many deployment problems have been solved by the use of assemblies in the .NET Framework. Because they are self-describing components that have no dependencies on registry entries, assemblies enable zero-impact application installation. They also simplify uninstalling and replicating applications.

Construction: When an object is first instantiated it needs to be initialized. This initialization is known as construction and is carried out by a constructor function, often referred to simply as a constructor for convenience.

Program p = new Program(); // creating object of program class
Destruction: When an object is destroyed, there are often some clean-up tasks to perform, such as freeing memory. This is the job of a destructor function, also known as a destructor.
Program p1 = new Program("testing"); // passing value to constructor

In ASP.Net, there are certain members of the classes have attributes specifying details about the member, such as [StringLength(15)] and [Key]. These are data annotations. The data annotation attributes can describe how to validate user input for that member, to specify formatting for it, and to specify how it is modeled.

ASP.Net Core 1.0 is an open-source web application framework for building modern web applications that can be developed and run on Windows, Linux and the Mac, and the next generation of ASP.Net, developed by Microsoft and the community. ASP.Net Core includes the MVC framework, which combines the features of MVC and Web API into a single web programming framework. ASP.Net Core is built on the .NET Core runtime, but it can also be run on the full .Net Framework for maximum compatibility. It is announced in June-2016.
PreviousDisplaying 46 of 46
Need Help? Contact Us.

Log in

*
*

Forgot password?

*

New User

*
*
*
*