Introduce
       To
          ASP.NET
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.
Feature
   Easy programming model

   Great tool support

   Drag and drop

   Flexible language options

   Used to create
     -Web application
     -Desktop application
     -Windows application
     -Websites
.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
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)
Menu bar




Start page            Solution explorer




   Property window               Toolbox
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
Example of ASP.NET
using 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");
    }
}
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.
 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.
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.
Webhouse

Webhouse

  • 1.
    Introduce To ASP.NET
  • 2.
    Introduction to .NETframework  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.
    Feature  Easy programming model  Great tool support  Drag and drop  Flexible language options  Used to create -Web application -Desktop application -Windows application -Websites
  • 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.
    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.
    Menu bar Start page Solution explorer Property window Toolbox
  • 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.
    Example of ASP.NET usingSystem; 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"); } }
  • 10.
    ASP.NET  ASP.NET isa 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.
  • 11.
     MVC( ModelView 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.
  • 12.
    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.