Sie sind auf Seite 1von 104

For GandhiNagar -

My assumption/ understand
• You would career in Microsoft.

• Software developer

• You would love to work in Big


Corporates like HCL… we should
learn get skilled on what they
required
Big logo
• 10 years

• New is always beter than old onces

• Update lways
Current life
• Windows (UI based)-----------------------wpf

• Logic – If loop, while, do syntax------------------wf + Logic

• Create Class (C#) Why Class?-------------------WS (SOA)—(wcf)

• Data (sql server)-------------------------------------xml


INTRODUCTION OF ME AS AN
INDIVIDUAL

https://mct.support.microsoft.com/profile/PRABHJOT%20SINGH

Name: Prabhjot Singh bakshi


What one should do? Now
• Microsoft Dynamics (CRM, AX, LX, NAV)
• Biztalk server 2006 R2--------SOA
• SharePoint server 2007

General:
• Design Pattern
• .net 3.5 (WCf, WF, WPF and Card Space)-------
SOA
• Message /Soap/xml/xml serialization
• SilverLight /Expression Blend.
Technology Changes with
times….
from developer point of view
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
dll hell
computer

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
nternet 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
oblems- Monolithic Programming
pensive Maintenance, Pressure and no reusability

Main Frame
cause had application and database server coding

Problems-
Maintenance while scalability, Transaction and no reusability
Client Server Technology
1/2 Application Logic

Server
cause 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
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 to
E-mail send across border
suppliers,
Reading the RECORDs
can cause the delay………in
From Data base and
response.
manually
Moreover a manual work…..
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 th


Raised bill
Phase VI

Phase -V Manually fax or e-mail


purchase order – report
generated from the
System.

Compan
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

Compan
Transport Companies

Phase -IX

Phase -X
Manually fax or e-mail tax
generated from the system to the
Govt. company

Compan
Suppliers
Company

Deal

Transporters

2nd table

Govt.
Same
Requirement Data from database

, P id, Qu a n tity, sid


Reqid

Sid==“h1”
Sid==“f1”
Sid==“f1” Sid==“h1”
Pid,
Qua
ntity

Fre
sh
Cos
t, s
tat
us=
“”

Fre
shC
ost
, st
atu
s=
“”

For PO Officer to take decision


Why WorkFlow is the Answer

Fre
shC
ost
(To
tal
Cost
), s
tat
us=
“”

TotalCost, pid, Quantity

+ st
a
=“Y tus
es”
+
=“ stat
No us

+ sta
tu
=“Ye s
Or s”
+ status
=“No”

Yes
NO
New Message Id’s Are Created on movement

MsgBoxDb
Message Variables
g y
l o
n o
ch
Te
et
. n
.net 3.5
.net 3.5

Linq
Wcf+WF(silver)
.NET At The Core
WCF- (Windows
Communication
Foundation)
Computers
mobiles
PDA Smart Devices

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

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


WCF will be best
suited
Pid,
Qua
ntity

Fre
sta sh C
tus ost
=“ ,

Address
9825846839
26855380
Contract
9825846839
26855380
Binding Transport protocol and security
WCF is best suited

Pid,
Qua
ntity

Fre
sta sh C
tus ost
=“ ,

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


•Easily toolable, declarative markup
Markup
•Code andLanguage
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
</Button> ); SolidColorBrush(Colors.LightBlue
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.
Design Pattern
What Is Activation?

Client-Activated SingleCal
SingleCall
Singleton
Objects
Sever- l
Object
Activated
Objects
Singleton
Create (7)
Object

Activation
Client 1 7

7
Client Client-Activated
GetVal() SAO
SOA
42 2
1
Objects
Create
7 (42)

Client 2 Server
What one should do? Now
• Microsoft Dynamics (CRM, AX)
• Biztalk server 2006 R2--------SOA
• SharePoint server 2007
• MCSE (Networking –Windows server 2008 admin
+ Security)

General:
• Design Pattern
• .net 3.5 (WCf, WF, WPF and Card Space)-------SOA
• Message /Soap/xml/xml serialization
• XBAP Application
• https://mct.support.microsoft.com/profile/PRABHJOT%2

• www.codeproject
.com/KB/WF/Simple_stuff.aspx

• www.prabhjotbakshi.spaces.live.com

• http://www.ieigujarat.org/Lecture%20on%2024th%20O

• www.csi-india.org/csidocument/CSI
C062006e48.pdf

• www.microsoft.com/learning/mcp/transcripts
(Transcript ID-758385 , Access Code-
prabhjot)
Thanks

Address: Prabhjot Singh Bakshi


9825846839

Bindings: www.bspinfo.com
business@bspinfo.com
prabhjotbakshi@hotmail.com

Contract: The Growth

Das könnte Ihnen auch gefallen