cloud computing & .net 4.0 overview

54
Dhirendra Singh Director - Technologies TrivialWorks solutions .NET 4.0 & Cloud Computing Simplifying the Life of Developers

Upload: dhirendra-singh

Post on 18-Dec-2014

7.645 views

Category:

Technology


2 download

DESCRIPTION

Cloud computing, Cloud, .NET Framework, .NET 4.0, Trivialworks solutions, www.trivialworks.com, Dhirendra Singh, Lucknow, Seminar on WPF, WCF, CLR, Windows Azure, SQL Azure, WCF Overview

TRANSCRIPT

Page 1: Cloud computing & .NET 4.0 overview

Dhirendra SinghDirector - TechnologiesTrivialWorks solutions

.NET 4.0 & Cloud ComputingSimplifying the Life of Developers

Page 2: Cloud computing & .NET 4.0 overview

OCTOBER 18, 2011 | LUCKNOW

Page 3: Cloud computing & .NET 4.0 overview

3

AgendaWindows Server AppFabric

.NET ?

.NET 4.0WPFWCFCloud Computing

Page 4: Cloud computing & .NET 4.0 overview

4

About me

More than 8 yrs. Of experience in Enterprise application developmentI have executed several projects for Motorola, Seagate, Cognizant , Barclays Europe & Pacific Golf, Japan.Handled clients & worked in several geographies like

London (UK)Tokyo (Japan)Malaysia

Joined TrivialWorks Solutions as Managing Partner and Director - Onshore communications.Customized & architected .NET frameworks like .NET 2.0/3.0/3.5/4.0, WCF, WPF & Cloud based applications.

Page 5: Cloud computing & .NET 4.0 overview

5

.NET ?

.Net is a framework for developing web-based, windows-based, Service based & now Cloud based applications within the Microsoft environment.

The framework offers a fundamental shift in Microsoft strategy: it moves application development from client-centric to server-centric.

Page 6: Cloud computing & .NET 4.0 overview

6

.NET – What Is It?

Operating System + Hardware

.NET Framework

.NET Application

Page 7: Cloud computing & .NET 4.0 overview

7

Base Class Library

Common Language Specification

Common Language Runtime

ADO.NET: Data and XML

VB VC++ VC#V

isual S

tud

io.N

ETASP.NET: Web Services

and Web Forms

JScript …

WindowsForms

Framework, Languages, And Tools

Page 8: Cloud computing & .NET 4.0 overview

8

Compilation in .NET

Code in VB.NET Code in C# Code in another .NET Language

VB.NET compiler C# compiler AppropriateCompiler

IL(IntermediateLanguage) code

CLR just-in-timeexecution

Page 9: Cloud computing & .NET 4.0 overview

9

Intermediate Language (IL).NET languages are not compiled to machine code. They are compiled to an Intermediate Language (IL).

CLR accepts the IL code and recompiles it to machine code. The recompilation is just-in-time (JIT) meaning it is done as soon as a function or subroutine is called.

The JIT code stays in memory for subsequent calls. In cases where there is not enough memory it is discarded thus making JIT process interpretive.

Page 10: Cloud computing & .NET 4.0 overview

10

10

Versions

Ver Version Number Release Date Visual Studio Windows Version

1.0 1.0.3705.0 2002-02-13 VS .NET1.1 1.1.4322.573 2003-04-24 VS .NET 2003

Server 20032.0 2.0.50727.42 2005-11-07 VS 2005 3.0 3.0.4506.30 2006-11-06

Vista, Server 20083.5 3.5.21022.8 2007-11-19 VS 2008

Windows 74.0 4.0.15002.8 2010-05-01 VS2011

Windows Azure

Page 11: Cloud computing & .NET 4.0 overview

11

Languages

Languages provided by MSVB, C++, C#, J#, Jscript, XAML & Powershell

Third-parties are buildingAPL, COBOL, Pascal, Eiffel, Haskell, ML, Oberon, Perl, Python, Scheme, Smalltalk…

Page 12: Cloud computing & .NET 4.0 overview

12

How it helps Application development ?

ASP.NET: Web Servicesand Web Forms

WindowsForms

Web Application & Websites Desktop based Installable Apps

WPF, WCF

Cloud based Application

Page 13: Cloud computing & .NET 4.0 overview

13

New Generation Internet

Web site

Web site

Web site

BackendApp

MegaService

BackendApp

MegaService

Loosely-coupled, services connected by XML-based messages and contracts, written in many languages

ServiceDevice

XML-msgs

Service

Service Service

Page 14: Cloud computing & .NET 4.0 overview

14

Lets have a look on more features & technologies !

Page 15: Cloud computing & .NET 4.0 overview

15

.NET At The Core

Page 16: Cloud computing & .NET 4.0 overview

16

Windows Presentation Foundation (WPF)

Page 17: Cloud computing & .NET 4.0 overview

17

What’s Windows Presentation Foundation?

•Visually stunning user interfaces•Themes

• Unified programming model• Declarative programming• Integrated designer tools

Page 18: Cloud computing & .NET 4.0 overview

18

Micro - Agenda

What is Windows Presentation Foundation?What can it do for you?

Page 19: Cloud computing & .NET 4.0 overview

19

What’s Windows Presentation Foundation?

Next generation presentation subsystem for Windows

Unified programming modelHarness the power of new graphics hardwareProvide designers direct input into project development

Enables developers and designers to create visually stunning user interfaces

Page 20: Cloud computing & .NET 4.0 overview

20

Unified WPF API

WPF: Programming Model Unification

Documents User Interface Media

DirectX

GDIGDI+

Media Player

HTMLHTMLWordPDF

Win FormsWeb FormsMFCVB Forms

Page 21: Cloud computing & .NET 4.0 overview

21

WPF: Using the Hardware

Vector-based composition engine uses the PC’s graphics power

Quality is preserved with scaleCPU freed from graphics workGain capability from graphics card advances

Page 22: Cloud computing & .NET 4.0 overview

22

2D Graphics, 3D Graphics, Imaging

3D Graphics

Page 23: Cloud computing & .NET 4.0 overview

23

<Border Width="400" BorderBrush="Green" BorderThickness="9"> <StackPanel> <MediaElement Source="aero.wmv" /> <Button>Hello</Button> </StackPanel></Border>

Audio & Video

Formats: WMV, MPEG, Some AVIsCan be synchronized with animationsWindows Media Foundation used to instantiate playback machinery into a DirectShow graph

Page 24: Cloud computing & .NET 4.0 overview

24

ClearType & Antialiasing

Sub-pixel positioning & natural widths

Page 25: Cloud computing & .NET 4.0 overview

25

Designer-Developer Productivity

• Microsoft Tools for Designers & Developers

• Declarative Programming through XAML

• Third Party Tools (e.g. Aurora by Mobiform, ZAM 3D by Electric Rain)

Designers design

With XAML designers & developers can streamline

their collaboration

Developers add business logic

Page 26: Cloud computing & .NET 4.0 overview

26

Write Once…. & use everywhere !

WPF enables you to write the code in XAML and you are free to host it into

Web browserMobile widgetsWindows Applications

Page 27: Cloud computing & .NET 4.0 overview

27

No worries for Designer tools…

http://www.microsoft.com/products/expression/en/default.mspx

Page 28: Cloud computing & .NET 4.0 overview

28

This is fine…. Now lets try another….

WCF (Windows communication Foundation)

Page 29: Cloud computing & .NET 4.0 overview

29

From Objects to Services

PolymorphismEncapsulationSubclassing

Message-basedSchema+ContractBinding via Policy

1980s

2000s

Interface-basedDynamic LoadingRuntime Metadata

1990s

Object-Oriented

Service-Oriented

Component-Based

Page 30: Cloud computing & .NET 4.0 overview

30

The Challenge Radically Simplifying Distributed Application Development

Development of connected systemsremains costly and frustrating

Different programming models for different tasks

Need for security and reliable messaging

Interoperability with applications on other platforms

Productive service-oriented programming model needed

Page 31: Cloud computing & .NET 4.0 overview

31

Windows Communication Foundation

Unified framework for

rapidly building

service-oriented applications

Page 32: Cloud computing & .NET 4.0 overview

32

What Does WCF Replace?

ASMX

WSE

.NET RemotingCOM+ (Enterprise Services)

MSMQ

Page 33: Cloud computing & .NET 4.0 overview

33

Services and Clients

Client Service

Message

Message

Page 34: Cloud computing & .NET 4.0 overview

34

Endpoints

Client Service

MessageEndpoint Endpoint

Endpoint

Page 35: Cloud computing & .NET 4.0 overview

35

Address, Binding, Contract

Client Service

Message

Address Binding Contract

(Where) (How) (What)

Endpoint

ABC A B C

Endpoints

A B C

Page 36: Cloud computing & .NET 4.0 overview

36

Ways to Talk

One Way: Datagram-style delivery

Request-ReplyImmediate Reply on same logical thread

DuplexReply “later” and on backchannel (callback-style)

Client Service

One Way

Request-Reply

Duplex (Dual)

Page 37: Cloud computing & .NET 4.0 overview

37

So … we are now well versed with these terms !

WPFWCFLINQSOAXAMLC#, XML.NET Framework

Page 38: Cloud computing & .NET 4.0 overview

38

What’s very new…?

Page 39: Cloud computing & .NET 4.0 overview

39

An Introduction to

Cloud Computing

Page 40: Cloud computing & .NET 4.0 overview

40

The challenge

Add new services for your users quickly and cost effectively

Page 41: Cloud computing & .NET 4.0 overview

41

Expand your Infrastructure!Buy new servers, increase your software costs, provision more

datacenter capacity!!

Page 42: Cloud computing & .NET 4.0 overview

42

Look to the cloud!Pay for the bandwidth and

server resources that you need. When your push is done then

turn the whole thing off!

Page 43: Cloud computing & .NET 4.0 overview

43

3 Pillars of Cloud

SaaS (Software As a Service)PaaS (Platform as a Service)IaaS (Infrastructure as a Service)

Page 44: Cloud computing & .NET 4.0 overview

44

ExamplesCRMFinancial PlanningHuman ResourcesWord processing

Commercial Services:Salesforce.comemailcloud

SaaS

Page 45: Cloud computing & .NET 4.0 overview

45

Examples

Google App EngineMossoAWS: S3

PaaS

Page 46: Cloud computing & .NET 4.0 overview

46

Examples

FlexiscaleAWS: EC2

IaaS

Page 47: Cloud computing & .NET 4.0 overview

47

Advantages

Lower cost of ownershipReduce infrastructure management responsibilityAllow for unexpected resource loadsFaster application rolloutIaaS

PaaS

SaaS

Page 48: Cloud computing & .NET 4.0 overview

48

Common Factors

Pay per useInstant ScalabilitySecurityReliabilityAPIs

IaaS

PaaS

SaaS

Page 49: Cloud computing & .NET 4.0 overview

49

Page 50: Cloud computing & .NET 4.0 overview

Questions?

Page 51: Cloud computing & .NET 4.0 overview

51

I have two more words to say...!

Page 52: Cloud computing & .NET 4.0 overview

Thank You !!

Page 53: Cloud computing & .NET 4.0 overview

TrivialWorks Solutions

32/301, Gandhar Apartments, Sahara States, Jankipuram, Lucknow, UP-226020 (India)Mobile: +91 7897101108 E-Mail: [email protected] URL: www.trivialworks.com

Page 54: Cloud computing & .NET 4.0 overview

54

www.msteched.com/Australia

Sessions On-Demand & Community

http:// technet.microsoft.com/en-au

Resources for IT Professionals

http://msdn.microsoft.com/en-au

Resources for Developers

www.microsoft.com/australia/learning

Microsoft Certification & Training Resources

Resources