What is .NET?

.NET is a framework for software development. It is just like other software development framework like (J2EE). It provides runtime capabilities and a rich set of pre-built functionality in the form of class library and API’s. This .NET framework is an environment to build, deploy and run web services and other applications. The .NET framework … Read more

What are the different types of cookies in ASP.NET?

Session Cookie: It resides on the client machine for a single session until the user logs out. Persistent Cookie: Resides on the user machine for a period specified for its expiry. It may be an hour, a month or never. In ASP.NET, there are primarily two types of cookies: Persistent Cookies: These cookies are stored … Read more

What is HTTP Handler?

Every request into an ASP.NET application is handled by a specialized component called HTTP handler. It is the most important component for handling ASP.NET application requests. It uses different handlers to serve different files. The handler for web page creates the page and control objects, runs your code and then renders the final HTML. Following … Read more

List all the templates of the Repeater control

ItemTemplate AlternatingItemTemplate SeparatorTemplate HeaderTemplate FooterTemplate In .NET, the Repeater control is used to display a repeated list of items bound to it. It doesn’t have predefined templates like some other controls (e.g., GridView or DataList). Instead, it offers flexibility by allowing you to define templates for the items it repeats through its ItemTemplate property. The … Read more

What are ASP.NET security controls?

<asp: Login>: Provides a login capability that enables the users to enter their credentials. <asp: LoginName>: Allows you to display the name of the logged-in user. <asp: LoginStatus>:Displays if the user is authenticated or not. <asp: LoginView>: provides various login views depending on the template that has been selected. <asp: PasswordRecovery>: Emails the users the … Read more