buy domain website and hosting


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 Chandigarh
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Delhi

Maharaja Agrasen Hospital Super Speciality Hospital in Dwarka
H3VH+C7Q, Pocket 4, Sector 1 Dwarka, New Delhi 110075
Delhi

GET DIPLOMA IN DRESS DESIGNING| CONTACT-9810450615
A-100 3rd Floor, Mohan Garden, Nawada, opposite metro pillar no.747, near Uttam Nagar.
Delhi

PRIMARY TEACHER TRAINING(PTT)| SIPVS UTTAM NAGAR
A-100 3rd Floor, Mohan Garden, Nawada, opposite metro pillar no.747, near Uttam Nagar.
Delhi

Aplonis Healthcare
SCF-461, 1st floor
Motor Market, Sector-13,
Delhi

Jaggery Powder
431, Vijaya Lodge Building, Rangai Gowder Street, Town Hall, Coimbatore-641001, Tamil Nadu, India, Town Hall, Coimbatore-641001, Tamil Nadu, India
Coimbatore
Delhi

Self Drilling Anchor Bolt Systems
F-418 Office Block City Centre Mall Siliguri West Bengal - 734010
F-418 Office Block City Centre Mall Siliguri West Bengal - 734010
Delhi

Assured low-cost full body checkup at your home.
Mayur Colony, Kothrud
Pune
Delhi

HP Laptop Service Center in Dilshad Garden
197 B, Pocket F, Dilshad Gardenn Delhi,
Delhi

Interior A to Z
284/4, Chhatarpur Extension, Chhatarpur, New Delhi, Delhi 110074
Delhi
Delhi