Dot Net Interview Questions - Dot Net Faq

12/21/2009

Microsoft dot net is a software that helps us to develop the application for different environments and for different devices. We can build XML web services and web application for the environment like the Internet. We can also window-based application server components and applications, integrated) on PC and mobile devices such as dot net different applications and devices using standards such as HTTP (Hyper Text Transfer ProtocolXML and SOAP(Simple Access Protocol)

The feature that must be supplied. NET is so popular, written exchange of data between two applications in different languages and different environments. XML Web Services enable the exchange of data. Another possibility here is in. NET Remoting, which help us, the exchange of data between two calculated using binary or HTTP protocols. This turns on all Web protocols.

The one of main component in .net framework is CLR. It provides run time environment and various services to our applications. There are various components in CLR too. This component provides runtime environment and infrastructure to our applications.

Some brief works of CLR components are:

? Class Loader: It loads classes at runtime;

? MSIL: It converts msil code to native code.

? Password Manager: Manages code during execution.

? Garbage Collector: Automatic memory management.

? Security engine: performance and security restrictions.

? Type Checker: Helps in strict type checking.

? Thread support: support multi-threaded applications.

? Exception Manager: Handle runtime exceptions;

? Debug Engine: debug environment different types of applications.

? Com stories: exchange data with COM application;

? Base Library support: for the application type.

Posted in: interview questions| Tags: NET XML Application CLR Runtime Code web environment dot exchange

Dot Net - Assembly in Asp Net

12/21/2009

We can say that assembly is a combination of single-file or multiple files in ASP NET. The assembly which contains more then one file is dynamic link library (DLL) or we can also say it's an EXE file. In ASP.NET assembly contains metadata that is pronounced as assembly manifest. This manifest of assembly contains data about the assembly versioning, AuthorName, Security, Token Key etc that's makes assembly popular and secure.

We can also say it's a big advantage of assembly and another big advantage of using ASP.NET Assemblies is that programmer need not to create applications without interfering with other applications on the system its means assembly requirement in one application cannot harm another application that using that assembly because assembly inone application is not applied to another application.

However, sets can be shared by many applications. In the ASP Point Network Conference in 2003 to use it in this application directory. This advantage enables assembly attack, because it is one of the shortcomings in the DLL in the past.

In past, developers need to share libraries of code through DLL. And when same dll is needed in applications then users have to register that DLL on to the machine. One of main thing in ASP NET is that the assembly is created by default when we build our application or DLL. We can also check the details of the manifest of the assembly by using classes located in the System.Reflection namespace. We can create two types of assemblies in ASP NET.

Private Assembly

Shared Assembly

Assembly has many advantages, some of which are as follows:

(1) Increased performance.

(2) better code management and packaging.

(3) Represents the n-tier concepts and business logic.

In the ASP-point network name space and other similar naming space, System.Data, System.Web procedures point of pre-built Microsoft NET Framework has been provided to us by the assembly.

Posted in: asp.net| Tags: NET Application Assembly system asp advantage link dot combination dll

Different Types of Directives in Dot Net

12/21/2009

@Page directive:

Defines page-specific attributes used by the ASP.NET page parser and compiler. Can be included only in .aspx files and also define the page language used just like c#,VB etc.

@ Control: Defines control-specific attributes used by the ASP.NET page parser and compiler. Can be included only in. Ascx files.This Directive also the view state of the page.

@ Import: import explicitly control a namespace into a page or a user. The Import directive can not be more than one namespace attribute. Multiple namespaces, use multiple @ Import Import directives.Its help when importing files.

@ Implements: Indicates that implements the current page or user control of the specified. NET Framework interface.

@Register:

And naming space and in a custom server control syntax.We simple symbolic class name of the alias Associates can register with the Register directive is also user-controlled help.

@ Assembly: Links an assembly to the current page when writing, making all the band classes and interfaces available for use on the page.

@ OutputCache: Declarative controls the output caching policies of an ASP.NET page or a user control contained in a page

@ Reference: Declaratively indicates that another user control or page source file should be compiled and linked dynamically at the page stating this Directive.

To learn about Web Services Interview Questions visit dotnetquestion.info

Posted in: asp.net| Tags: NET page types asp different parser directive defines directives dot

Hot Posts

Latest posts

Tags

Others

Sponsors

asp.net interview questions