July 2006 - Posts
Sandcastle is the codename for Microsoft’s NDoc like documentation compiler. It is a Visual Stuidio Add In, that enables managed class library developers to easily create accurate, informative documentation with a common look and feel, very similar to the MSDN documentation.
Sandcastle Overview:
· Produces quality, comprehensive, familiar MSDN-like documentation.
· Works with or without authored comments.
· Supports Generics and .NET Framework 2.0
· Sandcastle has 2 main components (MrefBuilder and Build Assembler)
· MrefBuilder generates reflection xml file for Build Assembler
· Build Assembler includes syntax generation, transformation..etc
· Sandcastle is used internally to build .Net Framework documentation.
Here is a link to a presentation about Sandcastle.
Here is a like to the Sandcastle CTP downloaded.
After inslatting Sandcastle, click here to create a sample CHM build.
Enjoy!
The Web Service Service Factory is a collection of guidance to help you build applications of a service-oriented applications that expose an ASMX web service interface and provide security and business rules over a database.
This is the basic architecture and scope of the Service Factory:
.gif)
The factory itself is a combination of several forms of guidance:
- Written documentation, including architecture overviews, patterns and step-by-step guidance on how to build applications within the specified architecture
- Guidance packages, built using the Guidance Automation Toolkit, which automate many development tasks, including creating service contracts, translating between different entity types, generating stored procedures and creating data access logic classes
- Reference implementation, which is a made-up but realistic sample application which shows what type of services you can build with the factory.
Read more about Web Services Software Factory here.
Download the release of the Service Factory from here.
Download the Hands On Labs from here.
Enjoy!
The Microsoft Federal Government DPE Team has published some nice WCF workshops. They are easy to follow and very useful.
Visit the workshops home here.
Enjoy!
I got myself a new web site, with a private domain and email address. Visit my site at: www.bursteg.net.
Visit www.officelive.com at get:
- FREE Web site
-
FREE domain name (e.g., www.northwindtraders.com)
-
FREE Web site design tools
-
FREE company-branded e-mail accounts (e.g., jsmith@northwindtraders.com)
-
FREE Web site traffic reports
-
FREE practical online applications to manage the key areas of your business
-
FREE Shared Sites: smart online places where you can organize and share information
Notice: Registration requires a credit card information, but only to ensure that you're an adult.
Enjoy!
If you're getting started with Windows Workflow, and you want to get to know all the base activity library, I suggest that you start with this article. I found it very useful.
Read it here...
Enjoy!
|
4 Weeks from now, I will attend the Devscovery conference at Redmond, with Jeffrey Richter, Jeff Prosise, John Robbins and Justin Smith. The conference is about Atlas, WPF, WCF, security, .Net Framework Debugging and more...
Looking forward to it!
Does someone want something from the Duty Free? |
Many forces are involved with architecture, but the fundamental principles that govern all architectures are simple: it’s easy, it works, it’s familiar, and it can be trusted.
The purpose of this book is to let you form your own opinions about the impact of
services orientation on your business and computing environments. This book is not trying to be an authoritative reference for service orientation. Rather, presented here is an interesting set of classical papers on architecting services by a variety of well-known authors in the architectural space. The topics, or architectural viewpoints covered, go from a perspective on business architecture, through model-based tools, to map from the business to technology to the choices in new IT infrastructure.
Download the book from here...
Enjoy!
Windows Workflow Foundation provides a rich set of features to support powerful fault handling, robust Atomic and long-running transactions, and flexible compensation support for failed transactions.
Causing an Exception
There are several ways to generate an exception:
· A transaction time-out.
· An exception thrown by the workflow using the ThrowActivity activity.
· A .NET Framework exception thrown from the developer code handlers of the CodeActivity or code-beside of custom activities.
· An exception thrown from external code, such as libraries or components that are used in the workflow (Persistence failure).
Fault Handling
Fault handling in Windows Workflow Foundation refers to the handling of exceptions in an asynchronous manner. This means that exceptions that are thrown in an activity (explicitly or implicitly) are caught by the workflow runtime engine and then scheduled to be handled at a later time. This differs from normal exception handling in that if an exception is thrown in a try block, it is either caught by the appropriate catch exception block, or it is thrown to the user immediately.
The activity that threw the exception cannot handle it. The exception is transferred up the workflow hierarchy until it is either handled, or the workflow instance is terminated by the workflow runtime engine. When the exception is handled inside the workflow, the handling section goal is to do the partial and unsuccessful work of the activity in which an exception has occurred.
To handle an exception in a workflow, use the FaultHandlerActivity, and a set the type of the exception it handles (Similar to catch exception block). This activity is a composite activity and can contain a sequence of activities to execute in case that the exception has occurred.
All FaultHandlers are childs of a FaultHandlersActivity.

Compensation vs. Fault Handling
A typical scenario for compensation handling would be when an activity successfully completes, but an exception is thrown in another activity later in the workflow. Different than Fault Handling, we now want to cancel the completed work and not to undo any partial and unsuccessful work of the activity in which an exception has occurred.
The triggering of a compensation block is done by the workflow designer, and not only by the workflow runtime. This is done using the CompensateActivity.
What's an Entity Framework, you ask? Well, watch and learn all about this new ADO.NET development framework/paradigm. For all the developers out there, you'll be quite pleased with the architectural direction ADO has taken.
Watch the new Channel 9 episode about the ADO.NET Entity Framework here.
Enjoy!
Windows CardSpace enables users to provide their digital identities in a familiar, secure and easy way. In the physical world we use business cards, credit cards and membership cards.
What is the Sandbox?
The Sandbox is an area of the NetFx3.com site that has been designed to demonstrate the use of Windows CardSpace. This site provides the ability to login using a username and password and been customized to also use Windows CardSpace for authentication.
On the Sandbox site you can:

Come see the SandBox here..
Enjoy!
The July CTP release of the Windows SDK and .NET Framework 3.0 are live on the web at these URLs:
Microsoft Pre-Release Software Microsoft .NET Framework 3.0 - July 2006 CTP
Microsoft Windows SDK for July CTP ISO Image
Microsoft Windows SDK for July CTP
Microsoft® Visual Studio® 2005 Extensions for Windows Workflow Foundation - RC4 version of Visual Studio 2005 Extensions for Windows Workflow
If you're a little confused, and cannot determine which SDK CTP is right for you, read Tom Archer's blog post about that...
Enjoy!
Following my previous post about the next version of ADO.Net, the ADO.Net has published 2 screen casts that describes the new features, and demonstrates the developer experience of using them.
You can access the screencasts from the following locations: Part 1 , Part 2.
Enjoy!
Windows Communication Foundation provides message confidentiality, integrity, and authentication over many different bindings, with the vast majority of the bindings. Keith Brown has published an article as part of August MSDN Magazine that introduces some security features and illustrates some of the basic choices you'll need to make when deciding how to secure services that you write.
Read it here.
When working with WCF you can choose to work with XML directly or you can use the built-in serialization techniques such as DataContractSerializer or XmlSerializer. Aaron Skonnard has published a new article about WCF Serialization in August MSDN Magazine that makes the choice between those serialization techniques a little easier.
Read it here.
More Posts
Next page »