Recent Posts

ASP.Net C# Professional

ASP.Net C# Professional

Return To Blog Listing

I realized that one of the biggest problems for novices is, the lack of knowledge in the learning progress so this blog have huge amount of ASP.NET material to help programmer to perform better in his/her Programming and Coding skill.

Search This Blog's Tags For:

Recent Posts Tagged With 'asp.net'

  • Processing Cycle of Requests in ASP.NET Architecture

    Posted on Tuesday December 15th, 2009 at 03:28 in architecture, asp.net, cycle, browsers request

    Event sequences Processing Cycle of Requests from IIS to handler:IIS gets the requestLooks up a script map extension and maps to aspnet_isapi.dllCode hits the worker process (aspnet_wp.exe in IIS5 or w3wp.exe in IIS6).NET runtime is loadedIsapiRuntim...

  • ASp.Net HttpHandlers

    Posted on Tuesday December 15th, 2009 at 03:11 in asp.net, httphandlers

    Modules are fairly low level and fire against every inbound request to the ASP.NET application. Http Handlers are more focused and operate on a specific request mapping, usually a page extension that is mapped to the handler.Http Handler implementati...

  • ASP.Net HttpModules

    Posted on Tuesday December 15th, 2009 at 03:09 in asp.net, httpmodules

    As requests move through the pipeline a number of events fire on the HttpApplication object. That these events are published as event methods in Global.asax. This approach is application specific though which is not always what you want. If you want ...

  • ASP.NET Pipeline

    Posted on Tuesday December 15th, 2009 at 02:09 in asp.net, pipeline

    The HttpApplication is responsible for the request flow by firing events that signal your application that things are happening. This occurs as part of the HttpApplication.Init() method (look at System.Web.HttpApplication.InitInternal and HttpApplica...

  • Inside the ASP.NET Ajax Client Framework

    Posted on Tuesday December 15th, 2009 at 02:05 in Ajax, asp.net, client, framework

    The ASP.NET Ajax client framework is essentially comprised of a set of JavaScript files that form part of a library commonly called the Microsoft Ajax Library. The major components that are included in this library are the following:1. The Component ...

  • ISAPI Connection in ASP.Net Architecture

    Posted on Tuesday December 15th, 2009 at 01:57 in asp.net, iis, win32 api, isapi

    ISAPI is a low level unmanged Win32 API. The interfaces defined by the ISAPI spec are very simplistic and optimized for performance. They are very low level – dealing with raw pointers and function pointer tables for callbacks - but they provide he...

  • Page_Load in ASP.NET architecture

    Posted on Tuesday December 15th, 2009 at 01:46 in architecture, asp.net

    The Page Life Cycle EventsPage_Load : The Page_Load event is triggered. This method can be used to populate and bind data to your controls either from the database or any other sources, states, and so on....

  • Page_Render in ASP.NET architecture

    Posted on Tuesday December 15th, 2009 at 01:43 in architecture, asp.net

    The Page Life Cycle EventsPage_Render : The Render event is triggered, which creates the Response object for the web page. Now the page is eventually rendered through the Render event, which uses a text writer to write the response stream to the Resp...

  • Page_UnLoad in ASP.NET architecture

    Posted on Tuesday December 15th, 2009 at 01:41 in architecture, asp.net

    The Page Life Cycle EventsPage_UnLoad : The page is unloaded from the memory, and the Response object is sent to the browser in the Page Unload event. You can override this method to perform your necessary cleanup activities. According to MSDN, “Un...

  • Page_Init in ASP.NET architecture

    Posted on Tuesday December 15th, 2009 at 01:37 in architecture, asp.net

    The Page Life Cycle EventsPage_Init : The page life cycle starts with the invocation of the Page_Init event. This event is responsible for initializing the controls that you use in your page to their default values. This event can also be used to cre...

  • Page Life Cycle Events in ASP.NET architecture

    Posted on Tuesday December 15th, 2009 at 01:31 in architecture, events, asp.net, page, life cycle

    The sequence of events that are executed in the life cycle of a page.The following are these events, listed in the order in which they are executed:1. Page_Init2. LoadViewState3. LoadPostData4. Page_Load5. RaisePostDataChangedEvent6. RaisePostBackEve...

  • Application Life Cycle Events in ASP.NET architecture

    Posted on Tuesday December 15th, 2009 at 01:03 in architecture, asp.net, life cycle, httpruntime

    Application Life Cycle EventsWhenever event occurs on the web page, the request is sent to the web browser; in our case, let the web server be IIS.The IIS picks up this request and looks for the server extensions. Each server extension is actually ma...

  • What Is ASP.NET Ajax

    Posted on Tuesday December 15th, 2009 at 00:47 in Ajax, asp.net

    ASP.NET Ajax, formerly known as Atlas, is an extension of ASP.NET 2.0. It allows you to leverage the power of Ajax while developing ASP.NET Ajax web applications.The MSDN states, “ASP.NET Ajax is a set of technologies to add Ajax (Asynchronous Java...

  • Comparing Strings in ASP.Net C#

    Posted on Wednesday December 9th, 2009 at 02:33 in asp.net, c#, string

    ASP.Net C# is the ability to compare two strings with one another, to check two strings against each other and find out if they're the same or not.While comparing strings, you also have the added possibility to use or not use case sensitivity.Conside...

  • FormsAuthentication Class in ASP.Net C#

    Posted on Tuesday December 8th, 2009 at 06:02 in asp.net, c#, class, formsauthentication

    The main application programming interface for interacting with Forms authentication is the FormsAuthentication class. This class supports the following properties:CookieDomain : Returns the domain associated with the authentication cookie.CookieMode...

  • Configuring Forms Authentication in ASP.Net

    Posted on Tuesday December 8th, 2009 at 05:46 in asp.net, forms authentication

    Several configuration options are specific to Forms authentication:cookieless : Enables you to use Forms authentication even when a browser does not support cookies. Possible values are UseCookies, UseUri, AutoDetect, and UseDeviceProfile. The defaul...

  • Cookieless Forms Authentication in ASP.Net

    Posted on Tuesday December 8th, 2009 at 05:45 in asp.net, forms authentication, cookieless

    Forms authentication uses a cookie to identify a user. However, Forms authentication also supports a feature named cookieless authentication. When cookieless authentication is enabled, a user can be identified without a browser cookie.Taking advantag...

  • VirtualPathProvider Class in ASP.Net C#

    Posted on Tuesday December 8th, 2009 at 04:47 in asp.net, c#, class, virtualpathprovider

    The VirtualPathProvider class enables you to abstract the pages in a web application from the file system. In other words, it enables you to store your ASP.NET pages.e.g, The VirtualPathProvider class to store all the pages in your application in a d...

  • Custom UrlRemapper Module in ASP.Net C#

    Posted on Monday December 7th, 2009 at 06:48 in asp.net, c#, module, urlremapper

    The <urlMappings> configuration element, It remaps one page to another. e.g, if you have a database that contains a table of product categories and a table of products. You want your website’s users to request a URL that contains a product ca...

  • Google SiteMap File in ASP.Net C#

    Posted on Monday December 7th, 2009 at 06:06 in google, asp.net, c#, sitemap

    Google provides a free service, named Google SiteMaps, that you can use to monitor and improve the way that Google indexes the pages on your website. For example, you can use Google SiteMaps to discover which Google search queries have returned pages...

  • Asynchronous ASP.NET ASPX Pages

    Posted on Monday December 7th, 2009 at 03:11 in asp.net, aspx, asynchronous

    When you take advantage of asynchronous ADO.NET methods, you must also enable asynchronous ASP.NET page execution. You enable an asynchronous ASP.NET page by adding the following two attributes to a page directive:<%@ Page Async=”true” AsyncTi...

  • DataTable Object in ASP.Net C#

    Posted on Monday December 7th, 2009 at 03:07 in asp.net, c#, datatable

    The DataTable object represents an in-memory database table. You can add rows to a DataTable with a SqlDataAdapter, with a SqlDataReader, with an XML file, or programmatically.<%@ Page Language=”C#” %><%@ Import Namespace=”System.Data...

  • Disconnected Data Access in ASP.Net C#

    Posted on Monday December 7th, 2009 at 03:04 in asp.net, c#, disconnected, data access

    The ADO.NET Framework supports two models of data access. The SqlConnection, SqlCommand, and SqlDataReader objects to connect to a database and retrieve data. When you read data from a database by using a SqlDataReader object, an open connection must...

  • DataReader Object in ASP.Net C#

    Posted on Monday December 7th, 2009 at 03:00 in asp.net, c#, object, datareader

    The DataReader object represents the results of a database query. You get a DataReader by calling a Command object’s ExecuteReader() method.Whether a DataReader represents any rows by checking the HasRows property or calling the Read() method. The ...

  • Encrypting Connection Strings in ASP.Net

    Posted on Saturday December 5th, 2009 at 04:21 in asp.net, encrypting, connection strings

    You can encrypt the <connectionStrings> section of a web configuration file. This Example contains an encrypted version of the Web.Config file that was created<configuration><protectedData><protectedDataSections><add name=...

  • Reset values of Form controls in ASP.NET

    Posted on Friday December 4th, 2009 at 01:35 in asp.net, controls, form

    It is very common requirement of Form to clear all controls in a single click, like Click on "Reset Button",Aim of this article is implement a generic method for clear/reset all control values in .NET web pages.using System;using System.Data;using Sy...

  • DataGrid Popup picture on mouse over event in ASP.Net

    Posted on Thursday December 3rd, 2009 at 06:46 in event, asp.net, popup, datagrid

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Popup picture Page</title&g...

  • Loading Master Pages Dynamically in ASP.Net

    Posted on Tuesday December 1st, 2009 at 03:36 in asp.net, dynamically, master pages

    Associate different Master Pages dynamically with a content page.In your website you can enable the users to customize the appearance of the website by loading different Master Pages and allow your users to pick their favorite layout.You can maintain...

  • File Uploads in ASP.Net

    Posted on Monday November 30th, 2009 at 05:15 in asp.net, control, file uploads, server control

    The FileUpload control enables users to upload files to your web application. After the file is uploaded, you can store the file.FileUpload control properties :Enabled : Enables you to disable the FileUpload control.FileBytes : Enables you to get the...

  • Literal Control in ASP.Net C# ASPX

    Posted on Tuesday November 24th, 2009 at 06:11 in asp.net, c#, aspx, literal control

    The Literal control is similar to the Label control. You can use the Literal control to display text or HTML content in a browser. However, unlike the Label control, the Literal control does not render its content inside of a <span> tag.<%@ ...