First time here? You are looking at the most recent posts. You may also want to check out
older archives.
Please
leave a comment, ask a question and consider
subscribing to the latest posts via RSS or
email. Thank you for visiting!
Advertisement
You are looking at a partial list of posts.
Please
leave a comment, ask a question and consider
subscribing to the latest posts via RSS or
email. Thank you for visiting! Below is a list of entries related to:
riaservices.
My site contains more than just the information below and I'd encourage you to visit the
home page to view
current information as well as other items/categories that might be of interest.
There are 48 entries for the tag
riaservices
A developer asked me this question and while a simple answer, I thought it would be a good quick tip to share for those who may be in similar situations.
The scenario is the classic master-details scenario where perhaps you have a grid of data and when a user selects the row, the details are enabled in a form (or perhaps the child of the element) for editing. Maybe something like this:
See you can see the row clearly selected (note: this is using the default DataGrid styling). But watch what happens when you go to the form to edit:
Notice the focus...
I’m working on a little sample application for music management in Silverlight using WCF RIA Services and some other new Silverlight 4 features. One thing that I wanted to add to the application was the ability to drag an audio file and either lookup the data and/or add a new album/artist/song to the library automatically. Audio formats have a ‘tag’ format known as ID3. It’s a format used for audio file metadata that is used in Windows Media Player, iTunes, and various hardware devices as well. Over the years there has been an evolution of this format, with the...
Remember the final moments of the Scott Guthrie keynote presentation at PDC09? Where Brian Goldfarb came on stage and demonstrated a completed application using a lot of the features of Silverlight 4? Yeah, that Facebook application. Well, it’s here now! The Microsoft Silverlight 4 Beta Client for Facebook has been released as a developer preview sample. In order to use it you must have Silverlight 4 developer builds installed. NOTE: When you run this application you’ll be installing the developer builds of Silverlight. When Silverlight 4 releases, unless you are a...
As we’ve all been guilty, when you see demonstrations of technologies most of the time the data samples show single table solutions. When was the last time you’ve developed a single-table system? :-) Thought so. In RIA Services demonstrations, most of them have been single-table samples as well. So how do you go about retrieving relational data (master/details type) with RIA Services? Here’s an option. I’m using VS2010, Silverlight 4 and the WCF RIA Services preview using the below sample. I’m also using the Chinook sample database which has become one of my favorite simpler relational data samples to...
Happy new year to all! I hope you enjoyed a safe celebration whether that be playing a board game with friends, toasting the new year with some bubbly, throwing things at Ryan Seacrest on TV, or whatever.
Each quarter, new MVP (Microsoft Most Valuable Professional) candidates are awarded. January 2010 is the first awards of the year and so I present the new/moved/re-awarded Silverlight specific MVPs:
Jeff Prosise – If you aren’t subscribed to Jeff’s blog, stop and do so now. It’s filled with some great nuggest that are usually on the advanced ‘how’d he do that’ side...
So you’ve been playing around with Silverlight and WCF RIA Services (the artist formerly known as .NET RIA Services) and you are ready to deploy. You’ve been living in your happy Visual Studio environment, perhaps even relying on the built-in web server (a.k.a. Cassini) to serve up your pages/XAP to test. All has been well, you’ve done your testing and you are ready to publish to your server. You compile one last time and then right-click in Visual Studio on the web project and click Publish. You push to your IIS endpoint or via FTP and the files deploy. Sweet! ...
At PDC09, Glenn Block delivered a great presentation on building extensible RIAs using the Managed Extensibility Framework (FT24 from the PDC09 sessions). Glenn is one of the PMs and face-man for MEF. He’s been traveling all around singing the praises of MEF for .NET developers and gathering feedback along the way. You may remember Glenn from his work with the Prism framework as well. I snagged Glenn at the end of PDC to grab a sound-byte: Glenn has already started a series on MEF in Silverlight starting with the basics and then continuing along deeper. ...
One of the cool features for Silverlight 4 Out-of-browser applications that was announced as a part of the Silverlight 4 beta release is the NotificationWindow class. Most commonly referred to as “toast” these are the little notifications that popup in the system areas of your operating system to provide helpful (and sometimes annoying) information. Any user of Microsoft Outlook no doubt has seen them. They look something like this (Windows system tray area shown here): After reading Corey’s post showing a quick FAQ on customizing the experience of the NotificationWindow, I was drawn to the comment he...
If you’ve been working with Visual Studio 2008, Expression Blend 3 and Silverlight (or WPF) development, you’ve likely used the Open in Expression Blend feature in Visual Studio. This occurs when you right-click on a XAML file in your project/solution and you’ll see that option as long as you have Expression Blend 3 installed.
Well…if you are an eager developer and have installed VS2010 and the Blend Preview for .NET 4, you may have noticed that integration broken.
Problem 1: VS2010 and Blend Preview for .NET 4 on a clean box – NO LINK
You’ve just fired up a new virtual PC or...
Last week, the Silverlight 4 beta release included the Silverlight 4 Tools for Visual Studio 2010. This single installer would perform the following (assuming you had either Visual Studio 2010 or Visual Web Developer Express 2010 already installed: Install a Visual Studio 2010 service pack (KB976272) Install Silverlight 4 Windows developer runtime (4.0.1108.0) Install Silverlight 4 SDK Install WCF RIA Services (November 2009) That is all you really needed. But some may have had an experience afterwards of launching VS2010 and...
Well, PDC09 is over and it was a blast. What a relief it is to finally be able to show the world what the Silverlight team has been working on since Silverlight 3. Based on the feedback at the conference, people are excited to dig into the new bits and start building solutions. As a round-up of resources from PDC, I’m putting some of my favorites here. Video Content For some of the PDC09 key Silverlight sessions, these are what I recommend: CL01 – Microsoft Silverlight 4 Overview (Karen Corby) ...
At the Microsoft Professional Developer (PDC) conference, Scott Guthrie announced the availability of Silverlight 4 Beta. WHAT?! That’s right, we’ve released an early beta of the next version of Silverlight. It’s really amazing to think what the team is accomplishing at the pace they are accomplishing it! Silverlight 3 released just over 3 months ago and here we are with yet another release full of features that our community has been asking for. This beta release is a developer release. This means that this is a preview mostly for developers to understand...
Two SDK libraries have released this week, helping developers integrate Silverlight experiences into their applications. Bing Maps Silverlight Control At TechEd Europe, the Bing Maps team released version 1.0 of the official Bing Maps Silverlight Control! This is a replacement for the previous Virtual Earth Javascript control and provides a great DeepZoom experience for using the mapping platform. Here’s some of the great features for Silverlight developers: Built on Silverlight 3! Designer support for Expression Blend Support for out-of-browser Vector in Pushpin...
Previously I made note of things about the release of Visual Studio 2010 beta 2 with regard to Silverlight development. I’ve gotten a few questions about if people should start using it for Silverlight development. Perhaps I can help provide you with the best information I can to make that decision…so here it goes. Go-live support Visual Studio 2010 and .NET Framework 4 both have “go-live” support as indicated in the license terms (which are available on the VS2010 download). If you have never bothered yourself with previous go-live products at Microsoft you may not understand what that...
One of the cool things I came across the in the October 2009 Silverlight Toolkit release was the addition of drag-n-drop targets for some of the core controls. Now I know you are thinking great, another drag-n-drop useless control?!? and you’d be wrong. I’m talking about things that make it easy to do do things like moving items from one list box to another, without writing code, but with it actually doing what you expect.
Let’s take the simplest example here: ListBox and moving items from one to another. Using Expression Blend I’ve set up my XAML to be like this:
...
Today (19 Oct 2009) the Visual Studio team released the second beta for Visual Studio 2010 to the public. This is a significant milestone for the team and a huge improvement over the previous beta in my opinion as a user. As a developer, you can find out how/when you can download Visual Studio 2010 and .NET Framework 4 beta 2 from here. After installing the tools, one thing you may notice right away is a different look of branding of Visual Studio going forward for now. Gone is the beloved multi-colored infinity looking thing (that’s what I call...
Over time a few people have contacted me about the missing WatermarkedTextbox from Scott Guthrie’s Digg sample for Silverlight he created a while back. I had posted the updated code and binaries for WatermarkedTextbox here for you to use if you wish.
NOTE: Incidentally this is the same code that is actually in the DateTimeTextBox that is included in the Silverlight Toolkit if you just want to use that :-).
After thinking about it though, I decided to take a stab at updating this getting started guide for new developers to Silverlight to incorporate some new features. This isn’t for you...
Just a quick shout-out to congratulate the latest Silverlight MVPs to the program. The Microsoft MVP (Most Valuable Professional) program is a recognition program that is in place to recognize and reward those individuals who have been identified by individuals (peers, Microsoft staff, etc.) as experts in their technology field and global contributors to the technology. As of today (01 OCT 2009) we welcome some new folks to the Silverlight group: Rick Barraza (@rickbarraza)– wicked interactive design/developer with kung-fu XAML skillz Bryant Likes (@bryantlikes)– great contributor to the...
Mithun just posted that the videos are now available online from the Silverlight Firestarter Seattle event. You can view the videos here in WMV form, but I also took a quick stab at putting them together in a playlist using the Silverlight Expression Encoder templates. Here they are: You can click the little icon in the upper right to see the playlist option and to navigate. NOTE: The offline mode doesn’t seem to work and likely because I didn’t populate the playlist option with the sizes of the videos, sorry about that,...
I’m a little late to the game posting information about it, but there is a plethora of Silverlight stuff to do this week in the Seattle/Redmond area this week. Sleepless in Seattle…definitely not – Silverlight in Seattle baby! Allow me to interpret Adam’s vector goods… 14 Sep (tonight!): Jesse Liberty is presenting at the .NET DA user group meeting on .NET RIA Services. 15 Sep: Nerd Dinner!!! Just a casual gathering of people who speak in acronyms and like food. Bellevue Crossroads food court (awesome choices for anyone). ...
Just doing some getting caught up from my holiday recently and I was reminded of a “line of business” application that was completed in Silverlight for the United States Army. It is a bit of a supply chain management application…where the supply is soldiers! This is a pretty cool application that was taken from a full client (Windows Forms) application and brought to Silverlight by ProModel. They specialize in supply and demand issues. Take a look at the interview/demo that Adam Kinney did with Dan Hickman of ProModel. Sure, it would have been cool to have a drill sergeant...
I’ve been doing a lot of asking and listening lately…to you, the Silverlight developers! I’ve received a lot of positive feedback and “thank you for asking” comments and it has been real encouraging. If you haven’t seen some of them, here’s some of my recent inquiries: Do you have a need to convert Flash applications (not just assets, but ActionScript)? How do you prefer to learn Silverlight (and how do you decide on choosing Silverlight)? Are you using the provided Silverlight Toolkit themes in your applications? If you...
A few of us in the Silverlight team have been talking about various things and speculating on how we think the universe works. We’ve been wondering how people best learn at different levels and how they come to decisions on what tools of their trade to use, etc. I had a novel idea – let’s ask them. I’m curious if you might help us stop speculating and get a broad picture of these ideas. If you would, that would be great and help us understand better where we need to fight for prioritization of certain resources. Please forward this along...
One of my colleagues, Corrina, pointed me today to some research her team is conducting on user experience with Visual Studio and Silverlight. From her post today, …that my co-workers on the Visual Studio User Experience Team are doing focused on professional and non-professional web/application developers. The research involves… A short survey A telephone interview to discuss your development experiences A gratuity will be offered to individuals selected to participate in the telephone interview,...
I normally hate short posts – but my friend John Papa put a poll up that I wanted to make sure gets some attention…please provide your opinion on this poll: What kinds of samples would you most like to see in a community Silverlight code sharing site? Help John out shape something useful! tags: silverlight, riaservices, ria, xaml, communityThis work is licensed under a Creative Commons Attribution By license.
While I was at the Silverlight Atlanta Firestarter event I had a chance to meet some great people. One of them was Sergey Barskiy. Sergey was doing a session on deployment and while in the speaker area we were chatting about overall feedback on Silverlight. One of the things he mentioned was what he thought was a bug in Visual Studio Tools for Silverlight. It was around RESX files and the modifier setting (Internal, Public, etc.). More on that later. Sergey was using RESX files for localization. While investigating the bug for him, I realized how many people might not...
When Silverlight 3 launched, we also published several additional application themes for the navigation and business application (for .NET RIA Services) templates. I just uploaded two more themes from one of our designers, Corrina, to the Expression Gallery. There are versions for both navigation application template as well as the .NET RIA Services business application template. Mediterranean Sun (RIA Services): Seeing Sound (RIA Services): Additionally, several fixes were made to the existing templates that some users reported. I also added .NET RIA Services templates for those that were missing based on requests (Retro,...
I have the pleasure of being invited to participate in two Silverlight events coming up soon (one very soon). These are a part of a “firestarter” event that is intended to get you familiar with certain technologies, in this case Silverlight, rather quickly and gain a better understanding for the overall platform offerings. I’m excited to have been invited to participate in both the Atlanta and Seattle events. Silverlight Firestarter Atlanta The first one will be in Atlanta, Georgia on 22-August! It’s been quite some time since I’ve been to Atlanta and I’m very happy to be going...
One of the features that a lot of developers seem to enjoy is the out-of-browser feature in Silverlight. This is the feature that allows you to take your Silverlight application and run it like a desktop application (without some of the trust levels right now). If you aren’t familiar with the feature, take a moment and familiarize yourself with it…here’s some info: Silverlight 3 Out of Browser developer APIs Sample Application Feature overview (from the PM that owns the feature) Now that you have some...
I was talking with a good friend the other day about some feedback about DataForm. It’s great to get raw and honest feedback…that’s where you improve more than ‘it sucks’ type feedback. One of the use cases he felt would be common with the Silverlight DataForm control (available in the Silverlight Toolkit) was the concept of confirming the delete action. I agreed as well that confirming permanent delete actions is a common line-of-business application pattern. It got me thinking about some things… The Problem DataForm is a great control. I love it. It will benefit many developers in...
It’s getting to be that time of year again…PDC!!! For those who may not know, “PDC” is the beloved TLA for Microsoft’s Professional Developer Conference. This is it. The geeks conference. If you are a bit twiddler, this is for you. PDC is where most of the forward-looking stuff is revealed. It is also where certain executives come out for their semi-annual keynote ;-). PDC is in their 14th year! Amazing. The conference, held at the Los Angeles Convention Center from 17-19 NOV (with pre-cons happening on 16-NOV), will be awesome. Learn about new stuff, see things...
I got enough feedback and suggestions that I figured it would be better just to put the code up on CodePlex rather than package zips on my blog :-). Here it is: FloatableWindow project. The latest build I have is up there which incorporates some feedback that I’ve received.
UPDATE: If you like this idea VOTE FOR IT in the Silverlight Toolkit!
Basically the ShowDialog() API operates the same way that ChildWindow.Show() does today. No changes there, popup is used. But when you just want some simple MDI type windows, use Show() which will not use Popup but rather add the elements...
As we’ve noted before, Visual Studio 2008 doesn’t have multi-targeting support for Silverlight development. Generally speaking what this means is that if you install the Silverlight 3 tools, you have a Silverlight 3 development environment with VS2008. True multi-targeting for Silverlight in the IDE will come in Visual Studio 2010 (you can see how that works in this post).
NOTE: Visual Studio 2010 beta 1 (current version available at the time of this writing) does not fully support Silverlight 3 *release version* (also referred to ‘RTM’ or ‘RTW’) development. There are a few things missing in VS10 beta 1 for full...
At last, Silverlight 3 is released! It has been a long road…wait a minute, actually it’s only been 8 months since the last release! Whoa, that’s some wicked supersonic Microsoft time there! Anyhow, we are finally released. A while back I wrote a post on What’s New in Silverlight 3 and it still all applies. I’d encourage you to read that post as well. There are, of course, some subtle changes in a few things from an implementation side of things, but those are all documented in the release. Here’s where you go to get the exhaustive goods. First...
With the Silverlight 3 Tools for Visual Studio, developers get access to the Silverlight Navigation Application template. By default the styles (which are located in the project’s Assets/Styles.xaml file) are really good and neutral for the application layout. Now, keep in mind this is an overall application layout style and not control styles/templates.
In addition to the default look provided by the tools out of the box with Silverlight 3, we’re providing 7 additional application template themes for you to enjoy, extend, whatever. Corrina and team had developed these for the community to consume and we’ve put them up on the...
I was honored to be asked by ComponentArt to participate in a judging panel for their just now released 2009 Summer Silverlight Coding Competition. The grand prize is USD $10,000.
Yes, that’s right: USD $10,000!
ComponentArt is even kicking in 2 runner-up prizes of licensing to their products, which is also a sweet deal! The contest is simple, and you are not required to use ComponentArt controls…in their words:
Applicants are not required to use ComponentArt's products to enter the competition (or as the legal jargon requires us to say: NO PURCHASE NECESSARY). We'll obviously let you use our products...
Today, we posted on the .NET RIA Services forum an updated roadmap for the timing and thoughts around the product offering. What is .NET RIA Services? Microsoft .NET RIA Services simplifies the traditional n-tier application pattern by bringing together the ASP.NET and Silverlight platforms. The RIA Services provides a pattern to write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. It also provides end-to-end support for common tasks such as data validation, authentication and roles by integrating with Silverlight components on the...
If you looked at the updated RIA Services Business Application template which had the authentication built-in, you may have seen the login screen with a little icon next to the password field:
When you hover over this some helpful information displays in tool tip form:
So how did that get there? The power of the data annotations. If you look at your model definition, you can add a DisplayAttribute and provide some additional information. Let’s take a look at a simple example. Here’s the simple model:
...
In a previous post I wanted to call attention to the multi-targeting and design surface improvements for Silverlight developers with Visual Studio 2010 Beta 1. There has been some comments on that post and a few emails and Twitter replies as well with some great follow-up questions. I thought I’d post a sort of what works with what information to help you navigate Betaville as a Silverlight developer. NOTE: We’re talking about Beta technologies here. That means things may not work, that you shouldn’t count on them for production releases at this time, etc. In the ‘release...
Well today was the public release of Visual Studio 2010 Beta 1. It is the first time developers will have the chance to take it for a spin and kick the tires. I wanted to share some information specific for Silverlight developers with regard to Visual Studio 2010 Beta 1. Visual Studio 2010 is the first IDE that will support two key features for Silverlight developers: multi-targeted Silverlight development and editable design surface for Silverlight. The second point also comes with things you might expect (like data binding wizards and dialogs as well – I’m lumping all of that...
We’ve update the .NET RIA Services build for May 2009. The updated May preview can be downloaded here: .NET RIA Services May 2009. You may have to uninstall your previous version before installing this one. What is .NET RIA Services? Microsoft .NET RIA Services simplifies the traditional n-tier application pattern by bringing together the ASP.NET and Silverlight platforms. The RIA Services provides a pattern to write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. It also provides end-to-end support...
I’ll be joining Dan Wahlin and Rob Bagby on 18 May in Phoenix for a Best of MIX event. I’ll be presenting Silverlight 3 and building data-driven line-of-business applications. All demo, all tech, all Visual Studio as my presentation tool :-). Come out and join us for the event! Best of MIX Agenda Monday, May 18, 2009 1:00 PM - 5:00 PM Wells Fargo Conference Center 100 West Washington Street, MAC S4101-017 Phoenix Arizona 85003 What’s New in Silverlight 3? ...
What do you get when you invite 14 companies for 3 1/2 days and throw a bunch of new stuff in their face and ask them to use it? Well, in Wellington, it was called Expression for Art’s Sake. This was a bit of an ‘artist in residency’ program where Microsoft invited some companies to bring their developer and designer staff to this event to learn a little bit about Expression Blend and Silverlight. Coming after WEB09 and ending our Auckland trip with a proper visit to a rugby game (here’s a scrum meeting for you agile developers),...
I’ve just returned this past week from a trip to New Zealand with Arturo Toledo. We were invited to come by Nigel Parker, who if you live in New Zealand and don’t know him…take a moment and subscribe to his site for information about what’s happening in that area. Our first stop in New Zealand was the WEB09 conference, which was organized by John Ballinger. Prior to the actual conference, John managed to get all the speakers together for a reception and then a dinner afterwards. Within those 4 or so hours of time, I’ve met more...
UPDATED: If you found this post via a search, the below information was for Silverlight 3 beta and no longer works in Silverlight 3 release. Click here for an updated tutorial on grouping in the Silverlight DataGrid for Silverlight 3.
I got this question on how do you add grouping to the DataGrid in Silverlight without using the RIA Services ObjectDataSource. Frankly I didn’t know off the top of my head either and I’ve since learned it isn’t obvious. Allow me to explain the steps.
In my simple app I have a static class that supplies some hard-coded data:
1:...
I’ve been playing around with the Silverlight 3 navigation framework some more (thanks for the comments/thoughts on the last post about sharing data). I got a few emails about understanding how the navigation works and people coming up with interesting uses. Let’s take a moment to explore two of these concepts: out-of-browser navigation and controlling your navigation in your app. Navigation Basics If you are using Visual Studio 2008 and the Silverlight 3 tools, you’ll notice that when you choose to create a new project (or perhaps you didn’t notice and this will be new to you) that...
I got an email the other day about if there was a way to pass an object between the navigation pages in Silverlight 3. The scenario was that the developer wanted to use the same data, but represent it visually in different ways. Silverlight 3 introduces a new navigation framework in the runtime making it easier to navigate to different areas of an application and assist in ‘deep linking’ concepts for applications. More resources: Silverlight 3 Navigation Overview Silverlight 3 Navigation URI...
One of the new features in Silverlight 3 is providing an application navigation framework via the Frame and Page controls in the APIs. If you saw my guide to Silverlight 3, you may have seen the section on navigation which describes the functionality and as well has a link to a video tutorial about it.
I wanted to augment that tutorial with some additional information about URI routing, which I think is one of the great features of the framework. You see typically your UriMapper might have a 1:1 mapping and look something like this (note in my sample here I’m...