Dot Net 3
Dot Net 3
0 Framework
Presentation
Technology Changes with
times….
from developer point of view
• XML is the universal format for
exchanging data on the Internet
• Datasets serialize data as XML
• XML provides a convenient format
for transferring the contents of a
dataset to and from remote clients
• XML objects synchronize and
transform data
Firewall
Human Readable
Web Server
XML File
Browser Readable
Or
DataSet Stream
Mainframe Readable
A computer
c.dll
One Software
A computer
a.dll
c.dll
b.dll d.dll
c.dll
One Software
a.dll c.dll
c.dll
b.dll d.dll f.dll
c.dll
One Software
No versioning possible
dcom = Distributed Component
Computer 1
HR s/w Computer 2
Accounts s/w
Server
CRM s/w
Computer 3
c.dll
On LAN
Non Fire Wall Friendly
Fast
Binary data
Being on fire wall it failed on internet Dll hell
.net remoting and web services with new .net framework came for
internet and replaced dcom
HR s/w
Accounts s/w
Server
CRM s/w
c.dll
Problems-
Maintenance while scalability, Transaction and no reusability
Client Server Technology
1/2 Application Logic
Server
Because had 1/2 application and server coding
Problems- 3 tier Programming
Browser dependent
Application server
Com and Dcom came into picture
.net Technology
pda mobiles
Computers
Smart Devices
Stateless
pda mobiles
Computers
Processing her
Smart Devices C++
Java webservice
Or
.net web service
Application server Application server Application server
c.dll
Data Base Server Data Base Server Data Base Server
oracle SqlServer2005
xml
Asp.net Ajax Techology
xml
Asp.net Ajax Techology
JSON
P4 & IE6 P4 & IE6 P4 & IE6
/js
Java webservice C++
Or
.net web service
Application server Application server Application server
oracle SqlServer2005
xml
Whywe need is EAI
Productid
Company on People Soft
ProductName
ProductQuantity
Product Unit Price Company on SAP
Application server
Application server
Data Base Server
itemid
Data Base Server
itemName
itemCost sqlserver
sqlserver
Application server
goodsid
goodsName
Data Base Server
goodsQuantity
goods Unit Price
oracle
Company on JD Edward
What we need is EAI
Productid
ProductName SAP
ProductQuantity Application server
Product Unit Price
Xml +
sqlserver
Data Base Server XmlSchema
Xml +
itemid
XmlSchema
itemName
itemCost
Application server
goodsid
goodsName
goodsQuantity
goods Unit Price Data Base Server
JD Edward
oracle
Forgot about ERP’s we just need the data to move in life
Access
Pid, pname, unitprice, qty
Excel 1 Pencil 10 30
Or
Sql server
id, pn, qty, Tocalcost, status
1 Pencil 10 100
windows
Or Or
Mail to Holland
Phase II
E-mail send across border to suppliers,
can cause the delay………in response.
Reading the RECORDs
Moreover a manual work…..
From Data base and manually
Mailing the suppliers
Phase -1
Company
Suppliers
Phase III
Company
Suppliers
Company
Transport Companies
Phase VIII
Phase -VII
Manually fax or e-mail order generated
from the system to the
Transport company
Company
Transport Companies
Phase -IX
Phase -X
Manually fax or e-mail tax generated
from the system to the
Govt. company
Company
Suppliers
Company
Deal
Transporters
2nd table
Govt.
Same Company
Requirement Data from database
uantity, sid
Reqid, Pid, Q
Sid==“h1”
Sid==“f1”
Sid==“f1” Sid==“h1”
Pid,
Q uant
ity
Fre
sh C
ost
, st
atu
s=“
”
Fre
sh
Cos
t, s
tatu
s=“
”
+ sta
tus =
“Yes
+s ”
tat
us
=“N
o”
+ stat
us =“Y
es”
Or
+ status =“No”
Yes
NO
Data from web service
No takers on product id
Yes
No
Live Demo of the Denmark
SuperMarket
New Message Id’s Are Created on movement
MsgBoxDb
Message Variables
Therefore the tracking of
Messages is very Important for
which we have a Tool called HAT
If error occurs a message
is lost due to wrong
Schema
Correlation Activity(Great
Stuff)
1,2,3,4
Fre
sh
Cos
t(To
tal
Cos
t), s
tatu
s=“
”
+ sta
tus =
“Yes
+s ”
tat
us
=“N
o”
4,2
Long Running Transaction
Citibank Card Varification House Varification
Welcome to Building a
Messaging Integration
Solution
Welcome to Building a Messaging
Integration Solution
.dll
Application server .dll Application server Application server.dll
.net Remoting
EnterPrise Component Old Distributed Technology
MSMQ
Web Service
• .Net Remoting
– Only O/s Windows
– TCP and Binary or SOAP and Binary
– Fast
– Great Control over Object behaviors
– Contract Possible between parties
Old Distributed Technology
• Enterprise Component(Com+ )
– Easy To work with just tick
– Windows o/s required
– Best way to work with old legacy components
• MSMQ
– Reliability of message Delivery
Stateless
pda mobiles
Computers
oracle SqlServer2005
xml
WCF will be best suited
Pid,
Q uant
ity
Fre
sh
Co
st, st
atu
s=“
”
Address
9825846839
26855380
Contract
9825846839
26855380
Binding Transport protocol and security
WCF is best suited
Pid,
Q uant
ity
Fre
sh
Co
st, st
atu
s=“
”
What is contract in programming
model
Component *.dll file
Sales(city)
Coke Marketing
()
Profit()
Component *.dll file
Sales(city)
Coke Marketing
()
Profit()
Component *.dll file
Medicine-
Zydus Pharma
Research(
)
Sales(city,
country)
Coke
Marketing
()
Profit()
Component *.dll file
Medicine-
Zydus Pharma
Research(
)
Sales(city,
country)
Coke
Marketing
()
Profit()
Interface-Zydus
Medicine
Zydus Research() Component *.dll file
Pharma
Sales(City)
Marketing() Medicine-
Profit()e Research()
Sales(city)
Interface-coke
Sales(city,
Sales(City, country)
country)
Marketing()
Marketing()
Profit() Profit()
Coke
Client
http://localhost/bspwcfdemo/service.
svc
WPF
Windows Presentation
Foundation
• Flexible deployment
Windows Presentation
Foundation
This screen contains text and images along with both two- and three-dimensional graphics. All of
this was produced using WPF—the developer doesn't need to write code that uses specialized
graphics technologies such as GDI+ or Direct3D. Similarly, WPF allows displaying and perhaps
annotating video, such as the ultrasound feed shown below.
To define this type of document, Microsoft has created the XML Paper
Specification (XPS). WPF also provides a group of application programming
interfaces (APIs) that developers can use to create and work with XPS
documents.
• With XAML
Declarative designers
Programming &
through
developers
XAML can streamline
• their
Third Partycollaboration
Tools (e.g. Aurora by
Designers design Mobiform, ZAM 3D by ElectricDevelopers
Rain) add business logic
Declarative Programming
Through XAML
XAML = Extensible Application Markup
Language
•Easily toolable, declarative markup
•Code and content are separate
•Can be rendered in the browser / standalone application
XAML C# VB.NET
<Button Width="100"> OK Button b1 = new Button(); Dim b1 As New Button
<Button.Background> b1.Content = "OK"; b1.Content = "OK"
LightBlue b1.Background = new b1.Background = New _
</Button.Background> SolidColorBrush(Colors.LightBlue); SolidColorBrush(Colors.LightBlue)
</Button> b1.Width = 100; b1.Width = 100
First WPF Application via Expression
Blend
Opening the same in the Visual
Studio
Live demo of Using Blend and VS
(getting benefitted out of XMAL)
Sample Demo of WPF –
Expression Blend
WF
Why WorkFlow
– www.biztalkguru.com
– www.topxml.com
• .net 3.0
– www.winfx.com
Thanks
Bindings: www.bspinfo.com
[email protected]
[email protected]