Showing posts with label Windows Workflow Foundation. Show all posts
Showing posts with label Windows Workflow Foundation. Show all posts

Sunday, December 9, 2007

Visual Studio 2008 Training Kit:Building Microsoft Windows Workflow Foundation Enabled Windows Communication Foundation Services in .NET Framework 3.5

The major enhancement to Windows Workflow Foundation (WF) inside the .NET Framework 3.5 is the integration with the Windows Communication Foundation (WCF) in the functionality known as Workflow Services. This session will introduce the reasoning behind wanting to implement services as workflows and exposing workflows as services and then discuss the architectural foundations behind it. This technology was built upon the existing extensibility mechanisms in the framework and allows one to easily consume services as well as create them using WF. This session will introduce the basics of Workflow Services and then proceed to discuss the more advanced scenarios of duplex communication and conversations with multiple parties over the same contract.

Watch the screencast(WMV)

Visual Studio 2008 Training Kit: Connected Application Foundations using WCF, WF, and Windows CardSpace

Windows Communication Foundation (WCF), Windows Workflow Foundation (WF), and Windows CardSpace are powerful technologies for services, workflows, and identity management, respectively. This talk introduces developers to all three technologies, describes how they work, and how to write applications that take advantage of their features. Topics covered include: SOA basics, WCF architecture, WCF bindings, hosting WCF services, WCF behaviors, WF architecture, WF activities, WF hosting, WCF and WF integration, CardSpace basics, and integrating CardSpace into web applications.

Watch the screencast(WMV)

Friday, November 30, 2007

Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition by Andrew Troelsen

Apress has published their latest C# book: Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition
By Andrew Troelsen
ISBN10: 1-59059-884-9
ISBN13: 978-1-59059-884-9
1370 pp.
Published on Nov 2007

Download a sample chapter here: Ch. 01 - The Philosophy of .NET
Download bonus chapters here

Table of contents:

Part 1 Introducing C# and the .NET Platform

CHAPTER 1 The Philosophy of .NET
Understanding the Previous State of Affairs
The .NET Solution
Introducing the Building Blocks of the .NET Platform (the CLR, CTS,
and CLS)
Additional .NET-Aware Programming Languages
An Overview of .NET Assemblies
Understanding the Common Type System
Understanding the Common Language Specification
Understanding the Common Language Runtime
The Assembly/Namespace/Type Distinction
Exploring an Assembly Using ildasm.exe
Exploring an Assembly Using Lutz Roeder’s Reflector
Deploying the .NET Runtime
The Platform-Independent Nature of .NET
Summary

CHAPTER 2 Building C# Applications
The Role of the .NET Framework 3.5 SDK.
Building C# Applications Using csc.exe
Building .NET Applications Using TextPad.
Building .NET Applications Using Notepad++.
Building .NET Applications Using SharpDevelop
Building .NET Applications Using Visual C# 2008 Express..
Building .NET Applications Using Visual Studio 2008.
A Partial Catalog of Additional .NET Development Tools
Summary.

Part 2 Core C# Programming Constructs

CHAPTER 3 Core C# Programming Constructs, Part I
The Anatomy of a Simple C# Program.
An Interesting Aside: Some Additional Members of the System.Environment Class
The System.Console Class.
System Data Types and C# Shorthand Notation
Understanding the System.String Type
Narrowing and Widening Data Type Conversions
C# Iteration Constructs..
Decision Constructs and the Relational/Equality Operators..
Summary

CHAPTER 4 Core C# Programming Constructs, Part II
Methods and Parameter Modifiers..
Understanding Member Overloading
Array Manipulation in C#..
Understanding the Enum Type
Understanding the Structure Type.
Understanding Value Types and Reference Types..
Value and Reference Types: Final Details.
Understanding C# Nullable Types.
Summary

CHAPTER 5 Defining Encapsulated Class Types.
Introducing the C# Class Type
Understanding Class Constructors.
The Role of the this Keyword
Understanding the static Keyword.
Defining the Pillars of OOP
C# Access Modifiers
The First Pillar: C#’s Encapsulation Services
Understanding Constant Data
Understanding Read-Only Fields..
Understanding Partial Types
Documenting C# Source Code via XML..
Visualizing the Fruits of Our Labor.
Summary

CHAPTER 6 Understanding Inheritance and Polymorphism.
The Basic Mechanics of Inheritance
Revising Visual Studio Class Diagrams
The Second Pillar: The Details of Inheritance
Programming for Containment/Delegation
The Third Pillar: C#’s Polymorphic Support
Understanding Base Class/Derived Class Casting Rules
The Master Parent Class: System.Object.
Summary

CHAPTER 7 Understanding Structured Exception Handling
Ode to Errors, Bugs, and Exceptions
The Role of .NET Exception Handling.
The Simplest Possible Example..
Configuring the State of an Exception
System-Level Exceptions (System.SystemException)
Application-Level Exceptions (System.ApplicationException)
Processing Multiple Exceptions..
The Finally Block.
Who Is Throwing What?.
The Result of Unhandled Exceptions
Debugging Unhandled Exceptions Using Visual Studio
Summary

CHAPTER 8 Understanding Object Lifetime
Classes, Objects, and References.
The Basics of Object Lifetime
The Role of Application Roots
Understanding Object Generations..
The System.GC Type
Building Finalizable Objects
Building Disposable Objects
Building Finalizable and Disposable Types.
Summary

Part 3 Advanced C# Programming Constructs
CHAPTER 9 Working with Interfaces
Understanding Interface Types
Defining Custom Interfaces.
Implementing an Interface
Invoking Interface Members at the Object Level..
Interfaces As Parameters.
Interfaces As Return Values
Arrays of Interface Types.
Implementing Interfaces Using Visual Studio 2008.
Resolving Name Clashes via Explicit Interface Implementation
Designing Interface Hierarchies..
Building Enumerable Types (IEnumerable and IEnumerator)
Building Cloneable Objects (ICloneable)..
Building Comparable Objects (IComparable).
Understanding Callback Interfaces..
Summary308

CHAPTER 10 Collections and Generics
The Interfaces of the System.Collections Namespace
The Class Types of System.Collections..
System.Collections.Specialized Namespace.
The Boxing, Unboxing, and System.Object Relationship..
The Issue of Type Safety and Strongly Typed Collections..
The System.Collections.Generic Namespace
Creating Custom Generic Methods..
Creating Generic Structures and Classes.
Creating a Custom Generic Collection
Creating Generic Base Classes
Creating Generic Interfaces.
Summary

CHAPTER 11 Delegates, Events, and Lambdas
Understanding the .NET Delegate Type..
Defining a Delegate in C#.
The System.MulticastDelegate and System.Delegate Base Classes.
The Simplest Possible Delegate Example.
Retrofitting the Car Type with Delegates..
A More Elaborate Delegate Example
Understanding Delegate Covariance
Creating Generic Delegates
Understanding C# Events.
The Generic EventHandler Delegate..
Understanding C# Anonymous Methods..
Understanding Method Group Conversions.
The C# 2008 Lambda Operator..
Summary

CHAPTER 12 Indexers, Operators, and Pointers
Understanding Indexer Methods
Understanding Operator Overloading.
Understanding Custom Type Conversions..
Working with Pointer Types
C# Preprocessor Directives.
Summary414

CHAPTER 13 C# 2008 Language Features
Understanding Implicitly Typed Local Variables
Understanding Automatic Properties
Understanding Extension Methods..
Understanding Partial Methods..
Understanding Object Initializer Syntax..
Understanding Anonymous Types.
Summary

CHAPTER 14 An Introduction to LINQ
Understanding the Role of LINQ..
A First Look at LINQ Query Expressions..
LINQ and Generic Collections
LINQ and Nongeneric Collections..
The Internal Representation of LINQ Query Operators
Investigating the C# LINQ Query Operators.
LINQ Queries: An Island unto Themselves?.
Summary

PART 4 Programming with .NET Assemblies
CHAPTER 15 Introducing .NET Assemblies
Defining Custom Namespaces
The Role of .NET Assemblies
Understanding the Format of a .NET Assembly
Building and Consuming a Single-File Assembly..
Building and Consuming a Multifile Assembly
Understanding Private Assemblies..
Understanding Shared Assemblies.
Consuming a Shared Assembly..
Configuring Shared Assemblies..
Investigating the Internal Composition of the GAC
Understanding Publisher Policy Assemblies
Understanding the Element.
The System.Configuration Namespace
The Machine Configuration File
Summary

CHAPTER 16 Type Reflection, Late Binding, and Attribute-Based Programming
The Necessity of Type Metadata..
Understanding Reflection.
Building a Custom Metadata Viewer
Dynamically Loading Assemblies..
Reflecting on Shared Assemblies..
Understanding Late Binding
Understanding Attributed Programming
Building Custom Attributes
Assembly-Level (and Module-Level) Attributes
Reflecting on Attributes Using Early Binding.
Reflecting on Attributes Using Late Binding
Putting Reflection, Late Binding, and Custom Attributes in Perspective
Building an Extendable Application.
Summary

CHAPTER 17 Processes, AppDomains, and Object Contexts
Reviewing Traditional Win32 Processes..
Interacting with Processes Under the .NET Platform.
Understanding .NET Application Domains.
Understanding Object Context Boundaries.
Summarizing Processes, AppDomains, and Context.
Summary

CHAPTER 18 Building Multithreaded Applications
The Process/AppDomain/Context/Thread Relationship
A Brief Review of the .NET Delegate
The Asynchronous Nature of Delegates
Invoking a Method Asynchronously.
The System.Threading Namespace.
The System.Threading.Thread Class
Programmatically Creating Secondary Threads
The Issue of Concurrency.
Programming with Timer Callbacks.
Understanding the CLR ThreadPool.
The Role of the BackgroundWorker Component
Summary

CHAPTER 19 Understanding CIL and the Role of Dynamic Assemblies
Reflecting on the Nature of CIL Programming
Examining CIL Directives, Attributes, and Opcodes.
Pushing and Popping: The Stack-Based Nature of CIL
Understanding Round-Trip Engineering
Understanding CIL Directives and Attributes.
.NET Base Class Library, C#, and CIL Data Type Mappings.
Defining Type Members in CIL
Examining CIL Opcodes..
Building a .NET Assembly with CIL.
Understanding Dynamic Assemblies
Summary

Part 5 Introducing the .NET Base Class Libraries
CHAPTER 20 File I/O and Isolated Storage
Exploring the System.IO Namespace
The Directory(Info) and File(Info) Types..
Working with the DirectoryInfo Type
Working with the Directory Type..
Working with the DriveInfo Class Type..
Working with the FileInfo Class..
Working with the File Type
The Abstract Stream Class
Working with StreamWriters and StreamReaders..
Working with StringWriters and StringReaders
Working with BinaryWriters and BinaryReaders
Programmatically “Watching” Files.
Performing Asynchronous File I/O.
Understanding the Role of Isolated Storage
A Primer on Code Access Security..
An Overview of Isolated Storage
Obtaining a Store Using IsolatedStorageFile
Isolated Storage in Action: ClickOnce Deployment..
Summary

CHAPTER 21 Introducing Object Serialization
Understanding Object Serialization.
Configuring Objects for Serialization
Choosing a Serialization Formatter.
Serializing Objects Using the BinaryFormatter
Serializing Objects Using the SoapFormatter
Serializing Objects Using the XmlSerializer.
Serializing Collections of Objects..
Customizing the Serialization Process
Summary


CHAPTER 22 ADO.NET Part I: The Connected Layer
A High-Level Definition of ADO.NET.
Understanding ADO.NET Data Providers..
Additional ADO.NET Namespaces.
The Types of the System.Data Namespace
Abstracting Data Providers Using Interfaces.
Creating the AutoLot Database
The ADO.NET Data Provider Factory Model.
Understanding the Connected Layer of ADO.NET
Working with Data Readers
Building a Reusable Data Access Library.
Creating a Console UI–Based Front End..
Asynchronous Data Access Using SqlCommand..
Understanding Database Transactions..
Summary

CHAPTER 23 ADO.NET Part II: The Disconnected Layer
Understanding the Disconnected Layer of ADO.NET.
Understanding the Role of the DataSet..
Working with DataColumns.
Working with DataRows.
Working with DataTables.
Binding DataTable Objects to User Interfaces
Filling DataSet/DataTable Objects Using Data Adapters..
Revisiting AutoLotDAL.dll.
Navigating Multitabled DataSet Objects..
The Data Access Tools of Visual Studio 2008
Decoupling Autogenerated Code from the UI Layer.
Summary

CHAPTER 24 Programming with the LINQ APIs
The Role of LINQ to ADO.NET
Programming with LINQ to DataSet.
Programming with LINQ to SQL..
Generating Entity Classes Using SqlMetal.exe
Building Entity Classes Using Visual Studio 2008
Manipulating XML Documents Using LINQ to XML..
Navigating an In-Memory Document
Summary

CHAPTER 25 Introducing Windows Communication Foundation
A Potpourri of Distributed Computing APIs.
The Role of WCF..
Investigating the Core WCF Assemblies..
The Visual Studio WCF Project Templates..
The Basic Composition of a WCF Application
The ABCs of WCF.
Building a WCF Service..
Hosting the WCF Service..
Building the WCF Client Application.
Using the WCF Service Library Project Template..
Hosting the WCF Service As a Windows Service..
Invoking a Service Asynchronously.
Designing WCF Data Contracts
Summary

CHAPTER 26 Introducing Windows Workflow Foundation
Defining a Business Process
The Building Blocks of WF
WF Assemblies, Namespaces, and Projects
Building a Simple Workflow-Enabled Application
Examining the WF Engine Hosting Code..
Invoking Web Services Within Workflows.
Building a Reusable WF Code Library
A Brief Word Regarding Custom Activities.
Summary

Part 6 Desktop User Interfaces
CHAPTER 27 Programming with Windows Forms
The Windows Forms Namespaces..
Building a Simple Windows Forms Application (IDE-Free)..
The Visual Studio Windows Forms Project Template.
The Anatomy of a Form..
Responding to Mouse Activity
Responding to Keyboard Activity..
Designing Dialog Boxes..
Rendering Graphical Data Using GDI+
Building a Complete Windows Forms Application..
Summary

CHAPTER 28 Introducing Windows Presentation Foundation and XAML
The Motivation Behind WPF
The Various Flavors of WPF Applications..
Investigating the WPF Assemblies.
Building a (XAML-Free) WPF Application..
Additional Details of the Application Type.
Additional Details of the Window Type..
Building a (XAML-Centric) WPF Application
Transforming Markup into a .NET Assembly
Separation of Concerns Using Code-Behind Files.
The Syntax of XAML
Building WPF Applications Using Visual Studio 2008.
Processing XAML at Runtime: SimpleXamlPad.exe.
The Role of Microsoft Expression Blend.
Summary


CHAPTER 29 Programming with WPF Controls
A Survey of the WPF Control Library
Declaring Controls in XAML
Understanding the Role of Dependency Properties.
Understanding Routed Events
Working with Button Types
Working with CheckBoxes and RadioButtons
Working with the ListBox and ComboBox Types..
Working with Text Areas.
Controlling Content Layout Using Panels..
Building a Window’s Frame Using Nested Panels.
Understanding WPF Control Commands.
Understanding the WPF Data-Binding Model
Data Conversion Using IValueConverter.
Binding to Custom Objects
Binding UI Elements to XML Documents.
Summary

CHAPTER 30 WPF 2D Graphical Rendering, Resources, and Themes
The Philosophy of WPF Graphical Rendering Services
Exploring the Shape-Derived Types
Working with WPF Brushes
Working with WPF Pens.
Exploring the Drawing-Derived Types..
The Role of UI Transformations..
Understanding WPF’s Animation Services.
Understanding the WPF Resource System
Defining and Applying Styles for WPF Controls..
Altering a Control’s UI Using Templates.
Summary

Part 7 Building Web Applications with ASP.NET
CHAPTER 31 Building ASP.NET Web Pages
The Role of HTTP.
Understanding Web Applications and Web Servers.
The Role of HTML.
The Role of Client-Side Scripting.
Submitting the Form Data (GET and POST)
Building a Classic ASP Page
Problems with Classic ASP
The ASP.NET Namespaces
The ASP.NET Web Page Code Model
Details of an ASP.NET Website Directory Structure.
The ASP.NET Page Compilation Cycle..
The Inheritance Chain of the Page Type.
Interacting with the Incoming HTTP Request
Interacting with the Outgoing HTTP Response
The Life Cycle of an ASP.NET Web Page.
The Role of the Web.config File..
Summary

CHAPTER 32 ASP.NET Web Controls, Themes, and Master Pages
Understanding the Nature of Web Controls
The System.Web.UI.Control Type.
The System.Web.UI.WebControls.WebControl Type.
Major Categories of ASP.NET Web Controls
Building a Feature-Rich ASP.NET Website
The Role of the Validation Controls
Working with Themes..
Positioning Controls Using HTML Tables.
Summary

CHAPTER 33 ASP.NET State Management Techniques
The Issue of State
ASP.NET State Management Techniques.
Understanding the Role of ASP.NET View State.
The Role of the Global.asax File.
Understanding the Application/Session Distinction.
Working with the Application Cache
Maintaining Session Data
Understanding Cookies.
The Role of the Element.
Understanding the ASP.NET Profile API.
Summary

Part 8 Appendixes
APPENDIX A COM and .NET Interoperability
The Scope of .NET Interoperability.
A Simple Example of .NET to COM Interop
Investigating a .NET Interop Assembly.
Understanding the Runtime Callable Wrapper
The Role of COM IDL.
Using a Type Library to Build an Interop Assembly.
Building a More Elaborate COM Server.
Examining the Interop Assembly.
Understanding COM to .NET Interoperability
The Role of the CCW.
The Role of the .NET Class Interface
Building Your .NET Types
Generating the Type Library and Registering the .NET Types
Examining the Exported Type Information.
Building a Visual Basic 6.0 Test Client
Summary

APPENDIX B Platform-Independent .NET Development with Mono
The Platform-Independent Nature of .NET
Obtaining and Installing Mono.
The Mono Development Tools.
Building .NET Applications with Mono.
Suggestions for Further Study.
Summary

INDEX


Amazon Link: Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition

Tuesday, August 21, 2007

Video: WF and WCF integration in .NET 3.5

Channel 9 has posted their latest WCF Video, from the site:

The technical evangelist for Windows Workflow Foundation, Matt Winkler, took some time to interview the team that worked to create the Workflow Services functionality inside of .NET 3.5. Workflow Service allow a developer to implement a WCF service as a WF workflow, and to expose a WF workflow via a WCF service. Here we meet Pravin Indurkar, the PM of the feature, as well as a host of other team members from the WF-WCF team, including a rare on screen appearance by forum rockstar Tom Lake (who is wearing a legacy bright orange WinFX t-shirt from PDC’05). The interview concludes with a quick tour around building 42 meeting some of the other folks on the team.
For more information on the WF and WCF integration in .NET 3.5, check out Matt’s blog. Also, check out these screencasts:
Creating a Workflow Service in Approximately 60 secondsDynamically Creating Service Contracts using Workflow Services in .NET 3.5Building WCF Services with WF – a 80 minute talk by Pravin given at a training we did here in Redmond.

Listen to the podcast(MP3)
Listen to the podcast(WMA)
Download the Video
Watch the Video

Tuesday, July 3, 2007

Microsoft .NET Framework 3.5 June 2007 Community Technology Preview Released

Brief Description
Microsoft .NET Framework 3.5 contains many new features that are compatible with both .NET Framework 2.0 and .NET Framework 3.0. .NET Framework 3.5 includes servicing for .NET Framework 2.0 and .NET Framework 3.0.

Overview
.NET Framework 3.5 builds incrementally on the new features added in .NET Framework 3.0, for example, Windows Workflow Foundation (WF), Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF) and Windows CardSpace. In addition, .NET Framework 3.5 contains a number of new features in several technology areas. These new features have been added as new assemblies to avoid breaking changes. They include the following:
Deep integration of Language Integrated Query (LINQ) and data awareness. This new feature will let you write code written in LINQ-enabled languages to filter, enumerate, and create projections of several types of SQL data, collections, XML, and DataSets by using the same syntax.
ASP.NET AJAX lets you create more efficient, more interactive, and highly-personalized Web experiences that work across all the most popular browsers.
New Web protocol support for building WCF services including AJAX, JSON, REST, POX, RSS, ATOM, and several new WS-* standards.
Full tooling support for WF, WCF, and WPF, including the new workflow-enabled services technology.
New classes in .NET Framework 3.5 base class library (BCL) address the most common customer requests.

Download it here: http://www.microsoft.com/downloads/details.aspx?FamilyID=e6fd8663-8b77-4649-8d36-3830e18528fa&DisplayLang=en

Tuesday, June 26, 2007

Building WCF (Windows Communication Foundation) Services with WF (Windows Workflow Foundation)

Channel 9 has published their latest screen cast. This one is about Building WCF (Windows Communication Foundation) Services with WF (Windows Workflow Foundation)
From the site:

I often liken WF and WCF to long lost siblings separated at
birth. Almost every customer I talk to wants to use these two technologies
together. In V1, one could certainly use the two together, there was just
some plumbing that had to be written. In Orcas, we aim to take care of
most of that plumbing for you.This is a 75 minute training session given by
Pravin Indurkar, the PM responsible for the feature in Orcas.For more
information, you can check out my blog here. (Orcas WF+WCF features, Dynamically Creating Contracts (Workflow
First Design)
)


Watch the screencast(WMV)

Thursday, June 21, 2007

Podcast: Introducing Acropolis

DotNetRocks published their latest podcast: Introducing Acropolis

Carl and Richard talk with members of the Microsoft Acropolis team at TechEd 2007. Acropolis is a software factory-ish toolset that allows business developers to develop quality line-of-business WPF applications with ease.
http://dotnetrocks.com/default.aspx?showID=252

Sunday, June 17, 2007

Screencast: Introduction to the Windows Workflow Foundation Pageflow sample

Channel 9 has posted their latest screen cast this one deals with Windows Workflow Foundation.
From the site:

Most people think of workflows as a tool to represent and automate back-end
business processes. Back-end business processes normally require some user
interaction but their main purpose is not to drive the user experience or manage
the UI. However, there is a growing type of application that leverages workflow
as a tool to drive the user interaction and drive the user experience of an
interactive process. This type of technology is called page flow.

Last year at TechEd, we showed off some bits we had been working on
internally that were designed to make that possible, the ability to model the
user interaction of an application using workflow. This approach provides
developers the ability to continue managing the complexity of their application
in a structure and scalable manner. It turned out that the code we showed at
TechEd wasn't going to end up in any of the product releases, so the dev team
requested permission to release that code as a sample of how one can implement a
generic navigation framework using WF that can support multiple UI technologies
(i.e. ASP.NET and WPF). This year, I just finished giving a talk showing
this off and talking about how it will be available today!


Watch the screencast(WMV)

Monday, April 2, 2007

Screencast: Windows Workflow Foundation meets Windows PowerShell

Channel9 has a screencast about Windows Workflow Foundation and Windows PowerShell

From the site:
"What happens when 2 of the coolest technologies meet each other?

I saw this demo a few weeks back and just had to get it on the show.

Danny Kim from Full Armor (an MS Partner) shows us what they were able to do using Windows Workflow Foundation and Windows PoweShell to drive IT Operations.

In the demo we use Windows PowerShell to find all our IIS 7 web servers from Active Directory. Then, we create some new sites and populate them with content. All using PowerShell, all driven via Windows Workflow Foundation.

Find out more about what we did from http://www.fullarmor.com and grab the code from http://blogs.msdn.com/daiken "


Link to the screencast: http://channel9.msdn.com/ShowPost.aspx?PostID=295623#295623