cloud computing & .net 4.0 overview
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 OverviewTRANSCRIPT
Dhirendra SinghDirector - TechnologiesTrivialWorks solutions
.NET 4.0 & Cloud ComputingSimplifying the Life of Developers
OCTOBER 18, 2011 | LUCKNOW
3
AgendaWindows Server AppFabric
.NET ?
.NET 4.0WPFWCFCloud Computing
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.
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.
6
.NET – What Is It?
Operating System + Hardware
.NET Framework
.NET Application
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
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
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.
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
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…
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
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
14
Lets have a look on more features & technologies !
15
.NET At The Core
16
Windows Presentation Foundation (WPF)
17
What’s Windows Presentation Foundation?
•Visually stunning user interfaces•Themes
• Unified programming model• Declarative programming• Integrated designer tools
18
Micro - Agenda
What is Windows Presentation Foundation?What can it do for you?
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
20
Unified WPF API
WPF: Programming Model Unification
Documents User Interface Media
DirectX
GDIGDI+
Media Player
HTMLHTMLWordPDF
Win FormsWeb FormsMFCVB Forms
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
22
2D Graphics, 3D Graphics, Imaging
3D Graphics
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
24
ClearType & Antialiasing
Sub-pixel positioning & natural widths
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
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
27
No worries for Designer tools…
http://www.microsoft.com/products/expression/en/default.mspx
28
This is fine…. Now lets try another….
WCF (Windows communication Foundation)
29
From Objects to Services
PolymorphismEncapsulationSubclassing
Message-basedSchema+ContractBinding via Policy
1980s
2000s
Interface-basedDynamic LoadingRuntime Metadata
1990s
Object-Oriented
Service-Oriented
Component-Based
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
31
Windows Communication Foundation
Unified framework for
rapidly building
service-oriented applications
32
What Does WCF Replace?
ASMX
WSE
.NET RemotingCOM+ (Enterprise Services)
MSMQ
33
Services and Clients
Client Service
Message
Message
34
Endpoints
Client Service
MessageEndpoint Endpoint
Endpoint
35
Address, Binding, Contract
Client Service
Message
Address Binding Contract
(Where) (How) (What)
Endpoint
ABC A B C
Endpoints
A B C
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)
37
So … we are now well versed with these terms !
WPFWCFLINQSOAXAMLC#, XML.NET Framework
38
What’s very new…?
39
An Introduction to
Cloud Computing
40
The challenge
Add new services for your users quickly and cost effectively
41
Expand your Infrastructure!Buy new servers, increase your software costs, provision more
datacenter capacity!!
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!
43
3 Pillars of Cloud
SaaS (Software As a Service)PaaS (Platform as a Service)IaaS (Infrastructure as a Service)
44
ExamplesCRMFinancial PlanningHuman ResourcesWord processing
Commercial Services:Salesforce.comemailcloud
SaaS
45
Examples
Google App EngineMossoAWS: S3
PaaS
46
Examples
FlexiscaleAWS: EC2
IaaS
47
Advantages
Lower cost of ownershipReduce infrastructure management responsibilityAllow for unexpected resource loadsFaster application rolloutIaaS
PaaS
SaaS
48
Common Factors
Pay per useInstant ScalabilitySecurityReliabilityAPIs
IaaS
PaaS
SaaS
49
Questions?
51
I have two more words to say...!
Thank You !!
TrivialWorks Solutions
32/301, Gandhar Apartments, Sahara States, Jankipuram, Lucknow, UP-226020 (India)Mobile: +91 7897101108 E-Mail: [email protected] URL: www.trivialworks.com
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