Showing posts with label RIAServices. Show all posts
Showing posts with label RIAServices. Show all posts

Monday, July 08, 2013

RIA has been freed - RIA Services is being open sourced, say hello to "Open RIA Services"

Jeff Handley - RIA Services is Getting Open-Sourced

It’s about time, right‽  In fact, it has been 3 and a half years since I first declared that getting RIA Services open-sourced was my stretch goal. Since then, I’ve seen dozens of forum posts, hundreds of tweets, and over 13,000 page-views for my original declaration.  There was even a time during a LIDNUG call when Scott Guthrie was directly asked what it was going to take to get RIA Services open-sourced.  This has been an important topic to a lot of people for a long time, and I am finally happy to announce it’s happening!

Open RIA Services

Let’s get right to it and cover some salient details:

  1. Microsoft will donate the source code of RIA Services to the Outercurve Foundation under the project name of “Open RIA Services”
  2. We expect to make this code donation later this summer—the legal process has been underway for several months and is nearing completion
  3. Open RIA Services will be submitted into the ASP.NET Open Source Gallery alongside NuGet, Orchard, DotNetOpenAuth, xUnit.net, and others
  4. The source code will be hosted on CodePlex at http://openriaservices.codeplex.com
  5. Colin Blair will be the project lead, and he will be driving the project toward the multi-version project plan he put together, with more information available at http://openriaservices.net/
  6. The Apache 2 license will be applied and the project will accept contributions
  7. Several other community members have voiced interest in contributing to the project and growing it beyond what it’s capable of today
  8. Microsoft will collaborate with the Open RIA Services project to ensure it gets off to a strong start and developers are able to successfully transition if desired

WCF RIA Services

Separately from the open source project, Microsoft will continue to support WCF RIA Services V1.0.  This is the product that shipped in the box with Visual Studio 2010 SP1, Visual Studio 2012, and is also shipping in the box with Visual Studio 2013.  We will service WCF RIA Services to ensure that the product enables you to bring your existing applications forward into new versions of Visual Studio with compile-time Silverlight code generation, as well as the runtime functionality that makes Domain Services tick....

...

Visual Studio 2013

For Visual Studio 2013, we have reduced the design-time capabilities of WCF RIA Services, with the following design-time features being removed:

  1. The “Business Application Project” template
  2. The “Domain Service Class” template/wizard
  3. Toolbox items for the Silverlight designer surface
  4. Data Sources Window integration for the Silverlight designer surface

These feature reductions from Visual Studio 2013 were made with Open RIA Services in mind.  ...

Open RIA Services

This site has been designed to be an interactive and social experience. One thing I have noticed about many open source projects is that there is a certain amount of intimidation. Sometimes you have to join a mailing list, then you have to worry about annoying people with your emails, the fears go on and on. I myself suffer a bit from social anxiety, so I wanted Open RIA Services to have a site that invites everyone to become involved.

I will make a deal with everyone right now at the very beginning of this new open source project. Please send me any question, complaint, suggestion, or pull request that want to give. In return I ask that you understand that while I may not know the answer to your question, agree with your complaint, use your suggestion, or approve your pull request, I did appreciate it.

The roadmap that Jeff mentioned in his announcement is available at the top of the page. Please take a look then visit the forums and start letting me know what you think.

Colin Blair
Project Lead,
Open RIA Services

Open RIA Services is a framework for building rich internet applications (especially line of business applications), providing client/server interaction.  Open RIA Services enables developers to author business logic on the familiar ASP.NET platform and have the same business logic apply on the client.  By providing Unit-of-Work operations and deep validation functionality, developers spend more time focusing on their own application requirements and less time implementing communication protocols between the client and server.

The Open RIA Services framework composes server-side functionality, client-side functionality, and tooling as separate sets of libraries.  The server-side libraries provide prescriptive patterns for business logic classes to communicate with data access libraries and to define the validation rules to apply on both the server and the client.  The client-side libraries provide the underlying capabilities for the application client to communicate with the server, and to build up the unit of work to be sent to the server.  The tooling libraries perform code generation to expose the server-side entities and operations to the client with a rich and domain-specific programming model.

...

Who are you and what have you done with the Microsoft we used to know... :P

The "new" Microsoft continues to impress with its openness and willingness to free and open source their dev projects/frameworks/services.

<snarkycomment>Now if only we'd hear something, anything about the future of Windows Live Writer... Yeah, I know, apples and oranges, but still...</snarkycomment>

Monday, March 07, 2011

Blobs, RIA Services, Images, SQL Server and add a little MVVM and you get Pie! (Okay, no pie, but still something that looks pretty yummy)

Mister Goodcat - Storing images in SQL Server with RIA Services

"In the Silverlight forums people frequently ask for help with storing images in their databases using RIA Services. Even though this looks like a pretty common thing to do, it is far from being straight forward, and searching the web does not seem to produce any good results (or I'm just doing it wrong). So I decided to write this quick walk-through of how to do that. This post describes all steps and possible pitfalls to create a complete application for this from scratch, from the database to the UI.

Table of contents:

  • Preface
  • Setting up the project
  • Creating the model
  • Setting up the image entity
  • Setting up the image data entity
  • Setting up the relation
  • Creating the database
  • Problems with the database generation/rework
  • Creating the domain service
  • Downloading MVVM Light with NuGet
  • Creating a simple client UI
  • Extending the client side model
  • Conversion of the images
  • The view model
  • Loading the available images
  • Loading the selected image's data
  • Deleting images
  • Adding new images
  • Further considerations
  • Potential problems
  • Summary and source code download

...

pagesnap..."

The depth of the book... err...  booklet... article... whatever... (if a post needs a TOC that's a long as the above TOC, is 17 pages printed, I think we can call it a booklet... ;) is what caught my eye. I've not done anything yet with RIA Services, but would like to, so wanted to capture this for future reference. That and image storage in SQL Server is always of interest to me...

Saturday, April 17, 2010

SilverLight 4, RIA Services, MEF and MVVM, oh my… A four part series from the mind of Shawn Wildermuth (updated for VS2010/SL4 RTM)

Shawn Wildermuth - Updated RIA Services + MVVM Example

“A few months I wrote a series of articles on using RIA Services in a structured MVVM application. The article series was more of a thinking-out-loud exercise than a tutorial, but it makes and interesting read. Here are the four parts:

  • Part 1
  • Part 2
  • Part 3
  • Part 4
  • Now that Visual Studio 2010 and Silverlight 4 have RTM'd.  I've updated the example to the latest bits.  You can get it here:

    …”

    Shawn Wildermuth - Architecting Silverlight 4 with RIA Services, MEF and MVVM - Part 1

    “Recently I blogged about Brad Abrams' PDC RIA Services Talk and complained about the data source functionality. While the drag-n-drop ability in RIA Services is interesting, I believe that it may be a bad approach for all but the smallest of projects (or one-off projects). In that comments of that article, I promised to show you how I would architect a Silverlight solution with RIA Services.

    The outcome of that work is a sample that I will cover in a series of blog posts (starting with this one) to explain not only how i'd use RIA Services in Silverlight 4, but also how to solve some of the basic difficulties with those types of architectures. I will be covering how I integrated the Managed Extensibility Framework (MEF) and Laurent Bugnion's MVVM Light Framework to stitch together a loosely coupled Silverlight application.  But let's start with RIA Services.

    image

    …”

    Shawn Wildermuth - Architecting SL4 Applications with RIA Services, MEF and MVVM - Part 2

    “If you've been following this blog, you know that earlier this week I released the first part of the series oon how to architect your Silverlight 4 projects. In this second part, I want to show you how the Managed Extensibility Framework (MEF) can aid in that process.

    …”

    Shawn Wildermuth - Architecting SL4 Applications with RIA Services, MEF and MVVM - Part 3

    “In the first part of this series, I looked at how WCF RIA Services can work in an MVVM architecture. In the second part, I looked at how you could use the Managed Extensibility Framework (MEF) to aid in composing an MVVM application. Now comes the third and last part of the series.  In this part, I will focus on some common problems integrating MVVM and composed user interfaces (that are common to most of these situations, not just using WCF RIA Services). I will show you some refactoring of the MEF design from last article as well as show you how using a framework (I used Laurent Bugnion's MVVM Light framework (v3 Alpha)) can help you smooth out the rough edges of implementing MVVM.

    …”

    Shawn Wildermuth - Architecting SL4 Apps with RIA Services, MEF and MVVM - Part 4 (of 3)

    “Welcome the part 4 of my three-part series on architecting with RIA Services. In the last part of the series, I thought I was done with the example and some of my readers challenged me to help them understand how to handle Add/Delete scenarios. Since I was at it, I figured I should show paging and IsDirty scenarios as well, I decided to make a part four.

    Remember this example is based on my current thoughts, its not dogma. I will change my mind at times and learn from the community (as has even happened during this series).  Hopefully this example can help you think about how the patterns match your current business problems. No tithe, no sermon, no damnation....I promise ;)

    …”

    Shawn’s style is refreshing (i.e. hey, this works for me, and it may work for you too. If not, that’s cool too) and I dig the content. RIA Services is interesting and worth watching (and of course MEF/MVVM rock too  :)