Sei sulla pagina 1di 2

index in database help speed up search queries

it is similar to an index in a book


one drawback in increase in database space
another one is slow insert/update statements(as new data comes into table, index
have to update)
----------------------------------------------
clustered:-
-logical order of index matches the physical order of tabe rows
-one clustered index per table
-faster than non-coustered
-if CustomerId is used for a clustered index, the data
-will be resorted by that field
Non-Clustered-
pointers are used to fetch underlying data
so can have many non-clustered index on a table
------------------------------------------------
Refelction is the mechanism of discovering class information solely at run time.
Reflection is the ability to read metadata at runtime. Using
reflection, it is possible to uncover the methods,
properties, and events of a type, and to invoke them
dynamically. Reflection also allows us to create new types
at runtime.
-----------------------------------------
array cloning
int [] numbers = { 2, 3, 4, 5};
int [] numbersClone = (int[])numbers.clone();
------------------------------------------
DLL's code is executed within the main program's address space. It behaves as if
the class was created within the main program's code. Because the code lies ins
ide the program's address space, calling methods is very fast.
EXE's code is run in a separate process
------------------------------------------
Delegate is the reference for number of functions having
same signature (Return type and Number of parameters for
the methods should be same )
--------------------------------------
The disadvantages of Cookies
Users can disable cookies in their browsers
Size restriction by browser around 4kb to 8kb
Cannot store structured data in cookies
can't leave sensitive information in cookies
--------------------------
Client-Side State Management Objects
Collapse
Server-Side State Management Objects
Cookies Application
Query Strings Cache Objects
Hidden Fields Session
View State Database
Control State
=========================
Authentication is to check about user.Through authentication
check the user exist or not .
It check that user exist or not.
Authorization check that authentic user have proper
permission or not to access that particular page or
services.
=====================

The disadvantages of hidden fields?


Increases the HTML size of the page.
You still cannot store structured data
Because you can view page of an HTML page, there is no security
There is no way to persist the data
=========================
The logical and physical boundary created around every .NET application by the C
ommon Language Runtime (CLR). The CLR can allow multiple .NET applications to be
run in a single process by loading them into separate application domains. The
CLR isolates each application domain from all other application domains and prev
ents the configuration, security, or stability of a running .NET applications fr
om affecting other applications
===========================
An HttpHandler is a class that handles HTTP requests. In ASP.Net a Page class, f
or example, is the default HttpHandler for files with a .aspx extension. You can
map different file extensions to different HttpHandlers in ASP.Net. When the we
b server receives a request for a file, it looks in its configuration to find ou
t whether a special HttpHandler has been designated for that file extension. ASP
.Net provides the HttpHandler class to extend the functionality of ASP.net to be
able to handle requests for other file types (extensions). In IIS, you make ASP
.Net the HttpHandler for the type of file that you desire, and use the web.confi
g file for your web to identify what DLL (Class Library) is used to handle speci
fic file extensions.
The HttpHandler is a class that handles the request. It has access to the same H
ttpContext (Request, Response, Cookies, Session, Application, Server, etc) that
the Page class does. For more detailed information, see: HttpHandlers
===========================

Potrebbero piacerti anche