Webhouse

429 views

Published on

introduce to asp.net

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
429
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Webhouse

  1. 1. Introduce To ASP.NET
  2. 2. Introduction to .NET framework The .NET Framework is an environment for creating web applications and Websites It is intermediate between .NET application & operating system It allows to programmer to build web pages & dynamic websites Introduced by Microsoft corporation in 2002 Provides a reusable class library that is easily accessible from any programming language.
  3. 3. Feature Easy programming model Great tool support Drag and drop Flexible language options Used to create -Web application -Desktop application -Windows application -Websites
  4. 4. .NET Framework, Languages, Tools VB C++ C# JScript … Common Language Specification Visual Studio.NET Web User Services Interface Data and XML Base Class Library Common Language Runtime
  5. 5. Framework contain Server side scripting technology Support multiple languages Supports BCL(BASE CLASS LIBRARY) CLR(COMMAN LANGUAGE RUNTIME) -CTS(COMMON TYPE SPECIFICATION) -CLS (COMMON LANGUAGE SPECIFICATION) MSIL(MICROSOFT INTERMEDIATE LANGUAGE)
  6. 6. Menu barStart page Solution explorer Property window Toolbox
  7. 7. IDE, Visual studio IDE stand for integrated development environment Visual studio .NET is an environment that provides all the necessary tools for developing application. Important feature  One IDE for all .NET projects  Option to choose from multiple programming Languages  IDE is customizable  Built in browser
  8. 8. Example of ASP.NETusing System;public partial class _Default : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { string name, p; name = TextBox1.Text; p = TextBox2.Text; if(name=="webhouse" & p=="1234") { Response.Write("Welcome To Webhouse"); } else Response.Write("Invalid user"); }}
  9. 9. ASP.NET ASP.NET is a development framework for crating web pages and websites with HTML, CSS( Cascading Style Sheets ), JavaScript and server scripting. ASP.NET 1.0 was released on January 5, 2002 as part of version 1.0 of the .NET Framework ASP.NET supports three different development models: Web Pages, MVC (Model View Controller), and Web Forms: Web Pages -Simplest ASP.NET model. -Similar to PHP and classic ASP. -Built-in templates and helpers for database, video, graphics, soc social media and more.
  10. 10.  MVC( Model View Controller) -MVC separates web applications into 3 different components: -Models for data -Views for display -Controllers for input Web Forms -The traditional ASP.NET event driven development model: -Web pages with added server controls, server events, and server code.
  11. 11. How works ASP. net? fundamentally an ASP.NET page is just the same as an HTML page. The coding part & designing part are separately divided. We can include coding part of asp.net in both vb.net & c#.net language. While writing vb.net & c# program, we can give extension to that program as aspx.vb & aspx.cs Designing part are built in html pages.

×