100% found this document useful (1 vote)
224 views129 pages

Dot Net 3

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 Technology Changes with times. From Architect point of view ProblemsExpensive Maintenance, Pressure and no reusability Client Server Technology 1 / 2 application and server coding Main Frame ProblemsMaintenance while scalability, Transaction and no. Reusable

Uploaded by

api-3845693
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
224 views129 pages

Dot Net 3

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 Technology Changes with times. From Architect point of view ProblemsExpensive Maintenance, Pressure and no reusability Client Server Technology 1 / 2 application and server coding Main Frame ProblemsMaintenance while scalability, Transaction and no. Reusable

Uploaded by

api-3845693
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 129

.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

1980 was oops era


a.dll
1990 was component era
b.dll

c.dll
One Software
A computer

Benefit of component world is


another Software reusability

a.dll
c.dll
b.dll d.dll

c.dll
One Software

Needed to be register in o/s and is/was called


com
Drawback of com world is
A computer
dll hell

another Software Another company 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

.net remoting component

Web service component


Technology Changes with
times….
from Architect point of view
Problems- Monolithic Programming
Expensive Maintenance, Pressure and no reusability

Because had application and database server coding Main Frame

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

Data base Server

.net Technology
pda mobiles
Computers

Smart Devices

Application server Application server Application server

Data Base Server Data Base Server Data Base Server


xml

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

P4 & IE6 P4 & IE6 P4 & IE6 Processing here also

Java webservice C++


Or
.net web service
Application server Application server Application server

Data Base Server Data Base Server Data Base Server

All logic here


oracle SqlServer2005

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

Data Base Server Data Base Server Data Base 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 + Data Base Server


XmlSchema
Application server

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

itemid, itemname, itemunitprice, qty


Oracle 1 Pencil 10 30 Oracle

Or Or

Sql server Sql server


The BizTalk Mapper
Interface
Take home so far-I
• It is to do with Data Movement between
Heterogeneous Systems Over the Internet. In
XML and SOAP(Message Format).

• It is Not a software tool it is a Integration tool between


two existing Systems say for example ONGC (on SAP)
and IOC(On People Soft).

• Treat it as Bridge between two Companies.

• Pls Pls do not thing of creating Fresh Program with


Biztalk Server… You begin where ONGC – SAP
completes and then bridge the outside world(Supplier
System, Clients Systems etc.) with it.
Therefore to expose the data
over the Hitergenous
envirnoment Company are
using
WEB SERVICES(SOA)
Take home -2

• The web service is a lovely tool for integrating


and the Heterogenous System for movement of
the data.
Case Study One
Super Market in
Denmark

On every 28th of the month a list of fresh Inven


Is generated by the Sql Data base Application
Business Objective In
Super Market Life
Suppliers
Mail to Finland

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

Suppliers will Reply with the latest Rates


Of the Products - (Requisitions) after seeing
The data base

Phase III

Manual Feed into the System to


generate Fresh Catalog and get final
Cost out……..
Phase -IV

Company
Suppliers

Will Manually Update database and take the


Raised bill
Phase VI

Phase -V Manually fax or e-mail purchase


order – report generated from the
System.

Company
Transport Companies

With update in their data base and mail back


With Confirmation and Acceptance

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=“

For PO Officer to take decision


Fre
sh
Cos
t(To
tal
Cos
t), s
tatu
s=“

TotalCost, pid, Quantity

+ 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=“

TotalCost, pid, Quantity

+ 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

• Microsoft BizTalk Server 2006 makes it


easy to integrate many types of internal
and external systems, applications, and
databases.
ogy
l
h no
ec
t T
n e
.
.net 3.0
.NET At The Core
WCF- (Windows
Communication
Foundation)
Computers
mobiles
PDA Smart Devices

.dll
Application server .dll Application server Application server.dll

Data Base Server


Data Base Server Data Base Server

.net Remoting
EnterPrise Component Old Distributed Technology
MSMQ
Web Service

New Is WCF in .net 3.0


Old Distributed Technology
• Web Services:
– InterOperabilty
– XML
– HTTP and SOAP
– Works over IIS- that is Host as IIS
– State less
– Message Architect

• .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

Smart Devices C++


Java webservice
Or
.net web service
Application server Application server Application server

Data Base Server Data Base Server Data Base Server

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

Zydus Pharma Medicine-


Research(
)

Sales(city)

Coke Marketing
()

Profit()
Component *.dll file

Zydus Pharma Medicine-


Research(
)

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

This class will implements


2 interfaces
Demo of difference between wcf
and Webservice
Host

Client
http://localhost/bspwcfdemo/service.
svc
WPF
Windows Presentation
Foundation

A productive, unified approach to UI,


media and documents to deliver
unmatched user experience
Key Scenarios
Next-Gen Windows Smart Client
applications:

• Installed desktop applications

• Browser applications (XAML Browser


Application)

• Flexible deployment
Windows Presentation
Foundation

A productive, unified approach


• Deliver to UI,
Innovative User media
Interfaces

and documents• to deliver


Increase unmatched UX
Developer-Designer
Productivity
• Achieve Flexible Application Deployment
• Leverage Existing Code Base and Skills
Set

Superior UX with UI, Media & Documents


Case Study
Illustrating the Problem

Suppose a hospital wants to create a new application for examining


and monitoring patients. The requirements for this new
application's user interface might include the following:

• Displaying images and text about the patient.


• Displaying and updating two-dimensional graphics showing the
patient's vital signs, such as heart rate and blood pressure.
• Providing three-dimensional views and overlays of patient
information.
• Presenting video of ultrasounds and other diagnostics, perhaps
allowing physicians and nurses to add annotations.
• Allowing hospital staff to read and make notations on documents
describing the patient and her condition.
• Running both as a Windows application, allowing full capability for
hospital employees, and in a security-restricted Web browser
application, allowing more limited access by remote physicians via
the Internet.
The point is that many modern
applications can benefit from
providing interfaces that
integrate graphics, media,
documents, and the other
elements of a modern user
experience.
Addressing the Problem: What
Windows Presentation Foundation
Provides
Three aspects of what WPF provides stand out as
most important. They are:

• A unified platform for modern user interfaces.

• The ability for developers and designers to work


together.

• A common technology for Windows and Web


browser user interfaces.
Wind
ows Windo D
Form ws ire
Window PD s/ Media ct WP
  s Forms F GDI+ Player 3D F
Graphical interface, X         X
e.g., forms and
controls
On-screen X         X
documents
Fixed-format   X       X
documents
Images     X     X
Video and audio       X   X
Two-dimensional     X     X
graphics
Three-dimensional         X X
graphics
Figure 1. A WPF interface can combine
images, text, 2D and 3D graphics, and more.
A WPF interface can include video, allowing
the user to make text annotations

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.

WPF interface can display multi-column


documents, including annotations.
XMAL a Great Benefit over
Binary File
Designer-Developer
Productivity
• Microsoft Tools for Designers &
Developers

• 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

• In the traditional programming model, you


implement a task in code using your language of
choice. The code specifies what to do (the
execution instructions) along with the sequence
of those instructions (the flow of control). You also
include code to make decisions (rules) based on
the value of variables, the receipt of events, and
the current state of the application.

• A workflow is simply an ordered series of steps


that accomplish some defined purpose according
to a set of rules.
Why WorkFlow

• The workflow model allows you to define the


problem using terminology that is appropriate for
each problem domain. Eg banking and pizza
example

• The exact sequence of steps is not always


predictable with human being involvement. The
workflow model really shines when it comes to
solving human interaction problems.
Why Windows Workflow
Foundation?
• If you are developing line-of-business applications, you can
use WF to orchestrate the business rules.

• If your application is comprised of a series of human


interactions, you can use a WF state machine
workflow to implement logic that can react to those
interactions.

• It supports workflow persistence. The ability to save and


later reload the state of a running workflow is especially
important when modeling human interactions.
Live demo and Create a
Work Flow Application
Resources available
• Biztalk-

– www.biztalkguru.com
– www.topxml.com

• .net 3.0

– www.winfx.com
Thanks

Address: Prabhjot Singh Bakshi


9825846839

Bindings: www.bspinfo.com
[email protected]
[email protected]

Contract: The Growth

You might also like