WizIQ helps you learn and teach online - any subject you can think of!
Join for FREE

ASP.Net Introduction

Add to Favourites
Post to:
Join the .NET Community

Description
ASP.Net Introduction

Comments
Presentation Transcript Presentation Transcript

Microsoft Development Platform Introduction : Microsoft Development Platform Introduction

Lesson: Introduction to the .NET Framework : What is the .NET Framework? What Problems Does .NET Solve? The .NET Framework Components Benefits of Using the .NET Framework Visual Studio .NET: The Tool for .NET Development Lesson: Introduction to the .NET Framework

What is the .NET Framework? : What is the .NET Framework? Developer Tools Clients User Experiences ASP.NET Web Applications XML Web Services Databases .NET Framework

What Problems Does .NET Solve? : What Problems Does .NET Solve? Even with the Internet, most applications and devices have trouble communicating with each other Programmers end up writing infrastructure instead of applications Programmers have had to limit their scope or continually learn new languages

The .NET Framework Components : The .NET Framework Components ASP.NET

Benefits of Using the .NET Framework : Benefits of Using the .NET Framework Based on Web standards and practices Functionality of .NET classes is universally available Code is organized into hierarchical namespaces and classes Language independent

Visual Studio .NET: The Tool for .NET Development : Visual Studio .NET: The Tool for .NET Development Visual Studio .NET Windows Forms Tools Web Forms Tools Error Handling Data Access Multiple Languages Web Services Tools Develop Debug Deploy Design

Lesson: Overview of ASP.NET : Lesson: Overview of ASP.NET What is ASP.NET? ASP.NET Web Application

What is ASP.NET? : What is ASP.NET? Evolutionary, more flexible successor to Active Server Pages Dynamic Web pages that can access server resources Server-side processing of Web Forms XML Web services let you create distributed Web applications Browser-independent Language-independent

ASP.NET Web Application : ASP.NET Web Application XML Data Database Internet Page1. aspx Page2. aspx Web Services Components Web Forms Code-behind pages global. asax Web. config machine. config ASP.NET Web Server Output Cache Clients

Lesson: Overview of Visual Studio .NET : Lesson: Overview of Visual Studio .NET Why Visual Studio .NET? Start Page Available Project Templates Integrated Development Environment (IDE)

Why Visual Studio .NET? : Why Visual Studio .NET? One IDE for multiple languages and multiple project types Multiple languages within a project Multiple project types within a solution Integrated browser Debugging support Customizable interface

Start Page : Start Page Online support access Recent projects

Available Project Templates : Available Project Templates The list of available project templates is based on your Profile and Project Type selections

Integrated Development Environment (IDE) : Integrated Development Environment (IDE) Toolbox Task List Solution Explorer Dynamic Help Editor/Browser Properties Server Explorer Object Browser

Lesson: Creating an ASP.NET Web Application Project : Lesson: Creating an ASP.NET Web Application Project The Development Process Web Application Files Web Application File Structure

The Development Process : The Development Process Visual Studio .NET

Web Application Files : Web Application Files Solution files (.sln, .suo) Project files (.vbproj, .csproj) Web application files ASP.NET Web Forms (.aspx) ASP.NET Web services (.asmx) Classes, code-behind pages (.vb or .cs) Global application classes (.asax) Web.config file Project assembly (.dll)

Web Application File Structure : Web Application File Structure wwwroot Bin Inetpub ProjectA My Documents Development Files Assembly Files WebForm1.aspx WebForm1.aspx.vb (Code-behind page) Visual Studio Projects Solution Solution.sln ProjectA.vbproj ProjectA.dll Build

Lesson: Overview of the .NET-Based Languages : Lesson: Overview of the .NET-Based Languages Multiple Language Support The Common Language Runtime The Common Language Runtime Components Runtime Compilation and Execution What are Namespaces? Using Namespaces

Multiple Language Support : Multiple Language Support The .NET Framework is designed to support many languages More than 20 languages currently supported Microsoft provides Visual Basic .NET, C#, Visual J# .NET, and JScript .NET Benefits of multiple-language support Code modules are reusable API access is the same for all languages The right language is used for the right task Performance is roughly equal between all languages

The Common Language Runtime : The Common Language Runtime One runtime for all . NET-Based Languages Manages threads and memory Garbage collection Enforces code security Eliminates DLL versioning problems Multiple versions of a DLL can run simultaneously Applications can specify a version of a DLL to use

The Common Language Runtime Components : The Common Language Runtime Components

Runtime Compilation and Execution : Runtime Compilation and Execution Native code C# code Visual Basic .NET code default.aspx Runtime HTML

What are Namespaces? : What are Namespaces? Group related classes Logical, not physical, grouping Namespaces are hierarchical Decrease naming conflicts Imports keyword in Visual Basic .NET code Using keyword in C# code

Using Namespaces : Using Namespaces Implicit object declaration Explicit object declaration

Lesson: Comparison of the .NET-Based Languages : Lesson: Comparison of the .NET-Based Languages Visual Basic .NET C# Choosing a Language

Visual Basic .NET : Visual Basic .NET Visual Basic .NET is the latest version of Visual Basic True object-oriented language Visual Basic Scripting Edition (and JScript) are still used for client-side script

C# : C# C# is a new language Similar to Java, Visual C++, and Pascal

Choosing a Language : Choosing a Language .NET Framework class library is the same regardless of language Performance All languages are compiled to MSIL Only performance difference is how each language compiler compiles to MSIL The runtime compiles all MSIL the same, regardless of its origin Development experience C# is similar to Java, C, Visual C++, and Pascal Visual Basic .NET is similar to Visual Basic Browser compatibility ASP.NET code is server-side code, so browser compatibility is not an issue

Lesson: Creating a Component Using Visual Studio .NET : Lesson: Creating a Component Using Visual Studio .NET What are Classes and Components? Creating a Class Using Components in an ASP.NET Web Form Demonstration: Creating a Class in Visual Studio .NET

What are Classes and Components? : What are Classes and Components? Classes are groups of code with no user interface Components are compiled classes Components are compiled as DLL files Components are used for sharing code between applications

Creating a Class : Create a Class Library project in Visual Studio .NET Visual Studio .NET creates a default namespace Create methods of the class Creating a Class

Using Components in an ASP.NET Web Form : Using Components in an ASP.NET Web Form Add a reference to the DLL Instantiate the class object: Use the object: Namespace CompanyA Class Shipping Function ShippingCost (…) End Class End Namespace component.dll namespace CompanyA { class Shipping { public void ShippingCost (…) { } } } component.dll

Questions? : Questions?

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subject you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
Gurjinder Singh Brar
IT, ASP.NET, Database, SEO, Management Consultant
User
2 Members Recommend
133 Followers

Your Facebook Friends on WizIQ