Showing posts with label Velocity. Show all posts
Showing posts with label Velocity. Show all posts

Saturday, June 07, 2008

LINQ and Entity Framework Posts for 6/5/2008+

Tech•Ed Special: Daily posts during Tech•Ed Developers 2008 and possibly thereafter will be updated top-down during the day

Updated 6/7/2008: See Added and Updated posts below about SQL Server 2008 RC0, LINQ to SQL Partial Classes by Dinesh Kulkarni, LINQ to MSI from Bart De Smet, the Silverlight 2 Beta 2 release by Scott Guthrie, and a welcome extension method for the ObjectContext’s Include() method by Julie Lerman.

Updated 6/6/2008: See Added posts below about Silverlight 2 Beta 2 documentation by John Papa, Velocity by Dare Obasanjo, the JScript Date type by Marcelo Diego Vega, SubSonic progress by Rob Conery, and default values for ASP.NET Dynamic Data by Steve Naughton.

Aghy Moves LINQ4SP (LINQ for SharePoint) Download Site

According to her Important: LINQ4SP site moved! post of June 7, 2008, the new download site is here. I’ll correct the previous posts about LINQ4SP shortly.

Added: 6/7/2008

Julie Lerman Beat Me to a Post about Matthieu Mezil’s Extension to the ObjectContext’s Include() Method

So I’ll just link to Julie’s A better Include method for eager loading in Entity Framework? post of June 6, 2008.

I agree with both Mathieu and Julie that EntitySet and EntityType names as strings in EF is a bummer; his extension method replaces the string with a simple lambda function.

Update: A couple of hours later, Matthieu posted Entity Framework Include with Func next, which extends the preceding syntax to enable adding associated EntitySets to the Include() method:

context.Categories.Include(ca => ca.Products.Include<Products, Order_Details>(p => p.Order_Details).Include<Order_Details, Orders>(od => od.Orders))

Matthieu asks: “Isn’t it cool?”

Yeah, Matthieu, way cool!

Added: 6/7/2008

SQL Server 2008 RCO Available to MSDN and TechNet Subscribers

The Platform Insiders blog’s SQL Server 2008 RC0 now available for subscribers post of June 7, 2008 announces:

SQL Server 2008 RC0 has been made available for early download by MSDN and TechNet Plus subscribers. RC0 is the final step before SQL Server 2008 RTMs in Q3 of this year. After logging into their respective accounts, subscribers can view Product Keys and download SQL Server 2008 RC0 from the following links:

According to the Data Platform Insider's SQL Server 2008 RC0 Available for Everyone post of June 10, 2008, Bob Muglia announced at Tech*Ed that everyone can download the RC0 and it's Wha'ts New notes from:

  • Download SQL Server 2008 RC0
  • What's new in SQL Server 2008
  • Added: 6/7/2008 Updated: 6/10/2008

    Dinesh Kulkarni Recommends When to Use and How to add LINQ to SQL Partial Entity Classes

    His LINQ to SQL Tips 8: How to (and why) create a partial class in the designer to augment generated code. He also offers this tip about autogenerating a partial class for an entity:

    Right click on the design surface and click "View code" (don't ask me why that name was chosen for creating a new partial class). If I do that for Northwind.dbml (file opened in the designer), I get a Northwind.cs at a peer to Northwind.designer.cs.

    That’s a new one for me; thanks Dinesh.

    Added: 6/7/2008

    Bart De Smet Introduces LINQ to MSI

    Bart’s LINQ to MSI - Part 0 – Introduction of June 6, 2008 starts a series on the development of a LINQ to MSI implementation that doesn’t use the IQuerable interface. As Bart says, “MSIs are just little databases.”

    Added: 6/7/2008

    Danny Simmons Updates Entity Framework FAQ to v0.6

    Following are links to the updated and new topics in v0.6:

    Added: 6/6/2008

    Matt Berseth Offers Upgraded Grouping Grid Skins for an ASP.NET ListView Control and the LinqDataSource or EntityDataSource

    Ace server and AJAX control developer Matt Berseth has reskinned his grouping grid with CSS only as described in his 4 New Grouping Grid Skins: Vista, Bold, Win2k3 and Soft post of June 5, 2008. Here’s the Vista version:

    You can run a live demo here in Matt’s new ASP.NET Grouping Gallery.

    I haven’t tested the list control with the EntityDataSource, but I believe it should bind with little or no modification.

    Added: 6/6/2008

    David Sceppa Reports on Chalk Talk for Entity Framework Provider Writers

    Dave’s Entity Framework Provider Updates post of June 5, 2008 reports:

    The theater was so full with attendees that we ran out of seats. Representatives from DataDirect, IBM, Oracle and Sybase were in attendance.  Over the course of the chalk talk, we addressed a number of general questions before attendees spoke directly with the representatives from the various provider writers. DataDirect announced that they will release an update to their Oracle ADO.NET provider to support the Entity Framework in Q3 of 2008. Both IBM and Sybase demonstrated their provider's accessing their data stores via the Entity Framework.

    Perhaps Oracle has changed their collective mind and intends again to offer an Entity Framework-enabled version of OracleClient.

    John Papa Delivers a Primer on Silverlight 2 Databinding

    John’s detailed Data and Silverlight 2: Data Binding article dated June 5, 2008 for Red Gate Software’s Simple-Talk site is an excerpt from his forthcoming Silverlight 2 Data Binding book for O’Reilly.

    The Beta 2 data binding enhancements described in this What's new in Silverlight 2 Beta 2? post of June 4, 2008 by Silverlight project manager David Pugmire greatly increase the prospects for the use of Silverlight with line of business forms.

    Added 6/6/2008: John’s Silverlight 2 SDK Beta 2 Documentation post of June 5, 2008 announces that the docs are available here. It’s not at all common for Microsoft to release SDK docs before the corresponding runtime, so I assume we can expect the runtime and SDK with the Go Live license later today.

    Updated 6/7/2008: Sure enough. Scott Guthrie’s Silverlight 2 Beta2 Released post of 6/6/2008 (7:50 PM PST) announces the availability of the download of Microsoft Silverlight Tools Beta 2 for Visual Studio 2008, which installs:

    • Silverlight 2 Beta 2
    • Silverlight 2 SDK Beta 2
    • KB950630 for Visual Studio 2008 RTM or KB950632 for Visual Studio 2008 SP1 Beta
    • Silverlight Tools Beta 2 for Visual Studio 2008

    The preceding bits work with .NET 3.5 SP1 Beta 1.

    Silverlight Tools Beta 2 for Visual Studio 2008 includes:

    • Visual Basic and C# Project templates
    • Intellisense and code generators for XAML
    • Debugging of Silverlight applications
    • Web reference support
    • WCF Templates
    • Team Build and command line build support
    • Integration with Expression Blend
    • Enhanced Setup with upgrade support

    Updated 6/7/2008:John Papa’s What’s New in Silverlight 2 Beta 2 Tools post of June 6, 2008 hightlights these new features from Mike Snow’s detailed and fully illustrated What’s new with Silverlight Tools Beta 2! post:

      • There is much new added support for debug vs release builds of XAP’s. This includes:
      • You can now add a Silverlight 2 ready WCF project from a project template
      • When converting a project from Beta 1 to Beta 2, you will be prompted for conversion confirmation
      • XAML now reports error. Woohoo!!! (yes, I am easily satiated)

    Install Expression Blend 2.5 June 2008 Preview requires a separate installer.

    Updated 6/7/2008:Mike Tulty and Mike Ormond have updated their 52 screencam episodes on Silverlight development. Mike Taulty’s Silverlight 2 Beta 2 Available plus Refreshed Screencasts post of June 7, 2008 has links to the updated player and files.

    Josh Heyse Extends the LinqDataSource to Support a Richer DynamicFilterRepater for ASP.NET Dynamic Data

    Another from the How Did I Miss This? department: Josh, who’s a developer for Catalyst Software Solutions in Chicago, wrote a four-episode series about A Richer DynamicFilterRepeater for ASP.NET Dynamic Data.

    The project grew out of Josh’s desire to use the feature on a new RAD Web site project:

    The project is a short duration web site with fairly standard data entry, searching, and detail views. The Dynamic Data Framework fit the requirements well except that the dynamic searching controls did not have the required features needed for the project. I started investigating how hard it would be [to] add the following search features:

    • Searching ranges (ListPrice > 10 AND ListPrice < 500)
    • Searching in a list of possible values (Class in (‘L’, ‘M’))
    • Partial text searching (Color LIKE ‘B%’)

    Here are links to his initial four posts:

    Josh updated the code to the April 2008 release and added a ColumnContains control with these two posts:

    Josh made the following comment in the ASP.NET Dynamic Data forum about the development time saving gained by using ASP.NET Dynamic Data:

    I believe .. Dynamic Data in conjunction with LINQ-to-SQL reduced our development time by about 40%. [Emphasis added.]

    A nice vote of confidence for this new ASP.NET RAD feature.

    Parallel Extensions Team Produces Two-Part Channel9 Video Series on Parallel Fx

    The deck for the series says:

    Here, we meet some of the key engineers of the Microsoft Parallel Computing Platform (which includes the Parallel Extensions for .NET...): Lead Developer Joe Duffy, Developer Huseyin Yildiz, Developer Igor Ostrovsky, Program Manager Stepehn Toub and Program Manager Ed Essey.

    We dig deeply into a lot of topics related to parallelism and conconcurency and how the new additions to the platform enable developers to exploit multi/many core processors in an elegant way.

    Following are links to the two episodes:

    PLINQ and Parallel Fx Ray Tracing Demos Included in June 2008 Parallel Extensions CTP

    The Parallel Fx June 2008 CTP includes two additional ray tracing sample built on the two original ray tracers developed by Luke Hoban and described in the "Luke Hoban Gets the Most Complex LINQ Query Award (and PLINQ Compatibility)" topic of my LINQ and Entity Framework Posts for 10/2/2007+ post.

    You can read more about the new samples in the Parallel Fx team’s Ray Tracer samples in the June 2008 CTP post of June 5, 2008

    Managed Extensibility Framework for Dependency Injection/IoC CTP Released to Code Gallery

    Here’s how the Code Gallery Home page for the Managed Extensibility Framework describes the June 4, 2008 release:

    The Managed Extensibility Framework (MEF) provides developers with a tool to easily add extensibility to their applications and with minimal impact on existing code. The application developer can define extension points according to the functionality required of an extension, while the extension developer uses those points to interact with the application.

    MEF enables this extensibility to take place without creating a hard dependency in either direction. Applications can be extended at run time without recompilation, and extensions can be used by multiple applications sharing the same extension requirements. MEF also allows an application to delay the loading of an extension while still examining its metadata, enabling efficient traversal of large catalogs of extensions.

    In other words, it’s a Dependency Injection Pattern/Inversion of Control Container for .NET.

    Steve Naughton Provides SQL Server 2005 Versions of His ADO.NET Dynamic Data Attribute-Based Permission Series

    You can download an archive with either SQL Server 2005 or 2008 from Steve’s new Update to Visual Studio 2008 Project Files post of June 5, 2008. The original files required SQL Server 2008.

    Added 6/6/2008: Steve’s DynamicData ForegnKey_Edit Default Values post of June 6, 2008 shows two approaches to providing Insert forms with default values for foreign key values.

    Nithya Sampathkumar Outlines Velocity STP1 Features in New Team Blog

    Nithya’s Project "Velocity" CTP1 Features post of June 4 provides a detailed outline of the capabilities of this new distributed cache framework. You can download the Velocity bits, checkout the new Velocity forum, and get samples from links on the Data Platform Developer Center’s Velocity page.

    The Data Platform group appears to be producing almost all new Microsoft frameworks.

    Updated 6/6/2008: Dare Obasanjo provides a detailed analysis of Velocity in his Velocity: A Distributed In-Memory Cache from Microsoft post of June 6, 2008. Many points he raises apply to the general topic of caching objects in memory, not just distributed caches.

    Marcelo Diego Vega Explains JavaScript Date Type Strangeness

    JavaScript’s Date type combines local and UTC times in a single variable, which confuses many new users of ADO.NET Data Services JSON serialization. Marcelo’s JavaScript Date, UTC and local times post of June 4, 2008 explains how to use JavaScript Date methods, such as toString() and toUTCString().

    Added 6/6/2008: Marcelo’s second post about the JavaScript Date type is JavaScript Date and ADO.NET Data Services of June 6, 2008.

    Rob Conery Close to Completing LINQ to SubSonic

    In his SubSonic: RIP? post of June 4, 2008, Rob says rumors of the death of his SubSonic scaffolding platform for ASP.NET are greatly exaggerated. In fact, the SubSonic 2.1 Release Candidate 1 became available yesterday. Rob goes on to note:

    Today, as a matter of fact, I'm tackling (and hopefully solving) one of the core IQueryable bits that's holding me back from a full Linq To SubSonic implementation. It's not easy, this LINQ stuff, but I'm getting there!

    Rob also makes it plain that SubSonic != ASP.NET Dynamic Data, although he does recognize that the products have a great deal of overlap.

    You can read more about SubSonic here. Like Ruby on Rails, SubSonic uses the ActiveRecord pattern and includes a scaffolding feature.

    Added 6/6/2008: Rob added a very detailed post about SubSonic 2.1’s Migrations feature that mimics Ruby on Rails database schema updater of the same name in SubSonic: Using Migrations of June 5, 2008.

    SharePoint Extensions v1.2 for Visual Studio Available for Download

    Get Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2, which Paul Andrew announced on June 4, 2008. And, if you don’t already have it, download Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions User Guide, Version 1.1 to learn how to use the tools. The VS 2008 version has the same feature set as that for VS 2005.

    SharePoint and its Web Parts are becoming increasingly important as the presentation layer for data-intensive applications. These extensions consist of:

    Tools for developing custom SharePoint applications: Visual Studio project templates for Web Parts, site definitions, and list definitions; and a stand-alone utility program, the SharePoint Solution Generator.

    For fledgling SharePoint developers, there’s a Silverlight-enhanced New Introductory SharePoint web site for .NET Developers that offers a detailed Introduction to SharePoint Products and Technologies for the Professional .NET Developer whitepaper and links to other WSS 3.0 resources. Quickstarts and Screencasts are “coming soon.”

    SQL Server 2008 Plus Other Servers and Tools Get a New Logo

    According to the The Data Platform Insider blog’s New logo for SQL Server® 2008 post of June 5, 2008:

    The Microsoft branding team unveiled an official new logo for SQL Server 2008 at TechEd 2008. The new symbol portion of the logo (officially called "dynamic grid symbol") is part of a larger branding strategy designed to help customers and partners distinguish server products in Microsoft’s overall product portfolio.

    Other members of the Server and Tools Group’s product line will use the same “dynamic grid symbol” in different colors.

    Wednesday, June 04, 2008

    LINQ and Entity Framework Posts for 6/3/2008+

    Tech•Ed Special: Daily posts during Tech•Ed Developers 2008 and possibly thereafter will be updated top-down during the day

    Updated 6/4/2008 for new content and comment added by Frans Bouma about O/RM Persistence Ignorance. See Updated tags below.

    Updated 6/5/2005: Kathy Kam missing URL, link to SharePoint Extensions, Data Dude blog post about IBM DB2, and Sync Framework 1.0 CTP2 added.

    Kathy Kam: Silverlight 2 Beta 2’s Base Class Library will Include LINQ to JSON and Support ADO.NET Data Services

    Kathy says in her Silverlight 2 Beta 2 will be available later this week post of June 3, 2008:

      • Rich Base Class Library: Beta 2 includes improved threading abilities, LINQ-to-JSON, ADO.NET Data Services support, better support for SOAP, and various other improvements to make networking and data handling easier.

    The only LINQ to JSON implementation that I’m aware of is Jason Newton-King’s API that I covered in the “James Newton-King Publishes LINQ to JSON Beta” topic of LINQ and Entity Framework Posts for 2/11/2008+. Here are links to Jason’s announcement post and Json.NET’s CodePlex library.

    Support for ADO.NET Data Services (a.k.a. Astoria) is a very welcome feature, because it implies support for SQL Server Data Services (SSDS) when the SSDS team conforms their protocol to Astoria’s. This is just one more arrow in Astoria’s quiver.

    (Thanks to Tim Anderson for the heads-up.)

    Added: 6/4/2008 Updated 6/5/2008: Added missing URL

    Tim Anderson Finds It Strange that Gates Didn’t Mention Live Mesh in His Keynote

    I do, too, but for a different reason. Tim’s Missing from Bill Gates Tech Ed keynote: Live Mesh post of June 4, 2008 concludes:

    Gates gave a nod to cloud computing as the future … but that was it, it was on to fun robotics. I found this a surprising omission. As I see it, Mesh + Silverlight (plus of course things like SSDS) forms Microsoft’s cloud computing development platform. However, I imagine that like modelling vs software factories this is a matter of debate within the company as well as outside; perhaps we are seeing the Gates view vs the Ozzie view here.

    However, inclusion of SQL Server Data Services in the Trey Research demo indicates to me that BillG isn’t averse to cloud computing, per se. I have the feeling that it’s Web 2.0’s “social computing” element and Live Mesh’s consumerish tenor that he doesn’t like. Bill and Melinda’s fortune was made on business, not consumer, software.

    Here’s a link to the keynote transcript.

    Added: 6/4/2008

    Data Platform Group Delivers the Details of the Trey Research Keynote Demo

    In its 'Beyond Heroes' - Behind the scenes with SQL Server 2008 at TechEd 2008 post of June 4, 2008, the DP Group provides a detailed, illustrated description of the scenario that the Trey Research demo during Bill Gates’ kenote was intended to convey. According to this post, the blog post’s text was uploaded to SQL Server Data Services (SSDS) and the image was synced from the cellphone to SSDS in an operation similar to syncing contact data demonstrated at MIX 08.

    Here’s one of the images from the Windows Communication Foundation (WCF) demo.

    Zach Owens, the demo’s architect, provides more detailed info about the concept in his TechEd 2008 Developers - Data Platform Keynote Demo Architecture post of June 3, 2008.

    Behind the scenes of the Trey Research demo (from Johnny Halife’s Tech Ed North America 2008 from the trenches post of June 5, 2008:

    Added: 6/4/2008  Updated: 6/5/2008

    Mike Taulty Writes QueryInterceptor() and ChangeInterceptor() Code for Authorization of ADO.NET Data Services Actions

    In his Authorising with ADO.NET Data Services post of June 3, 2008, Mike tackles ADO.NET Data Services (Astoria) authorization methods with VS 2008 SP1’s new QueryInterceptor() and ChangeInterceptor() methods. His earlier Authenticating with ADO.NET Data Services post uses .NET Fx 3.5’s Client Applications Services to provide Forms authentication.

    At the end, Mike runs into a corner:

    So far, I've not found any place to centralise this [authorisation] code and hook into the dispatch mechanism that Data Services is using. You might think that it's better to hook into the underlying WCF infrastructure but I suspect that gets a little tricky given that Data Services can accept both batched and non-batched requests which means you'd have to presumably do quite a lot of work at the WCF level just to figure out what the operation and entity sets are whereas Data Services is already doing this work for both batch and non-batched operations.

    So...at the time of writing, I'm still searching for something here. All clues gratefully received :-)

    Added: 6/3/2008 1:00 PM PDT

    Dave Campbell Demos SQL Server Data Services and Entity Framework During Gates Keynotes

    Dave’s demo uses Microsoft Sync Framework as a hub to replicate data between WPF, Web and mobile apps and includes examples of geotagged text and the GEOMETRY, GEOLOGY, and FILESTREAM datatypes. The demo wasn’t clear as to what data was replicated to SQL Server Data Services (SSDS); SSDS doesn’t support these new datatypes, so I assume that the text of a simulated blog post was synced.

    Here’s the timeline:

    • 00:56:15 Start of SQL Server content
    • 00:58:30 Start of SQL Server Data Services (SSDS) content
    • 00:59:32 Start of Entity Framework and Entity Data Model content for “rich WPF app”
    • 01:06:30 End of SQL Server content

    Watch the keynote at Tech•Ed Online: Tech·Ed NA Developers Keynote delivered by Bill Gates

    Added: 6/3/2008 11:00 AM PDT

    Bart De Smet Announces Update to Parallel Extensions (Parallel Fx)

    Bart’s Parallel Extensions to .NET Framework 3.5 June 2008 CTP post of June 2, 2008 lists the following improvements in the June CTP:

    • Improved notion of task hierarchies in the TPL
    • PLINQ now runs on top of the TPL
    • Revised ordering preservation design for PLINQ (AsOrdered)
    • The new LINQ-style Zip operator
    • Coordination Data Structures (CDS) with 10 publicly available types already, including lock-free collection types

    You can download the CTP here.

    Added: 6/3/2008 10:00 AM PDT

    Julie Lerman to Spray Graffiti on Web Pages at Tech*Ed Developer 2008

    Repeated from 6/2/2008: According to her TechEd Ask The Experts: Website Graffiti? Silverlight 2.0 Annotation at the Vista booth post of June 1, 2008, Julie will

    be doing a fun Ask the Experts session at the Windows Vista booth Windows Vista at TechEd Developer 2008 “Ask the Experts” Website Graffiti?  Drawing and Annotation with Silverlight on Tuesday June 3rd 1:00-2:00

    Julie's How hard could it be to get to TechED? post of June 2 illustrates the joys of today's airline travel. She caught a 6 o'clock flight to Orlando Tuesday morning. Read her The "body clock" I didn't know I had post at 5:15 EDT today from Burlington airport.

    Don't miss Julie's session!

    Domain and Pattern All-Stars to Lead Data Programmability Team toward Persistence Ignorance Trophy

    Danny Simmons' DP Advisory Council post of June 2, 2008 announces that the DP Team has hired the following famous folks to create a new Advisory Council:

    Notice that there is not one member of the nHibernate Mafia in the bunch.

    Hopefully, the Advisory Council will prevent a repetition of the PI and Entity Framework fiasco controversy of early 2007 et seq, as reported in Persistence Ignorance Is Bliss, but Is It Missing from the Entity Framework?

    Note: Steve is a member of a Tech•Ed panel discussing a topic dear to my heart: Are we there yet? Successfully navigating the bumpy road from Access to SQL Server. Unfortunately, it’s at the same time as Julie’s “Graffiti” presentation.

    Update 6/4/2008: Be sure to read Frans Bouma’s eloquent comment about whether PI is necessary or even achievable.

    Check out Mike Taulty, Daniel Moth, and Udi Dahan Tech-Talk Video Interviews at Tech•Ed 2008 Developer Online

    Microsoft UK .NET evangelists Mike Taulty and Daniel Moth take on “the top features of Visual Studio & .NET Framework 3.5” and Paul Foster interviews .NET architect Udi Dahan about Udi’s open-source nServiceBus as the first two of a series of Tech-Talks from Tech•Ed Developers 2008.

    Data Programmability Team Announces Distributed Cache for ASP.NET at Tech*Ed

    According to Anil Nori’s Announcing Project Codename "Velocity" post of June 2, 2008:

    Today, Microsoft is announcing the first CTP of a distributed caching product to provide the .NET application platform support for developing highly performant, scalable, and highly available applications. The project code named “Velocity” is a distributed cache that allows any type of data (CLR object, XML document, or binary data) to be cached. “Velocity” fuses large numbers of cache nodes in a cluster into a single unified cache and provides transparent access to cache items from any client connected to the cluster. The Data Platform Developer Center at http://msdn.microsoft.com/data and the Velocity Team Blog at http://blogs.msdn.com/velocity provides additional information about project code named “Velocity” as well as links to download our first CTP.

    Update 6/5/2008: The Velocity Team blog has additional details about Velocity CTP1.

    Silverlight 2 Beta 2, VSTS Database Edition Support for IBM DB2, and New VS 2008 SharePoint Extensions Announced in Gates Keynote 

    “Soma” Somasegar’s June 3, 2008 On stage at the TechEd 2008 keynote post announces:

    • Silverlight 2 beta 2 – This is going to be available later in the week with a commercial Go Live license. Silverlight 2 beta 2 will be used to power the unprecedented online experience NBC Universal is creating for the 2008 Beijing Olympics. To help developers take full advantage of Silverlight, we are also making available Expression Blend 2.5 June 2008 Preview and Microsoft Silverlight Tools Beta 2 for Visual Studio 2008.
    • Working with IBM, we will further simplify application development for enterprise teams working in heterogeneous environments. IBM and Microsoft have agreed to work together to integrate IBM DB2 database access with Visual Studio Team System Database Edition. Update: Gert Draper has a brief blog post (DataDude Goes Multi-Platform) about the demo and relationship with IBM’s DB2 group.
    • Visual Studio 2008 extensions for Windows SharePoint Services 3.0 v1.2 – this allows developers to use Visual Studio 2008 to extend the value of Windows SharePoint Services and Microsoft Office SharePoint Server by providing a simplified development environment. Update: You can download the code and documentation here. LINQ and Entity Framework Posts for 6/5/2008+ has more details about the extensions,
    • Latest CTP of the Microsoft Sync Framework - a comprehensive synchronization platform that enables collaboration and offline scenarios for applications, services and devices. A CTP of the Microsoft Sync Framework for Windows Mobile is now available as is full support for the FeedSync open protocol format. Update: Microsoft Sync Framework v1.0 CTP2 released 3/6/3008 is the latest CTP and the Windows Mobile CTP is expected in 2008Q3.

    Links to these topics will be added when available.

    Update 6/5/2008: Link to SharePoint Extensions, Data Dude blog post, and Sync Framework 1.0 CTP2 added.

    Diego Vega Reports That the Entity Framework Sample Provider Has Been Updated for SP1

    Diego’s June 3, 2008 Entity Framework Sample Provider Updated for SP1 Beta post’s name says it all. If you’re working on an Entity Framework-enabled ADO.NET data provider, you can download the bits for the Sample Provider from this Code Gallery page.

    Added: 6/3/2008 2:00 PM PDT

    Matthieu Mezil Explains How Entity Framework’s ObjectContext.ApplyPropertyChanges() Method Works

    The ObjectContext.ApplyPropertyChanges() is a mystery to many Entity Framework developers and its current documentation isn’t very clear.

    Apply property changes let’s you save changes made to an entity that’s been detached, modified, and then attached to an ObjectContext, such as would occur by invoking a Web service. Matthieu points out that you have two choices for using ApplyPropertyChanges():

      • You use optimistic mode. You keep from the DB the entity with the same EntityKey (using TryGetObjectByKey for example), to be sure that the entity is loaded on the context. Then, you call ApplyPropertyChanges with modified property.
      • You do not use optimistic mode. Remember that the optimitic mode is done per property. You need to use ConcurrencyMode=fixed on EDM for each property to verify before SaveChanges. In this case, you need to keep a copy of your original entity, attach the copy to the context and then call ApplyPropertyChanges.

    Added: 6/3/2008 2:00 PM PDT

    LinqMaster Compares Filtering a File List by Date with C# 2.0 and LINQ

    His How to Use LINQ to Filter a List of Files by Date post of June 3, 2008 demonstrates how LINQ can reduce the number of lines of code required for a typical file system list function.

    Added: 6/3/2008 12:15 AM PDT

    Rob Conery Produces One-Hour Screencast with Jeremy Miller about Dependency Injection for the ASP.NET MVC Storefront

    Rob started his Dependency Injection (DI) adventure with Microsoft’s Unity Application Block but decided to go with Jeremy Miller’s StructureMap DI framework instead. His MVC Storefront: Dependency Injection post of June 2, 2008 provides the basic details but the earlier MVC Storefront: Best Episode Yet Is On It's Way Monday (5/30/2008) sheds more light on the topic.

    Most previous episodes in Rob’s ASP.NET MVC Storefront screencasts have run about 20 minutes, but this one lasts 57 minutes.

    Added: 6/3/2008 11:55 AM PDT

    Scott Tucker Liked My “Manipulate Data in the Cloud” Article but Not the Title

    Scott’s Is Astoria (ADO.NET Data Services) going to be the answer to cloud computer? post of June 3, 2008 says, in part:

    I just read an article on VS Magazine titled Manipulate Data in the Cloud with ADO.NET. After reading I realized that article simply covers Data Services and REST implementation etc but doesn’t really show anything remotely related to cloud. I guess the author forgot the cloud in a cloud :)

    Don’t get me wrong I liked the article but don’t agree with the title.  Sometimes I feel I am the only one pulling my hair looking at some of the new stuff being thrown in by Microsoft.

    I replied in a comment:

    All you need to do to put your data in the cloud with ADO.NET Data Sources (Astoria) is to move it to the other side of the firewall and add authentication and authorization code. The plan is for Astoria to be the on-premises version of SQL Server Data Services.

    The “Live Mesh and LINQ to Mesh Updates” topic of my LINQ and Entity Framework Posts for 5/1/2008+ post explains the forthcoming connections between Astoria, SQL Server Data Services and Live Mesh in the “SSDS and Live Mesh” subtopic.

    Added: 6/3/2008 11:30 AM PDT