ASP.Net MVC on Windows Azure | ASP.Net MVC Web Role

23 במאי 2009

ASP.Net MVC on Windows Azure | ASP.Net MVC Web Role When you install Windows Azure Tools for Visual Studio, you only get a project template for an ASP.Net Web Role. In this post I’ll talk about how to create a new ASP.Net MVC Web Role or move an existing ASP.Net MVC Application to Windows Azure. There are 2 ways to do this: Manually adding an ASP.Net MVC application as a Web Role (suitable both for a new ASP.Net MVC application and for an existing one). ...
one comment

Visual Studio 2010 and .Net Framework 4.0 Beta 1 Is Publically Available

21 במאי 2009

Visual Studio 2010 and .Net Framework 4.0 Beta 1 Is Publically Available Downloads Video: How to Download and Install the Beta .NET Framework 4 Beta 1 Visual Studio Team System 2010 Team Suite Beta 1  Visual Studio 2010 Professional Beta 1 Visual Studio Team Foundation Server 2010 Beta 1 Training and Resources Visual Studio 2010 and .NET Framework 4 Training Kit - May Preview What's New in...

WF/WCF using Visual Studio 2010 and .NET Framework 4 Training Kit

19 במאי 2009

WF/WCF using Visual Studio 2010 and .NET Framework 4 Training Kit    The Microsoft WF/WCF using Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of WF and WCF new features. Learn basic workflow creation, hosting and running , and test-drive workflow development. Get an introduction to workflow services, communication between workflows and content based correlation of workflow instances. ...
no comments

WF 4.0: Long Running Custom Activities with Bookmarks and NativeActivity

WF 4.0: Long Running Custom Activities with Bookmarks and NativeActivity This is another post in my WF 4.0: Custom Activities series. In a previous post I have talked about creating a code only custom activity that performs a simple task. In this post I’ll talk about creating a more complex activities that takes inputs from the calling program during their execution. In the previous post WF 4.0: Code Only Custom Activities for Atomic Actions | CodeActivity, CodeActivity<T> I implemented the following activity for reading a string from the console. public class ReadString2 : CodeActivity<string> {   protected override void Execute(CodeActivityContext context)   {     string value...

WF 4.0: Code Only Custom Activities for Atomic Actions | CodeActivity, CodeActivity<T>

WF 4.0: Code Only Custom Activities for Atomic Actions | CodeActivity, CodeActivity<T> This is another post in my WF 4.0: Custom Activities series. In this post I’ll talk about creating a code only custom activity that performs a simple task. I’ll also use input and output parameters and talk about activities that returns a single value. A Simple Code Activity Lets start by building a simple activity that outputs a certain string to the console. To to that, lets add a new item of type Workflow Element (under the Workflow node in the item...

WF 4.0: How to Execute a Worklflow (WorkflowInvoker vs WorkflowInstance)

WF 4.0: How to Execute a Worklflow (WorkflowInvoker vs WorkflowInstance) Note: This post is based on Visual Studio 2010 Beta 1 which is the latest version available in the time of writing this post, so by the time this technology ships, there are probably things that will be slight different. There are two ways to execute a workflow: Using the WorkflowInstance class Using the WorkflowInvoker class Execute Workflows using WorkflowInstace When you create a new Sequential Workflow Console Application, Visual Studio creates the...

WF 4.0: Building a Hello World Sequential Workflow

WF 4.0: Building a Hello World Sequential Workflow Note: This post is based on Visual Studio 2010 Beta 1 which is the latest version available in the time of writing this post, so by the time this technology ships, there are probably things that will be slight different. Start Visual Studio 2010 Beta 1 and create a new Sequential Workflow Console Application. After you click OK, visual studio creates the new projects and creates a new WF project, in which there are some things you should know about: References: ...
no comments

XAML in .Net 4.0: Attached Properties, IAttachedPropertyStore and AttachablePropertyServices

18 במאי 2009

XAML in .Net 4.0: Attached Properties, IAttachedPropertyStore and AttachablePropertyServices  Note: This post is based on Visual Studio 2010 Beta 1 which is the latest version available in the time of writing this post, so by the time this technology ships, there are probably things that will be slight different. In a previous post I’ve talked about XAML Serialization and Deserialization using XamlServices in .Net Framework 4.0. In this post I’ll add to my data classes support for Attached Properties, so that they will be extensible during serialization. Implement System.Xaml.IAttachedPropertyStore interface This...
no comments

XAML in .Net 4.0: Serialization and Deserialization using XamlServices

XAML in .Net 4.0: Serialization and Deserialization using XamlServices Note: This post is based on Visual Studio 2010 Beta 1 which is the latest version available in the time of writing this post, so by the time this technology ships, there are probably things that will be slight different. In order to serialize and deserialize using XAML in .Net Framework 4.0 we have to reference a new assembly called System.Xaml.dll. Since XAML was originally used only in WPF, some features are dependent on classes that are inside WindowsBase.dll. Serialize to Xaml with XamlServices...