Welcome to MSDN Blogs Sign in | Join | Help

ADO.NET Data Services 的Self-Hosting例子(.NET 3.5 SP1)

之前有写一篇关于ADO.NET Data Services hosting在一个控制台程序中的做法。
详细见--ADO.NET Data Services 的Self-Hosting实例
http://blogs.msdn.com/ccboy/archive/2008/01/12/ado-net-data-services-self-hosting.aspx
今天找了一下,发现原来的代码找不到,于是重新尝试了一下,看看.NET 3.5 SP1之后是否有变化。

ADO.NET Data Services逐渐成为一个非常不错的工具和武器,它完美的和ADO.NET Entity Framework结合,可以说很大程度弥补了EF目前分布式开发的短板,同时Data Services本身也成功的削弱了WCF原来基于SOAP的组件通信的沉重,可以说利用了WCF最好的部分。

例子分为测试了两种情况,一种是使用WCF配置文件的方式;一种是不需要配置文件的方式。
当baseAddress 参数传空,系统会默认是使用配置文件的方式。

image

另外例子尝试使用自定义的数据源,即非ADO.NET EF和 SQL To LINQ的方式。

例子可以在这里下载:
http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=ccBoy&ReleaseId=1391

下面的信息是非常有用的
Data Service Host (ADO.NET Data Services Framework)
http://msdn.microsoft.com/en-us/library/cc668805.aspx

NET Framework Class Library--WebServiceHost Class
http://msdn.microsoft.com/en-us/library/system.servicemodel.web.webservicehost.aspx

more information ...about VS2008 SP1 and .NET FX 3.5 SP1

ScottGu's - Visual Studio 2008 and .NET Framework 3.5 Service Pack 1 Beta
http://weblogs.asp.net/scottgu/archive/2008/05/12/visual-studio-2008-and-net-framework-3-5-service-pack-1-beta.aspx

What's New in the SP1 Beta? - ADO.NET and Entity Framework
http://blogs.msdn.com/adonet/archive/2008/05/12/what-s-new-in-the-sp1-beta.aspx

ADO.NET Entity Framework --MSDN 文档
http://vs2008sp1docs.msdn.microsoft.com/en-us/ms439009.aspx

Visual Studio 2008 and .NET Framework 3.5 Service Pack 1 Beta
http://weblogs.asp.net/scottgu/archive/2008/05/12/visual-studio-2008-and-net-framework-3-5-service-pack-1-beta.aspx

ADO.NET Entity Framework Query Samples
http://code.msdn.microsoft.com/EFQuerySamples/Release/ProjectReleases.aspx?ReleaseId=1013

ADO.NET Data Services Framework Beta 1 is Live! (Project Astoria)
http://blogs.msdn.com/astoriateam/archive/2008/05/12/ado-net-data-services-framework-beta-1-is-live.aspx

ADO Data Service AJAX Client
http://www.codeplex.com/aspnet
http://www.codeplex.com/aspnet/Wiki/View.aspx?title=AJAX

Brad Abrams-Visual Studio 2008 and .NET Framework 3.5 "SP1" Beta
http://blogs.msdn.com/brada/archive/2008/05/05/visual-studio-2008-and-net-framework-3-5-sp1-beta.aspx

ASP.NET Dynamic Data Preview
http://code.msdn.microsoft.com/dynamicdata

.NET 3.5 Enhancements Training Kit --updated to work with Visual Studio 2008 SP1 & .NET 3.5 SP1 Beta 1!
http://download.microsoft.com/download/9/5/5/95586df3-dd73-4a90-9bdf-a10f3cd6a254/.NET%20Framework%203.5%20Enhancements%20Training%20Kit-20080511.exe

.NET FX 3.5 sp1 with ADO.NET Entity Framework

Microsoft .NET Framework 3.5 Service pack 1 Beta
http://www.microsoft.com/downloads/details.aspx?FamilyId=23516C63-2DB2-4E7F-AABA-32B12D6E025C&displaylang=en

Microsoft Visual Studio 2008 Service Pack 1 Beta
http://www.microsoft.com/downloads/details.aspx?FamilyId=CF99C752-1391-4BC3-BABC-86BC0B9E8E5A&displaylang=en

NET Framework 3.5 Service Pack 1 Beta and Expression Blend
http://blogs.msdn.com/expression/archive/2008/04/18/vs2008sp1.aspx

Posted by ccBoy | 0 Comments
Filed under:

PowerCommands 1.1

如果你已经习惯了Coderush或Refactor! Pro的复杂和庞大,到时可以尝试一下 PowerCommands 1.1 for Visual Studio 2008
1.1版本包括下面的功能:

Enable/Disable PowerCommands in Options dialog
This feature allows you to select which commands to enable in the Visual Studio IDE. Point to the Tools menu, then click Options. Expand the PowerCommands options, then click Commands. Check the commands you would like to enable.
Note: All power commands are initially defaulted Enabled.
Format document on save / Remove and Sort Usings on save
The Format document on save option formats the tabs, spaces, and so on of the document being saved. It is equivalent to pointing to the Edit menu, clicking Advanced, and then clicking Format Document. The Remove and sort usings option removes unused using statements and sorts the remaining using statements in the document being saved.
Note: The Remove and sort usings option is only available for C# documents.
Note: Format document on save and Remove and sort usings both are initially defaulted OFF.
Clear All Panes
This command clears all output panes. It can be executed from the button on the toolbar of the Output window.
Copy Path
This command copies the full path of the currently selected item to the clipboard. It can be executed by right-clicking one of these nodes in the Solution Explorer:
The solution node; A project node; Any project item node; Any folder.
Email CodeSnippet
To email the lines of text you select in the code editor, right-click anywhere in the editor and then click Email CodeSnippet.
Insert Guid Attribute
This command adds a Guid attribute to a selected class. From the code editor, right-click anywhere within the class definition, then click Insert Guid Attribute.
Show All Files
This command shows the hidden files in all projects displayed in the Solution Explorer when the solution node is selected. It enhances the Show All Files button, which normally shows only the hidden files in the selected project node.
Undo Close
This command reopens a closed document , returning the cursor to its last position. To reopen the most recently closed document, point to the Edit menu, then click Undo Close. Alternately, you can use the CtrlShiftZ shortcut.
To reopen any other recently closed document, point to the View menu, click Other Windows, and then click Undo Close Window. The Undo Close window appears, typically next to the Output window. Double-click any document in the list to reopen it.
Collapse Projects
This command collapses a project or projects in the Solution Explorer starting from the root selected node. Collapsing a project can increase the readability of the solution. This command can be executed from three different places: solution, solution folders and project nodes respectively.
Copy Class
This command copies a selected class entire content to the clipboard, renaming the class. This command is normally followed by a Paste Class command, which renames the class to avoid a compilation error. It can be executed from a single project item or a project item with dependent sub items.
Paste Class
This command pastes a class entire content from the clipboard, renaming the class to avoid a compilation error. This command is normally preceded by a Copy Class command. It can be executed from a project or folder node.
Copy References
This command copies a reference or set of references to the clipboard. It can be executed from the references node, a single reference node or set of reference nodes.
Paste References
This command pastes a reference or set of references from the clipboard. It can be executed from different places depending on the type of project. For CSharp projects it can be executed from the references node. For Visual Basic and Website projects it can be executed from the project node.
Copy As Project Reference
This command copies a project as a project reference to the clipboard. It can be executed from a project node.
Edit Project File
This command opens the MSBuild project file for a selected project inside Visual Studio. It combines the existing Unload Project and Edit Project commands.
Open Containing Folder
This command opens a Windows Explorer window pointing to the physical path of a selected item. It can be executed from a project item node
Open Command Prompt
This command opens a Visual Studio command prompt pointing to the physical path of a selected item. It can be executed from four different places: solution, project, folder and project item nodes respectively.
Unload Projects
This command unloads all projects in a solution. This can be useful in MSBuild scenarios when multiple projects are being edited. This command can be executed from the solution node.
Reload Projects
This command reloads all unloaded projects in a solution. It can be executed from the solution node.
Remove and Sort Usings
This command removes and sort using statements for all classes given a project. It is useful, for example, in removing or organizing the using statements generated by a wizard. This command can be executed from a solution node or a single project node.
Extract Constant
This command creates a constant definition statement for a selected text. Extracting a constant effectively names a literal value, which can improve readability. This command can be executed from the code editor by right-clicking selected text.
Clear Recent File List
This command clears the Visual Studio recent file list. The Clear Recent File List command brings up a Clear File dialog which allows any or all recent files to be selected.
Clear Recent Project List
This command clears the Visual Studio recent project list. The Clear Recent Project List command brings up a Clear File dialog which allows any or all recent projects to be selected.
Transform Templates
This command executes a custom tool with associated text templates items. It can be executed from a DSL project node or a DSL folder node.
Close All
This command closes all documents. It can be executed from a document tab.

 

下载:
http://code.msdn.microsoft.com/PowerCommands

Posted by ccBoy | 1 Comments
Filed under:

Silverlight 2 Beta 1 发布

Microsoft Silverlight Tools Beta 1 for Visual Studio 2008 --silverlight_chainer.exe
http://www.microsoft.com/downloads/details.aspx?FamilyID=e0bae58e-9c0b-4090-a1db-f134d9f095fd&DisplayLang=en

Silverlight 2 Beta 1 runtime:
http://silverlight.dlservice.microsoft.com/download/6/6/3/663404e9-990d-4b74-873c-c4611aea2133/Silverlight.2.0.exe

Silverlight 2 Beta 1 SDK:
http://www.microsoft.com/downloads/details.aspx?FamilyID=4e03409a-77f3-413f-b108-1243c243c4fe&DisplayLang=en

Silverlight 2 Beta 1Controls Source Code:
http://www.microsoft.com/downloads/details.aspx?FamilyID=ea93dd89-3af2-4acb-9cf4-bfe01b3f02d4&DisplayLang=en

Silverlight 2 Beta 1 CHM文档 -39M:
http://www.microsoft.com/downloads/details.aspx?FamilyID=1840cab5-196c-4264-b55d-562242a72625&DisplayLang=en

Silverlight 2 Beta 1 Document online -MSDN 文档
http://msdn2.microsoft.com/en-us/library/bb404700.aspx

Silverlight 2 Beta 1 runtime for Mac OS X:
http://www.microsoft.com/Silverlight/handlers/getSilverlight.ashx?v=2.0&targetplatform=macintel

Expression Blend 2.5 March Preview:
http://www.microsoft.com/downloads/details.aspx?FamilyID=32a3e916-e681-4955-bc9f-cfba49273c7c&DisplayLang=en

ASP.NET 3.5 Extensions Preview (包含MVC Framework Preview2)
http://www.microsoft.com/downloads/details.aspx?FamilyID=a9c6bc06-b894-4b11-8300-35bd2f8fc908&DisplayLang=en

ASP.NET MVC Preview 2 (单独)
http://www.microsoft.com/downloads/details.aspx?FamilyID=38cc4cf1-773a-47e1-8125-ba3369bf54a3&DisplayLang=en

Windows Internet Explorer 8 Beta 1 for Windows Vista and Windows Server 2008
http://www.microsoft.com/downloads/details.aspx?FamilyID=c3c6e8c1-bd91-490b-86f5-f3652dd691de&DisplayLang=en

特别关注 Microsoft Search Server 2008
Search Server 2008 Trial (x86)
http://www.microsoft.com/downloads/details.aspx?FamilyID=5de047e1-0289-4e8e-81de-56bf74ecc89e&DisplayLang=en

Posted by ccBoy | 0 Comments
Filed under:

Entity Framework Toolkits & Extensions

昨天在Daniel的EntityBag Part V – ContexSnapshot Constructing and Applying文章下面询问一个没有发现的函数-CreateOriginalValuesObjectWithReferences,很快他就给出了回复,并且给了一个源代码的项目地址http://code.msdn.microsoft.com/entitybag,非常感谢:)
 然后一看还发现不少EF相关的项目,也许应该说持续增长中吧。

http://code.msdn.microsoft.com/adonetefx 下面有三个小的项目。


eSqlBlast (Entity SQL Tools and Samples Page)
eSqlBlast aids authoring, executing, and visualizing ad-hoc Entity SQL queries against arbitrary EDM models. The tools of the eSqlBlast suite may be used interactively, from the command line, or embedded in other programs. The eSqlBlast suite also contains XSL transformation scripts for rendering CSDL and its own raw XML format.

Perseus: Entity Framework EntityBag Perseus is a small project designed to explore ways for exchanging graphs of Entity Framework entities over WCF web services.

Sample EDMX Code Generator
The goal of the Sample EDMX Code Generator is to provide you with enough insight into how the ADO.NET Entity Designer generates code in Visual Studio and hopefully give you a head start with some sample source code.

Perseus,在有道里查了一下,珀耳修斯:宙斯和达那厄的儿子;希腊神话中的大英雄之一,另外一种解释是,大陵五,英仙座β星,恶魔星英仙座的双星,几乎与北极星一样明亮。

ADO.NET Data Services 的Self-Hosting实例

Fast, simple test app for ADO.NET Data Services
http://blogs.msdn.com/marcelolr/archive/2008/01/02/fast-simple-test-app-for-ado-net-data-services.aspx

Mike Taulty 的Weblog
http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2007/12/19/10028.aspx

以及Christian Weyer的Weblog
http://blogs.thinktecture.com/cweyer/archive/2007/12/11/415057.aspx

都有讨论Astoria ServiceHost在一个控制台的应用中,因为目前版本的Astoria CTP只提供了WebHosting/ASP.NET(模式),当然这非常容易应用在Web开发的环境中,看了他们的Weblog,自己测试了一下,果然是可行的。

 

1.先创建一个控制台的应用(VS2008)
2.增加一个ADO.NET Entity Data Model(或者是加入一个已经创建EDM Lib的项目引用) 创建一个ObjectContext,比如:BlogEntities
3.创建SvcImp的cs文件,实现WebDataService (BlogSvcImp.cs)

using System;
using System.Web;
using System.Collections.Generic;
using System.ServiceModel.Web;
using System.Linq;
using Microsoft.Data.Web;
using BlogModel;

namespace SelfHostSvc
{
    public class BlogSvcSelfHost : WebDataService<BlogEntities>
    {
         public static void InitializeService(IWebDataServiceConfiguration config)
        {
             config.SetResourceContainerAccessRule("*", ResourceContainerRights.AllRead);

            // Example for service operations
            // config.SetServiceOperationAccessRule("MyServiceOperation", ServiceOperationRights.All);
        }

    }
}


4.修改App.config

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.serviceModel>
    <services>
      <service name="SelfHostSvc.BlogSvcSelfHost" behaviorConfiguration="webHttp_SelfHost">
        <host>
          <baseAddresses>
            <add baseAddress="http://localhost:9909/DataServices/SelfHost/BlogSvc"/>
          </baseAddresses>
        </host>
        <endpoint
          address=""
          binding="webHttpBinding"
          contract="Microsoft.Data.Web.IRequestHandler" />
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="webHttp_SelfHost">
          <serviceMetadata httpGetEnabled="True"/>
          <serviceDebug includeExceptionDetailInFaults="False" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>

  <connectionStrings>
    <add name="BlogEntities" connectionString="metadata=.\Blogs.csdl|.\Blogs.ssdl|.\Blogs.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=.\sqlexpress;Initial Catalog=Blog;Integrated Security=True;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>
</configuration>


5.控制台Main应用中增加下面的代码

static void Main(string[] args)
{

     WebServiceHost host = new WebServiceHost(typeof(BlogSvcSelfHost));
     host.Open();

     Console.WriteLine("Service starting....\nPress Enter to exit");
     Console.ReadLine();

     host.Close();

}

之后就可以启动这个控制台应用。在IE浏览器中访问下面的地址

http://localhost:9909/DataServices/SelfHost/BlogSvc

接着可以通过简单的REST命令简单访问服务
http://localhost:9909/DataServices/SelfHost/BlogSvc/Blogs

用下面的链接获得Astoria服务的元数据信息
http://localhost:9909/DataServices/SelfHost/BlogSvc/$metadata

从上面看出,通过控制台的Self-Hosting方式也可以实现Astoria Service,Astoria提供了一个通用的数据服务的架构和基础工具,借助.NET 3.5的WCF功能,你可以更加方便的开发自己的Internet数据服务。

DP 关注之一(2008/01/09)

LINQKit
http://www.albahari.com/nutshell/linqkit.html

 

LINQ Dynamic Query Library
http://weblogs.asp.net/scottgu/archive/2008/01/07/dynamic-linq-part-1-using-the-linq-dynamic-query-library

 

EF FAQ updated - v0.3
http://blogs.msdn.com/dsimmons/archive/2008/01/04/ef-faq-updated-v0-3.aspx

 

.NET - LINQ to SQL : part 1,2,3,4
1.http://www.scip.be/index.php?Page=ArticlesNET02&Lang=EN
2.http://www.scip.be/index.php?Page=ArticlesNET03&Lang=EN
3.http://www.scip.be/index.php?Page=ArticlesNET04&Lang=EN
4.http://www.scip.be/index.php?Page=ArticlesNET10&Lang=EN

 

Performance comparison with Parallel Extensions .NET 3.5
http://www.scip.be/index.php?Page=ArticlesNET08&Lang=EN

 

Multiple extension method with same name on same class
http://www.vikramlakhotia.com/Multiple_extension_method_with_same_name_on_same_class.aspx

 

ADO.NET Data Services - Exposing Arbitrary Data 1,2,3,4
1.http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2008/01/03/10065.aspx
2.http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2008/01/03/10067.aspx
3.http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2008/01/03/10070.aspx
4.http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2008/01/03/10073.aspx

 

Fast, simple test app for ADO.NET Data Services
http://blogs.msdn.com/marcelolr/archive/2008/01/02/fast-simple-test-app-for-ado-net-data-services.aspx

 

ADO.NET Data Services Training Series -1,2,3,4,5,6,7
1. http://lostintangent.com/2007/12/12/adonet-data-services-part-1-services/
1. http://lostintangent.com/2007/12/12/adonet-data-services-part-1-services-contd/
2. http://lostintangent.com/2007/12/13/adonet-data-services-part-2-service-addressing/
3. http://lostintangent.com/2007/12/14/adonet-data-services-part-3-query-parameters/
4. http://lostintangent.com/2007/12/15/adonet-data-services-part-4-clients/
5. http://lostintangent.com/2007/12/17/adonet-data-services-part-5-linq/
6. http://lostintangent.com/2007/12/19/adonet-data-services-part-6-ajax/
7. http://lostintangent.com/2007/12/30/adonet-data-services-part-7-data-modification-client/

 

Getting Started with ADO.NET Data Services
1. http://codebetter.com/blogs/david.hayden/archive/2008/01/08/getting-started-with-ado-net-data-services.aspx
2. http://davidhayden.com/blog/dave/archive/2007/12/15/ASPNETDynamicDataWebsiteGettingStartedRADDataDrivenWebsites.aspx
3. http://davidhayden.com/blog/dave/archive/2007/12/30/ASPNETDynamicDataWebsitesCustomizingPagesValidation.aspx
4. http://davidhayden.com/blog/dave/archive/2008/01/01/ASPNETDynamicDataValidationLINQToSQLOnPropertyChangingPartialMethods.aspx
5. http://davidhayden.com/blog/dave/archive/2008/01/03/CreatingCustomDynamicDataFieldsASPNETDynamicDataWebsites.aspx
6. http://davidhayden.com/blog/dave/archive/2008/01/06/ASPNETDynamicDataTutorialBuddyMetadataProviderCustomMetadataProviders.aspx

 

ADO.Net Data Services: Part 1, 2, 3, 4
1. http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/12/12/ado-net-data-services-part-1-building-a-simple-web-data-service.aspx
2. http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/12/16/ado-net-data-services-part-2-using-service-operations-with-webget.aspx
3. http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/12/20/ado-net-data-services-part-3-querying-a-web-data-service-and-webdatagen-exe.aspx
4. http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/12/20/ado-net-data-services-feedback-datacontextserviceprovider-required-for-linq-to-sql-support.aspx

Posted by ccBoy | 1 Comments

Microsoft ESB Guidance for BizTalk Server 2006 R2

November 2007

Summary

The Microsoft ESB Guidance uses Microsoft BizTalk Server 2006 R2 to support a loosely coupled messaging architecture. BizTalk Server includes a powerful publish/subscribe mechanism for messaging applications that works by creating and filling subscriptions, which provides a highly efficient and scalable platform for service-oriented architecture (SOA) applications.

The Microsoft ESB Guidance extends the functionality of BizTalk Server to provide a range of new capabilities focused on building robust, connected, service-oriented applications that incorporate itinerary-based service invocation for lightweight service composition, dynamic resolution of endpoints and maps, Web service and WS-* integration, fault management and reporting, and integration with third-party SOA governance solutions.

The Microsoft ESB Guidance was developed jointly by the patterns & practices team and the Connected Systems Division.

Resources
Location

Downloads
Microsoft ESB Guidance

Community
Microsoft ESB Guidance Community

License
End User Licensing Agreement (EULA)

Posted by ccBoy | 0 Comments
Filed under:

BizTalk Server 2006 R2 Extensions For Windows Workflow Foundation SDK V1

Just released, the long awaited BizTalk Server 2006 extensions for Windows Workflow Foundation SDK. Use WF modeling and host workflows in BizTalk Server. Note the BTS messaging activities in the image.

Download here English - United States

Quick steps to try it out

1. Start with Windows Server 2003

2. Install BizTalk Server 2006 R2 Trial

3. Install Visual Studio 2005

4. Install this release BizTalk extensions for WF

5. Do the walkthrough included with the release

Background

Customers often ask whether to use BizTalk Server or Windows Workflow Foundation for a process related solution. The answer to use WF when building an application and BizTalk when a server product is required. It’s obvious to us, but we find customers most often asking the question at the start of a project before they have familiarity with either technology. Because the programming model for BizTalk and WF are so different a customer is required to choose at the start of a project.

Kris Horrocks and I have developed a thorough presentation to walk customers through this with specific recommendations. You can view this talk here, with Tech•Ed Credentials. The powerpoint for the talk is here. I am presenting this again at Tech•Ed Developers in Barcelona, Spain next week.

This SDK Sample provides the additional option to avoid the choice by directly allowing a customer to choose both WF and BizTalk. They can also start with WF and upgrade to BizTalk Server 2006 later. I’ve also had lots of interest from existing BizTalk Server developers who are interested in the new programming model in WF.

clip_image002

 

The Release

The first CTP release was on 27th June. It was restricted to customers using connect.microsoft.com who completed a survey on their plans for the sample. Some good data was collected showing the interest from existing BizTalk customers as very strong. The final release is now available publicly.

The release is not supported by customer support services. It is provided as an SDK Sample and includes full source code to the tools.

The Value of the SDK Sample

If you are a WF developer, now is a great time to try out BizTalk Server 2006 as a host. This SDK Sample builds a wrapper orchestration for a workflow and that can be deployed to BizTalk Server. The workflow still executes but inside BizTalk Server and can make use of BizTalks messaging adapters, dehydration, scalability across hosts, management infrastructure, etc.

If you are a BizTalk developer, this provides a way to try out the new workflow programming model without sacrificing the enterprise features of BizTalk Server.

If you are new to process modelling development you can start with WF and then upgrade to BizTalk Server later.

From : Paul Andrew email

Posted by ccBoy | 1 Comments
Filed under:

下一代技术平台-Oslo-- .NET FX 4.0, Biztalk 6, System Center 5,Visual Stuido 10.....

 

What is “Oslo”? What are the product and technology components that will be delivered?

“Oslo” is the latest in a series of long term investments in SOA and BPM technologies, enabling the development of distributed applications. At the conference, we will disclose the targeted investment areas and the associated priorities. These product investments are part of a multi-release investment that will help advance the Dynamic IT initiative – specifically in the areas of ‘services-enabled’ and ‘model-driven’.

There are five primary areas of investment targeted by “Oslo” development efforts:

Framework: The .NET Framework “4” release will make further investments in model-driven development as part of our Windows Communication Foundation (WCF) and Workflow Foundation (WF) technologies. This will be the logical successor to the .NET Framework 3.5 release happening later this calendar year.

Server: This release will continue to evolve our BizTalk family of products as the distributed platform for highly scalable SOA and BPM solutions. BizTalk Server “6” will build deeply on top of both WCF and WF as its core foundation, and deliver the capability to develop, manage and deploy composite applications.

Services: Extending the early BizTalk Services incubation (currently available at labs.biztalk.net), the BizTalk Services “1” release will deliver a commercial release of hosted services that enable cross-organizational composite application scenarios. This includes expanded capabilities around hosted messaging, identity and workflow capabilities.

Tools: These investments will advance the application lifecycle management capabilities of Visual Studio Team System and provide support for an expanded range of roles. Furthermore, Visual Studio “10” will provide deep support for model-driven design and deployment of composite applications.

Repository: There will also be investments aligning the metadata repositories across the Server and Tools product sets. System Center “5”, Visual Studio “10” and BizTalk Server “6” will utilize a common repository technology for managing, versioning, and deploying models.

The Vision: Significantly simplify the effort required to design, build, deploy and manage distributed applications within and across organizations.

从Oslo的Vision来看,这将是一个比较长期和穿越多个产品的技术组合和演进,也再次表明.NET技术和微软的产品从纵向开始交织,试图形成1+1>2的技术力量,更加切实的解决技术和平台如何穿越企业的流程、人员和组织。

另外这也将是一个非常不错的和最领先的视图,可以从中看到微软和.NET产品最新发展的计划和策略。

参考:

http://www.microsoft.com/soa/

Messaging, Workflow Roadmap Announced

image

Posted by ccBoy | 0 Comments
Filed under: ,

ASMX Proxy 比WCF Proxy要简单?


ASMX Proxy没有ServiceContract和Channel stack的概念,ASMX直接使用SoapHttpClientProtocol,SoapHttpClientProtocol则完全是客户端的技术,其是对System.Net的HttpWebRequest的封装。而WCF proxy内部则是一个.NET Remoting的级别的地传输接口,最主要是是因为ASMX是一个“horizontal”的编程模型,更多时支持和实现Web Service的协议,而WCF是一个“Vertical” 的编程模型而,则要考虑和支持用户在客户端可以像在服务器端一样的操作和编程模型。

所以的ASMX Proxy的速度要快,在.NET 3.5中,对WCF优化后,BasicHttpBinding,类似和接近ASMX Proxy的性能,并且Wenlong也说,.NET 3.0 SP也就包含在.NET 3.5中了。

· Reuse the same proxy

· Use proxy that enables caching

· Disabling caching

· Proxy/Channel pooling

 

原文详见:
Performance Improvement for WCF Client Proxy Creation in .NET 3.5 and Best Practices
http://blogs.msdn.com/wenlong/archive/2007/10/27/performance-improvement-of-wcf-client-proxy-creation-and-best-practices.aspx

Posted by ccBoy | 0 Comments
Filed under:
More Posts Next page »
 
Page view tracker