INTRODUCTION OF ASP
ASP is Interpreted language based on scripting languages like Jscript or VBScript.
- ASP has Mixed HTML and coding logic.
- Limited development and debugging tools available.
- Limited OOPS support.
- Limited session and application state management.
ASP Developed Web Pages have file extension “.aspx” and these files contain HTML,Scripts
C#
C# (pronounced "C sharp") is a modern, general purpose, object-oriented programming language developed by Microsoft and approved by Ecma and ISO.
C# will immediately be familiar to C and C++ programmers. C# combines the high productivity of Rapid Application Development (RAD) languages
C# was developed by Andres Hejlberg and his team during the development of .Net Framework
Comments in C#
- Single line (//)
- Multi (/* */)
- Page/XML Comments (///)
Reasons make C#
The Following Reasons make C# a widely used Professional Language:
- Modern, general-purpose programming language
- Object oriented
- Component oriented
- Easy to learn
- Structured language
- It Produces efficient Programs
- It can be compiled on a variety of computer platforms
- Part of .Net Framework
C#
Programs run on .NET Framework, an integral component of Windows that
includes a virtual execution system (VES) called the Common Language
Runtime (CLR) and a unified set of class libraries
The following Diagram illustrates the compile-time and run-time relationships of C# code files
The following Diagram illustrates the compile-time and run-time relationships of C# code files
![]() |
| C# Execution System |
Common Language Runtime
CLR also known as Common Language Run time provides an environment in which program are executed, it activate object, perform security check on them, lay them out in the memory, execute them and garbage collect them.
Intermediate Language
MSIL are also known as Microsoft Intermediate Language is the CPU-independent instruction set into which .Net framework programs are compiled. It contains instructions for loading, storing initializing, and calling methods on objects.
CTS
The Common type system is a rich type system, built into the common language runtime, which supports the types and operations found in most programming languages
JIT
JIT (Just - In - Time) is a compiler which converts MSIL code to Native Code (ie, CPU-specific code that runs on the same computer architecture)
CONCEPT OF POSTBACK IN ASP
A Post Back is a type of request in ASP Programming sent by Client To Server from the single pag user is already working with the same page.The Post Back requests reload the page
ASP Was Providing a mechanism to post an HTTP Post back request in the same Page.It's Posting a complete page back to server(reload page) on same page.So the Whole Page is refreshing.
Example:
- Open .net IDE and create new web site
- Right click on website root name and select new item. you get a new window
- Then select the .aspx page.
- Give the name of this page and click Add button.
- Now open this web page into design window then you see a <form> tag.
Modify this tag as:-
<form method="post" action="WebForm1.aspx" Id="Form1">
Here you inbuilt post method in this Asp.Net Page.Now run this Website when this run and we reload then every time full page reload again and again and page fully reloaded.
Here you inbuilt post method in this Asp.Net Page.Now run this Website when this run and we reload then every time full page reload again and again and page fully reloaded.
Code for .aspx page in asp.net programming:
<%@ Page Language="C#" AutoEventWireUp="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" " http://www.w3.org/TR/xhtml1/DTD xhtml xmls="htttp://www.w3.org/1999/xhtml">
<html>
<head runat="Server">
<title></title>
</head>
<body>
<form runat="Server">
<div>
</div>
</form>
</body>
</html>
INTRODUCTION TO SQL SERVER
SQL
Server is commonly used as the backend system for websites and
corporate CRMs and can support thousands of concurrent users.SQL Server
is much more robust and scalable than a desktop database management
system such as Microsoft Access.
SQL is a database
Programming language for accessing and manipulating databases in it database.
For the Asp.Net web/Windows application we use SQL database
SQL
- Structured query language is the standard command set used to communicate
with the relational database management system.
SQL was originally
made an ANSI standard in 1996.The ANSI 1989 standard(often called SQL-89) defines three types of interfacing to
SQL within an application Program
SQL has three Components:
- Data Manipulation Language(DML)
- Data Definition Language(DDL)
- Data Control Language(DCL)
Work Of SQL:
SQL execute queries against a database
- SQL retrieve data
- SQL insert records
- SQL update records
- SQL delete records
- SQL create new databases
- SQL create new tables

No comments:
Post a Comment