What is CLR?
CLR(Common Language Runtime) provide Environment to debugg and run program and utility developed at the .Net FrameWork.CLR provide memory management, debugging, security, etc. The CLR is also known as Virtual Execution System (VES). The managed and unmanaged code both runs under CLR.Unmanaged code run through the Wrapered Classes.There are many system Utilities run under the CLR.
Explain Namespace ?
There are many classes in Asp.Net.If Microsoft simply jumbled all the classes together, then you would never find anything. Microsoft divided the classes in the Framework into separate namespaces.All classes working with a file system located in Systen.Io Namespace. All classes working with SQL data base used System.Data.SqlClient Namespace.
The ASP.NET Framework gives you the most commonly used namespaces:
. System.Web.UI.HTMLControls Reply
What are the advantages and disadvantage of Using Cookies?
1.Cookies do not require any server resources since they are stored on the client.
2. Cookies are easy to implement.
3. Cookies to expire when the browser session ends (session cookies) or they can exist for a specified length of time on the computer (persistent cookies).
1. Users can delete a cookies.
3. Cookies exist as plain text on the client machine and they may security risk as anyone can open and tamper with cookies.
What are the steps to host a web application on a web server?
When make change in web.config file.IIS restarts application and automatically applies changes.This effect the Session state variable and effect the application,then user adversely affected.Reply
What is Globalization ?
The process to make a Application according to the user from multiple culture.The process involves translating the user interface in to many languages,like using the correct currency, date and time format, calendar, writing direction, sorting rules, and other issues.Accommodating these cultural differences for an application is called Globlization.
Three different ways to globalize web applications:
1.Detect and redirect approach
2.Run-time adjustment approach
3.Satellite assemblies approach
What is the Difference between Compiler and Translator?
Compiler converet the program one computer language to another computer language.in other word high level language to low level language.
Traslator traslate one language to many other language like english to hindi,french etc.Reply
What is the Difference Between Compiler and Debugger ?
Compiler is a software or set of soetware that translate one computer Language to another computer.Most cases High level Programming Language to low level Programming Language.
Most of the time Program analyzed and examined error then Debugger used.Debugger is another program that is used for testing and debugging purpose of other programs. It will be able to tell where exactly in your application error occurred,and tell the where error occured.Reply
Types of Debbuger ?
What is the structure of ASP.Net Pages ?
1.Directives:A directive controls how an ASP.NET page is compiled. The beginning of a directive is marked with the characters <%@ and the end of a directive is marked with the characters %>. A directive can appear anywhere within a page.A directive typically appears at the top of an ASP.NET page.
2.Code declaration block:A code declaration block contains all the application logic for your ASP.NET page and all the global variable declarations, subroutines, and functions. It must appear within a <Script Runat="Server"> tag.
3.ASP.Net Controls:ASP.NET controls can be freely interspersed with the text and HTML content of a page. The only requirement is that the controls should appear within a <form Runat= "Server"> tag. And, for certain tags such as <span Runat="Server"> and <ASP:Label Runat="Server"/>, this requirement can be ignored without any dire consequences.
4.Code Render Blocks:If you need to execute code within the HTML or text content of your ASP.NET page, you can do so within code render blocks. The two types of code render blocks are inline code and inline expressions. Inline code executes a statement or series of statements. This type of code begins with the characters <% and ends with the characters %>.
5.Server side comments:You can add comments to your ASP.NET pages by using server-side comment blocks. The beginning of a server-side comment is marked with the characters <%-- and the end of the comment is marked with the characters --%>.
6.Server side include Directives:You can include a file in an ASP.NET page by using one of the two forms of the server-side include directive. If you want to include a file that is located in the same directory or in a subdirectory of the page including the file, you would use the following directive:<!-- #INCLUDE file="includefile.aspx" -->
7.Literal text and html Tags:The final type of element that you can include in an ASP.NET page is HTML content. The static portion of your page is built with plain old HTML tags and text.