Mike Taulty's Blog
Bits and Bytes from Microsoft UK
Silverlight: Product Maintenance Application ( Part 5 – Running the app and thinking about WPF )

Blogs

Mike Taulty's Blog

Elsewhere

Following on from my previous post it’s time to run up the app ( it’s not exactly a visual feast :-) ) and experiment a little with it. I can log in as my user ursula;

image

and she’s presented with “the UI” ( the graph should probably be hidden for users that are not in the viewers role but I’ve left it for now );

image

and then she can search for some data;

image

and get back a bunch of paged data;

image

and then navigate through it;

image

because she’s neither a viewer or editor that’s all she can do and the grid is read-only and the Insert button and the View button on each row of data are disabled. If I log in as veronica who’s both a user and a viewer then the view button is enabled and I can bring up the sales history chart data;

image

and then, finally, if I log in as eric who’s both a user and an editor then the grid becomes enabled as does the Insert button and the Save Changes button (as/when we make any changes) and so I can alter data and submit changes and so on;

image

and that all works out reasonably well apart from my slightly (!) user-unfriendly message which appears if I deliberately cause a concurrency violation in the back-end;

image

I’m not sure you’d really want to give that to a user but it’s perhaps sufficient for what I’m trying to do here.

So…with “an application” that’s largely doing what I want it to, I thought it was time to think about moving to trying to repeat the exercise that I did around the shared-code solution of the Pong game and see if I can manage a shared-code solution for this application.

Time to try to port to WPF…the structure of my solution right now is as below;

image

where 2 of those projects (AuthBits and ProductsMaintenance) are related to the server side bits and nothing to do with client so they shouldn’t have to change to support a WPF client (I hope). I’ll begin a new project for the WPF application itself so I can see that I’ll want WPF versions of the 4 projects Controls, Data, Security, Utilities – I suspect some of these will be more difficult than others because they (e.g.) make use of WCF proxies which I think will have to differ between WPF and Silverlight and there’s also the question of that charting control….


Posted Sun, Jun 14 2009 4:24 AM by mtaulty
Filed under: , ,

Comments

Mike Taulty's Blog wrote Silverlight: Product Maintenance Application ( Part 6 – Porting to WPF )
on Sun, Jun 14 2009 4:39 AM

Following on from this post . As expected, porting my Utilities library to WPF wasn’t too difficult.

Silverlight Product Maintenance Application wrote Silverlight Product Maintenance Application
on Mon, Jun 15 2009 4:21 AM
NewsPeeps wrote Silverlight: Product Maintenance Application ( Part 5 – Running the app and thinking about WPF ) - Mike Taulty's Blog - Mike Taulty's Blog
on Sat, Jul 11 2009 6:16 PM

Thank you for submitting this cool story - Trackback from NewsPeeps

Mike Taulty's Blog wrote Linked In Talk - “Beyond Silverlight with WPF”
on Wed, Oct 7 2009 2:12 PM

If you came along to the talk that I did for the Linked In .NET User Group today via Live Meeting then