For Gandhinagar -

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View For Gandhinagar - as PDF for free.

More details

  • Words: 1,866
  • Pages: 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 b.dll c.dll One Software

1990 was component era

A computer

another Software a.dll b.dll

Benefit of component world is reusability

c.dll d.dll

c.dll One Software

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

A computer

another Software a.dll b.dll

Drawback of com world is dll hell

Another company software

c.dll

c.dll

d.dll

f.dll

c.dll One Software

No versioning possible

dcom = Distributed Component Computer 1 Accounts s/w

HR s/w

Computer 2

Server CRM s/w

Computer 3 c.dll

Being on fire wall it failed on internet

On LAN Non Fire Wall Friendly Fast Binary data Dll hell

net remoting and web services with new .net framework came for nternet and replaced dcom Accounts s/w

HR s/w

Server CRM s/w

c.dll .net remoting component Web service component

Technology Changes with times…. from Architect point of view

Monolithic Programming

oblems-

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

cause had 1/2 application and server coding

Server

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

Application server

Java webservice Or .net web service

Application server

C++

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 E-mail send across border II to Reading the RECORDs From Data base and manually Mailing the suppliers

Phase -1

Company

suppliers, can cause the delay………in response. Moreover a manual work…..

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

Compan

Manually fax or e-mail purchase order – report generated from the System.

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 tity, sid n a u Q , id P , Reqid

Sid==“f1”

Sid==“h1”

Sid==“f1”

Sid==“h1”

Pid, Qua ntity

Fre sh Cos t, s tat us= “” Fre s

hC

ost

, st

atu

s=

For PO Officer to take decision

“”

Why WorkFlow is the Answer Fre s

hC

ost

TotalCost, pid, Quantity + st a =“Y tus es”

+ =“ stat No us ”

(To

tal C

ost

), s tat us= “”

Or

+ sta tu =“Ye s s”

+ status =“No” NO

Yes

New Message Id’s Are Created on movement

MsgBoxDb

Message Variables

l o n

.

t e n

T

h c e

y g o

.net 3.5

.net 3.5

Linq Wcf+WF(silver)

.NET At The Core

WCF- (Windows Communication Foundation)

PDA

mobiles

Computers Smart Devices

Application server

.dll

Data Base Server

.net Remoting EnterPrise Component MSMQ Web Service

.dll

Application server

Data Base Server

.dll Application server Data Base Server

Old Distributed Technology

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

MedicineResearch( ) Sales(city)

Coke

Marketing () Profit()

Component *.dll file Zydus Pharma

MedicineResearch( ) Sales(city)

Coke

Marketing () Profit()

Component *.dll file Zydus Pharma

MedicineResearch( ) Sales(city, country)

Coke

Marketing () Profit()

Component *.dll file Zydus Pharma

MedicineResearch( ) Sales(city, country)

Coke

Marketing () Profit()

Zydus Pharma

Interface-Zydus Medicine Research()

Component *.dll file

Sales(City) Marketing() Profit()e

MedicineResearch() Sales(city)

Interface-coke Sales(City, country) Marketing() Coke

Profit()

Sales(city, country) Marketing() Profit() 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

• Deliver Innovative User Interfaces A productive, unified approach to UI, media Increase Developer-Designer and documents• to deliver unmatched UX 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 Form Window PD s/ s Forms F GDI+

Windo ws Media Player

D ire ct WP 3D F

Graphical interface, e.g., forms and controls On-screen documents Fixed-format documents Images

X

 

 

 

 

X

X

 

 

 

 

X

 

X

 

 

 

X

 

 

X

 

 

X

Video and audio

 

 

 

X

 

X

Two-dimensional graphics Three-dimensional graphics

 

 

X

 

 

X

 

 

 

 

X

X

 

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 multicolumn documents, including annotations.

XMAL a Great Benefit over Binary File

Designer-Developer Productivity • • •

Designers design

Microsoft Tools for Designers & Developers

With XAML designers & Declarative Programming through XAML developers can streamline their Third Partycollaboration Tools (e.g. Aurora by Mobiform, ZAM 3D by ElectricDevelopers Rain) add business logic

Declarative Programming Through XAML XAML = Extensible Application Markup •Easily toolable, declarative markup Language •Code and content are separate •Can be rendered in the browser / standalone application

XAML <Button Width="100"> OK <Button.Background> LightBlue

C# Button b1 = new Button(); b1.Content = "OK"; b1.Background = new SolidColorBrush(Colors.LightBlue ); b1.Width = 100;

VB.NET Dim b1 As New Button b1.Content = "OK" b1.Background = New _ SolidColorBrush(Colors.LightBlue ) 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

workflow

state machine

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 SingleCall Singleton Objects Sever-

SingleCal l Object

Activated Objects

Singleton Object

Create (7)

Client 1 Activation

7 7

Client

GetVal() SAO SOA 1 Client-Activated 42 2

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

Thanks Address: Prabhjot Singh Bakshi 9825846839 Bindings: www.bspinfo.com [email protected] [email protected] Contract: The Growth

Related Documents

For Gandhinagar -
November 2019 12
Gandhinagar Green Map
November 2019 10
For
June 2020 21
For
October 2019 42
For
May 2020 28
For
December 2019 40