1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

23
1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD

Transcript of 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

Page 1: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

1

Introduction to ASP.Net 4.0 Development David Ringsell

MCSD MCT MCPD

Page 2: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

2

INTRODUCTION

Page 3: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

3

ABOUT THIS COURSE

COURSE STYLEContent has some flexibilityOpportunity to experiment – extend the labsOpportunity to share knowledgeOpportunity to enhance team workingContribute – attempt consultants questionsEnjoy the course!

Copyright David Ringsell 23/10/11

Page 4: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

4

TRAINING METHODS

Talks with slides Practical demonstrations Sample code and exercises Questions and answers – both ways Discussions Training notes – add your own notes

Page 5: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

5

Daily Course Evaluation

1. What is the best thing about this course?

2. The course be will even better if? You can consider

Pace Technical depth Content Balance of activities (labs, talks, demonstrations) Course Materials

Page 6: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

6

DAILY SCHEDULE

START 9.30 LUNCH 12.30 – 1.30 FINISH 4.30 BREAKS 20 min’s a.m. / p.m. HOUSEKEEPING

EquipmentSecurityPhonesLocation

Page 7: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

7

Course Content 1. The .NET Framework2. Visual Studio 20103. Language Syntax4. Classes & Objects5. Debugging Applications6. ASP.NET Introduction7. User Interface Development8. Configuration 9. Membership & Personalisation10. Error Handling11. Data Binding12. Creating Responsive Pages with AJAX13. Language Integrated Queries (LINQ)14. Web Services15. Deployment16. Build Business Application

Page 8: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

8

LOOSE SCHEDULEUnit DAY

1, 2, 3 Monday

4, 5, 6 Tuesday

7, 8, 9 Wednesday

10, 11, 12 Monday

13, 14, 15 Tuesday

Page 9: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

9

Your Consultant – i.e. Me!

David Ringsell MCSD.Net MCAD MCT MCPD (web)

Trainer, developer, consultant Develops in C#.Net, VB.Net, ASP.Net and

Sequel Server

Page 10: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

10

References

Professional ASP.Net 3.5 from Wrox Professional C# 2010 from Wrox

Page 11: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

11

World Wide Web – Reality Check

7 Bn

1.8 BnWhat are these numbers?

Page 12: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

12

Unit 1: Introduction To .Net

Page 13: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

13

Introduction to .Net

Integrated Development Environment (IDE) Languages in the .NET Framework The Common Language Runtime Accessing Data with ADO.NET & XML Accessing the Web with ASP.NET

Page 14: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

14

Integrated Development Environment (IDE)

Toolbox

Task List

SolutionExplorer

Dynamic Help

Editor/Browser

PropertiesServer

Explorer

Object Browser

Page 15: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

15

Languages in the .NET Framework

Visual Basic .NET C# – designed for .NET J# .NET F#.NET Third-party languages

Page 16: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

16

Overview of the .NET Framework

Visual Studio .NET

Visual Studio .NET

Common Language SpecificationCommon Language Specification

Visual Visual BasicBasic C++C++ C#C# J#J# ……

.NET Framework.NET Framework

Page 17: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

17

What Are the Parts of .NET

The . NET Languages Common Language Runtime .NET Framework Class Library ADO .NET: Data and XML ASP .NET: Web Forms and Services Windows Forms

Page 18: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

18

.NET Building Blocks

.NET Framework Class Library.NET Framework Class Library

ADO .NET - XML.Net - LINQADO .NET - XML.Net - LINQ

WindowsWindowsForms &WPFForms &WPF

Common Language Runtime - CLRCommon Language Runtime - CLR

WebWebForms Forms

& MVC & Services& MVC & Services

Page 19: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

19

Common Language Runtime (CLR)Base Class Library SupportBase Class Library Support

Thread SupportThread Support COM MarshalerCOM Marshaler

Type CheckerType Checker Exception ManagerException Manager

MSIL to NativeMSIL to NativeCompilersCompilers

CodeCodeManagerManager

GarbageGarbageCollectionCollection

Security EngineSecurity Engine Debug EngineDebug Engine

Class LoaderClass Loader

Page 20: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

20

.NET Framework Class Library

System.GlobalizationSystem.Globalization

System.DiagnosticsSystem.Diagnostics

System.ConfigurationSystem.Configuration

System.CollectionsSystem.CollectionsSystem.IOSystem.IO

System.ReflectionSystem.Reflection

System.NetSystem.Net

SystemSystem

System.ThreadingSystem.Threading

System.TextSystem.Text

System.SecuritySystem.Security System.Runtime.System.Runtime.InteropServicesInteropServices

Page 21: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

21

Accessing Data with ADO.NET & XML

DataSetDataSet DataRowDataRow

DataTableDataTable Data ReaderData Reader

System.Data System.Xml

System.Xml.SchemaSystem.Xml.Schema

System.Xml.SerializationSystem.Xml.Serialization

LINQLINQ

Page 22: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

22

ASP .NETASP .NET

Accessing the Web with ASP.NET

System.WebSystem.Web

ConfigurationConfiguration SessionStateSessionState

CachingCaching SecuritySecurity

ServicesServices

DescriptionDescription

DiscoveryDiscovery

ProtocolsProtocols

UIUI

HtmlControlsHtmlControls

WebControlsWebControls

Page 23: 1 Introduction to ASP.Net 4.0 Development David Ringsell MCSD MCT MCPD.

Lab 1: The .Net Framework

Becoming Familiar with the Visual Studio .NET IDE