Tuesday, 29 April 2014

How to Build Web Application using Asp.Net

Web Application using asp.net with c#.net

A Web Form is an asp.net technology that we use to create a programmable web page,and we can use code on the server to impliment application logic.

Features
This Web form run on a various browsers automatically render the browser compliant html it is built on the CLR(Common Language Runtime) .
Page Directives
The Page Directives are used to control certain features of page,this directives are called as commands.The compiler executes this directives.These directives can be place at the top.
Example:
<%@ %>
Some Page Directives are:
@page : This is used for to declare many page-related attributes about a particular page.This directive commonly used in asp.net.
Example:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
@import : It is used for to import different types of namespaces in the page.
Example:
<%@Import Namespace="System.Data.SqlClient" %>
@Master : It is similar to the @Page Directive. The only difference is that the @master directive is for Master pages.Any content page can inherit all the properties

Create Web application







No comments:

Post a Comment