Indexer: Indexer can be termed as location indicators and they are used to access class objects in the same way as array elements are accessed.

Cookie is the small text file which is stored on client machine. It uses to store the small amount of information on client.
Cookie consists of the following two parts:
Key – Name of Cookie.
Value – Information stored in the cookie.
We also can specify the life of a cookie, if you do not specify the life of a cookie, then it will last on the client machine till you do not clean it.We can specify the particular date and time when the cookie is automatically removed from the client machine.Cookie are used to transfer the information from one page to another page. You can also disable the cookie on the browser so that the information did not store on your machine.

.Net is not a language, it is a framework that provides a library for writing and executing programs at runtime in many programming languages, including Visual C#, Visual Basic, Visual F# and C++/CLI. The .NET Framework consists of a virtual execution system called CLR and a set of Class Libraries.We can create or develop Web, Window and Console applications within the Microsoft Environment.

 ASP.NET provides validation server controls. All validation controls inherits from BaseValidator class which contains the common validation properties and methods like ControlToValidate, Enabled, IsValid, EnableClientScript, ValidationGroup,Validate() etc.
ASP.Net provides a range of validation controls:

The first line of an ASP.NET page is the page directive; you will find it on all ASP.NET pages. These directives are instructions for the page. It begins with the @Page directive and continues with the various attributes available to this directive.
Its unreasonable to expect a candidate to know all of these attributes, but a few popular ones include the following.
AutoEventWireup: Indicates whether page events are autowired.
CodeBehind: The name of the compiled class associated with the page.
Debug: Indicates whether the page is compiled in debug mode (includes debug symbols).
EnableTheming: Indicates whether themes are used on the page.
EnableViewState: Indicates whether view state is maintained across pages.
ErrorPage: Specifies a target URL to be used when unhandled exceptions occur.
Language: Indicates the language used when compiling inline code on the page.
Trace: Signals whether tracing is enabled on the page.

One solution that you can use to handle the session timeout errors is using JSON or XML format as output for your AJAX requests.

Assemblies
Every software has executable files (.exe). apart from the executable file, there are some Dynamic Link Libraries (DLL) & Library (LIB) files, which conyain the complicated code of some commonly used functions. These files come along with software. Any software package includes the executable file along with some DLLs & LIB files, which are necessary to run the application. In terms of .NET runtime, the process of packaging is called assembling. An assembly contains MSIL, metadata, & other files required to execute .NET program successfully.
In .NET Framework, assemblies play an important role. An assembly is an fundamental unit of deployment. Deployment is the process wherein an application installed on a machine. Assemblies can be created with the help of some development tools like Visual Studio or with the help of tools provided in .NET framework SDK. Assemblies can be make in form of .dll or .exe files using Visual Studio. When source code is compiled, the EXE/DLL, generated by default, is actually an assembly.

Every developer, especially beginners, will make errors whenever tries to create anything useful. Because of that, we need methods and tools for error handling. Fortunately, ASP.NET provides different ways to find, log or even try to correct errors when happened.
There are three different kinds of errors you can produce.

When you compile code that uses the .NET Framework library, you do not immediately create operating-system-specific native code. Instead, you compile your code into Common Intermediate Language (CIL) code. This code is not specific to any operating system (OS) and is not specific to C#. Other .NET languages — Visual Basic .NET, for example — also compile to this language as a first stage. This compilation step is carried out by VS or VCE when you develop C# applications. Obviously, more work is necessary to execute an application. That is the job of a just-in-time (JIT) compiler, which compiles CIL into native code that is specific to the OS and machine architecture being targeted. Only at this point can the OS execute the application. In the past, it was often necessary to compile your code into several applications, each of which targeted a specific operating system and CPU architecture. Typically, this was a form of optimization (to get code to run faster on an AMD chipset, for example), but at times it was critical (for applications to work in both Win9x and WinNT/2000 environments, for example). This is now unnecessary, because JIT compilers (as their name suggests) use CIL code, which is independent of the machine, operating system, and 
CPU. Several JIT compilers exist, each targeting a different architecture, and the appropriate one is used to create the native code required.

In general, a static assembly can consist of four elements:

  • The assembly manifest, which contains assembly metadata.
  • Type metadata.
  • Microsoft intermediate language (MSIL) code that implements the types.
  • A set of resources.

Only the assembly manifest is required, but either types or resources are needed to give the assembly any meaningful functionality.There are several ways to group these elements in an assembly like:

PreviousDisplaying 2 of 4Next
1 2 3 4
Need Help? Contact Us.

Log in

*
*

Forgot password?

*

New User

*
*
*
*