free classified ads and leads
domain website price


SQL Questions and Answers For Interview

Languages and Programming

Qus: How to make an application offline in ASP.NET 2.0.

Ans: Microsoft's Internet Information Services web server software is used to make an application offline. The IIS is instructed to route all incoming requests for the web site to another URL automatically.

Qus: What are script injection attacks?

Ans: Script injection attacks called Cross-site scripting (XSS) attacks exploit vulnerabilities in Web page validation by injecting client-side script code.

Qus: What is Authentication in ASP.NET?

Ans: Authentication is the process of verifying user’s details and find if the user is a valid user to the system or not. This process of authentication is needed to provide authority to the user.

Qus: What is Authorization in ASP.NET?

Ans: Authorization is a process that takes place based on the authentication of the user. Once authenticated, based on user’s credentials, it is determined what rights des a user have.


Qus: What is the difference between login controls and Forms authentication?

Ans: Login controls are part of ASP. Net’s UI controls collection which allows users to enter their username and password to login to a website/application. They provide login solution without the need of writing code. They by default work with ASP.Net membership roles and forms authentication. Forms authentication on the other hand refers to the authentication type being used by an application. ASP.Net supports Forms Authentication, Integrated windows authentication and Custom authentication. One can however, change or configure the login controls to work with the authentication mechanism chosen and not just Forms authentication which is default.


Qus: What is Fragment Caching in ASP.NET?

Ans: Fragment caching does not cache a WebForm, rather it allows for caching of individual user controls within a Web Form, where each control can have different cache duration and behavior.

E.g.: If you have a User Control, then add the following line in Aspx page

<%@ OutputCache Duration="20" VaryByParam="none"%>

Similarly you could have another usercontrol with duration set to 10 and have both these controls on a single Web Form

Qus: What is partial classess in .net?

Ans: Net2.0 supports the concept of partial classes which is unlike the concept of one class one file. In .Net technology, one can define a single class over multiple files using the concept of partial classes. When an application is compiled, it groups all the partial classes and considers them as a single object. This allows for separation of concerns, e.g.: Aspx page class might have the UI code and the Aspx.cs class file has the code for it.

E.g.:
public partial class MyClass
{
public void Attend()
{
}
}

public partial class MyClass
{
public void Dismiss()
{
}
}

Qus: Explain how to pass a querystring from an .asp page to aspx page.

Ans: Yes you can do it using a hyperlink
<a href="Abc.aspx?name=test">Click to go to aspx </a>

Qus: What Is ASP.NET 2.0 AJAX?

Ans: AJAX-style communications between client and server. This communication is over web services. Asynchronous communication. All client-to-server communication in the ASP.NET 2.0 AJAX framework is asynchronous.

Qus: What Is ASP.NET AJAX?

Ans: ASP.NET AJAX is the name of Microsoft’s AJAX solution, and it refers to a set of client and server technologies that focus on improving web development with Visual Studio.
Balancing Client and Server Programming with ASP.NET AJAX

With AJAX, much of the logic surrounding user interactions can be moved to the client. This presents its own set of challenges. Some examples of AJAX use include streaming large datasets to the browser that are managed entirely in JavaScript.

Bookmark and Share




Gallery

Related Topics

Comments



Submit Reviews:


(Enter the characters seen on the image below.)



Promotional Ads

Advertisement

Packers and movers in Mohali
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Mohali

Submersible Sludge Pumps
18, shreenath Estate, cross road, nr. Nikol, nr. Sardar Patel Ring Road, Kathwada, Gujarat 382415
Ahmedabad

Bhakti Bird Proofing
House no.9479 durgamata tekdi vibhag, mahalaxmi nagar, City ambernath, Near durgamata temple. Pin Code-421501
Motilal Nagar Mumbai

Livonta Global Pvt.Ltd
1110, Colonnade, B/H Iscon Temple, Opp. Iscon BRTS Bus Stand
Iscon - Ambali Rd,
Ahmedabad

Brij Agnihotri & associates company secretaries
3454, 40D, Sector 40D, Chandigarh, 160036, India

JB Rock Bolts & SN BOLTS
10 A & B Industrial Area (at Vill. Nangal Jarialan)
Distt. Una Himachal Pradesh
Una

Govinda resorts Lonavala
Old Mumbai - Pune Hwy, Maval, Lonavala, Maharashtra 410405
Lonavla

Steelco Metal & Alloys
192 – Minara Mansion, Shop No.6, Sant Sena Maharaj Marg, 2nd Kumbharwada Lane, Mumbai, Maharashtra 400004
Mumbra Mumbai

Best Resorts in Dharamshala Amid the Misty Hills.
SATOBARI HILLS ROAD,MCLEODGANJ,
Dharamshala

Genius Global School
194 Anand Vihar Saproon, Solan, Himachal Pradesh
Ambala Cantt