Home
ASP.Net
Interview FAQs

1. Common Language Runtime
2. Base Class Library
.Net framework supports different type of applications like Web, windows, console etc,. Each type of application needs a runtime host to start it. This runtime host loads the runtime into a process, creates the application with in the process and loads the application code into the process. Runtime hosts included in .Net framework are

ASP.Net: It loads the runtime that can handle a web request into the process. ASP.NET also creates an application domain for each Web application that will run on a Web server.

Microsoft Internet Explorer: It creates an application domain to run managed controls.

Shell executables: When ever a runtime executable is launched from the shell, this executable invokes the corresponding runtime host.

ViewState persist the values of controls of particular page in the client (browser) when post back operation done. When user requests another page previous page data no longer available.

SessionState persist the data of particular user in the server. This data available till user close the browser or session time completes.

For Load testing in .NET application you can use Red Gate Software.
you can read from a text file like this.
private void Read_Click(object sender, System.EventArgs e)
{
string path="C:\docs\test.txt";
using(StreamReader reader=new StreamReader(path))
{
string line;
while ((line=reader.ReadLine())!=null)
{
LabelDocText.Text+="
"+line;
}
}
}
Name, Alignment & TabIndex Properties cannot be changed at runtime.
RaiseEvent StatementTriggers an event declared at module level within a class, form, or document.
Two types of properties in .Net: Get & Set
The serialization is the process of converting the objects into stream of bytes. They are used for transport the objects(via remoting) and persist objects(via files and databases).
PreviousDisplaying 16 of 46Next
Need Help? Contact Us.

Log in

*
*

Forgot password?

*

New User

*
*
*
*