Re: Browser scroll bars

2012-06-26 Thread Chris Anderson
Try using the IE developer tools to play with the head/body styles in the
page and find out what's causing the issue.

Chris


On 27 June 2012 12:39, Greg Keogh  wrote:

> >Currently your browser is set to 110% zoom.  Does it still exhibit this
> behaviour if you return it to 100%?
>
> ** **
>
> Sorry, I just stuffing around changing things and I took the screen shot
> at a bad time. The zoom has no effect on the problem -- Greg 
>
> ** **
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Browser scroll bars

2012-06-26 Thread Chris Anderson
Currently your browser is set to 110% zoom.  Does it still exhibit this
behaviour if you return it to 100%?

Chris


On 27 June 2012 11:34, Greg Keogh  wrote:

> Back again ... I’m plagued by random scroll bars appearing when I resize
> IE containing my SL4 app which fills the window (see pic). For an hour I’ve
> been fiddling with width, height and overflow in the css and the html, but
> it only alters the symptoms slightly. Web searches find lots of complaints
> about this and (as usual) all of the advice is useless. Perhaps the answer
> is out there, but I can’t find it in all the noise.
>
> ** **
>
> I thought I’d ask in here and see if anyone has found a definitive way of
> getting rid of the scroll bars. I tried dozens of combinations of
> adjustments of width, height and overflow without success.
>
> ** **
>
> Greg
>
> ** **
>
> P.S. I started with the default html page that is generated by the VS2010
> project template.
>
> ** **
>
> ** **
>
> 
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
<>___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Tracing deployed app

2012-04-22 Thread Chris Anderson
If you look at the event handler for the UnhandledException of the
Application object in your App.xaml.cs file, you'll see why.  By default,
unhandled exceptions are handled differently when a debugger is attached.

private void Application_UnhandledException(object sender,
ApplicationUnhandledExceptionEventArgs e)
{
// If the app is running outside of the debugger then report
the exception using
// the browser's exception mechanism. On IE this will display
it a yellow alert
// icon in the status bar and Firefox will display a script
error.
if (!System.Diagnostics.Debugger.IsAttached)
{

// NOTE: This will allow the application to continue
running after an exception has been thrown
// but not handled.
// For production applications this error handling should
be replaced with something that will
// report the error to the website and stop the application.
e.Handled = true;
Deployment.Current.Dispatcher.BeginInvoke(delegate {
ReportErrorToDOM(e); });
}
}

Chris

On 22 April 2012 14:58, Greg Keogh  wrote:

> Chaps, I spent an hour this morning adding simple logging inside my new
> SL4 app. I added a button and a child window to display the stack of
> messages in a ListBox. It wasn’t much new code and it works fine and helped
> me locate the problem quickly once it was working. It’s a rather low-tech
> fix.
>
> ** **
>
> It turns out I was parsing some bad XML and the null exception was getting
> swallowed somehow. I still haven’t figured out why it didn’t result in one
> of those ugly IE popups with a general SL error message. Had I received one
> of those popups I would have known instantly that I’d stuffed up my logic,
> but I just don’t know why I didn’t get one, perhaps some browser setting,
> dunno?!
>
> ** **
>
> Greg 
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Regenerating Ria services metadata

2012-04-04 Thread Chris Anderson
Regenerating the metadata is really not something I could see being a good
thing.  Those classes are created so that you can apply attributes to
properties on your models without having to mark up the model classes
directly.  Therefore, they're designed to be hand-edited, and regenerating
them would lose any changes (hence regeneration, unless it was done
intelligently to capture the developers existing changes to them, would be
a dangerous feature).  That said, no, I don't know of any existing tools
that do this.

Chris


On 5 April 2012 09:51, David Burela  wrote:

> This has been bugging me for years with Ria services.
> You generate the domain service and the associated metadata when you first
> create the domain service.
> Then you update the Entity Framework model
>
> I keep searching online for ways to regenerate the metadata file, but all
> I find is post after post of people requesting the same feature.
> Has anyone put out a visual studio extension that lets us just right click
> *regenerate* the metadata yet?
> -David Burela
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Another typical problem

2012-03-28 Thread Chris Anderson
What's your startup project?  The Web project or the Silverlight one?
 Maybe your Silverlight project is set as the startup project, hence the
issue.

Chris


On 29 March 2012 11:01, Greg Keogh  wrote:

> Well it’s happened again.
>
> ** **
>
> I spent two hours this morning refactoring a demo SL4 project to prepare
> for expansion. I split a few classes, tidied things up, etc. I hit F5 to
> run and it says I have a cross domain call failure. I spent the next two
> hours trying to fix this problem. I removed and added the service ref again
> about 40 times in different ways, I searched the web and all of the advice
> is worse than useless. I even had bizarre errors adding the ref back again
> like “*Custom tool warning: Unable to load one or more of the requested
> types. Retrieve the LoaderExceptions property for more information*”
> which I’ve never had before and advice in this matter is useless. The
> referenced service didn’t even change, it’s not in the solution. I didn’t
> add any new service types. I have now spent 4 hours trying to get a
> previously working demo project going again without hope. I could restore
> everything and incrementally reapply my morning’s changes, but that would
> take another 2 hours.
>
> ** **
>
> I created a fresh SL4 project and web app out of the wizard, added the
> save service ref and it works. So something “has gone wrong” with my demo
> project and nothing seems to resurrect it. My only hope therefore is to
> slowly paste the contents of the old app into the fresh one and pray that
> it keeps working. I estimate that this will take 6 hours.
>
> ** **
>
> I’ve been writing software for 35 years and I haven’t seen such f***ing
> mind-blowing instability and idiocy and insanity before and it just seems
> to get worse and worse with every passing year and every new kit and tool
> and framework that comes out. Are we going through a historical period in
> IT history where everything is actually “dis-integrating”? Is it an
> internal joke by Microsoft to cull the weak and breed a new generation of
> drone developers who just accept that everything doesn’t work? I spend more
> time searching the web for answers to insane problems that and I do
> actually coding, and most of the time I get no answers or increasing
> numbers of stupid answers cluttering the web.
>
> ** **
>
> More and more often I get problems where quite simply “I have no frigging
> idea what to do”. There are no meaningful clues and no obvious course of
> action. The only thing to do is delete stuff, jiggle options, add stuff
> back, restart IIS, reboot, restore backups, compare old and new files, etc.
> There is usually no diagnostic path to follow, you just bumble around until
> you get a different (less worse) error that might give you a clue.
>
> ** **
>
> Is this the future of software development?
>
> ** **
>
> Greg
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Complex region selection

2012-03-21 Thread Chris Anderson
Well, it's mainly used to demonstrate how much you can customise the
ListBox control using a control template, but you've also got the advantage
of each state being "selectable" using the functionality already provided
by the ListBox control.  I think it's quite a neat way to go about the
problem.

I was wondering where he got the coordinates myself - would be interesting
to know if/when you find out.  My guess is that he used some software to
trace the state outlines and convert them to vectors somehow.

Chris


On 22 March 2012 13:33, Greg Keogh  wrote:

> Chris, that’s a really weird sample, putting it in a ListBox, I mean he
> could have put it all in a Canvas to be more realistic. However there are
> some interesting clues inside. He has the XML state coordinates, so they
> (and other stuff) must be publicly available somewhere (I’m still looking)
> -- Greg 
>
> ** **
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Complex region selection

2012-03-21 Thread Chris Anderson
How about templating a listbox, as demonstrated here:
http://richapps.wordpress.com/2009/02/12/advanced-styling-wpf/.  That
solution is for WPF, but you could try porting it to Silverlight, and would
solve your US needs out of the box.

Chris


On 22 March 2012 12:28, Greg Keogh  wrote:

> Folks, coming soon in our app is the need for a “map region selector”
> where you click on states of America or European counties for example. ***
> *
>
> ** **
>
> I see the problem broken into a few pieces: * defining the complex regions
> and hoping that there are public sets of coordinates that define famous
> boundaries like countries and states * zooming around the map to select
> small regions (like Luxembourg) * hit testing and pleasing animations on
> mouse over and click.
>
> ** **
>
> If anyone has been through this exercise before then I’m keen to hear
> advice. I’m hoping that I won’t have to do everything manually from first
> principles with raw code and drawing primitives.
>
> ** **
>
> Cheers,
>
> Greg
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


October Sydney SDDN Meeting Announcement

2011-10-13 Thread Chris Anderson
This month we'll have a somewhat informal meeting. I was thinking that it
would be good to have a "show and tell" meeting, where those who are willing
and able can demonstrate some of their work in Silverlight, WP7, WPF, and
LightSwitch.  I've got 2 presentations lined up already (I'll show off the
expanz platform, and hand out beta invites which give you a lifetime
perpetual license).  If you can let me know if you're able to present
beforehand, that'd be great (but not essential).  It'll be a good chance to
see what your peers are building with these platforms, ask them questions,
and inspire you with your own projects!

Please RSVP on our Meetup
eventor
Facebook
event 
.

Hope to see you there!

Chris
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: SDDN Melbourne - September. Windows 8

2011-09-22 Thread Chris Anderson
Yep, next Monday.  Details here:
http://www.facebook.com/event.php?eid=109622992478338

Chris


On 22 September 2011 17:08, Troy Schuetrumpf  wrote:

> Anything going on in Sydney ?
>
> ** **
>
> ** **
>
> ** **
>
> *Troy Schuetrumpf
> Software Developer*
> [image: Description: cid:3365660919_14842223]
> *A:* Suite 16, 90 Mona Vale Road Mona Vale NSW 2103 | *T:* +61 2 9997 3500|
> *F: *+61 2 9997 3511 | *W:* 
> *http://www.taskretail.com.au*
> **
>
> [image: Description: cid:3365660919_14781322]
>
> *Notice of confidentiality* This message is confidential and intended for
> the recipient or recipients named above.
> It may also be privileged solicitor-client communication. If you are not
> the named recipient or a person charged with delivering this 
>
> message to the named recipient, you have received this message in error.
> Immediately delete this message from your computer.
>
> ** **
>
> ** **
>
> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto:
> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *David Burela
> *Sent:* Thursday, 22 September 2011 5:04 PM
> *To:* ozSilverlight
> *Subject:* SDDN Melbourne - September. Windows 8
>
> ** **
>
> Registrations for this month's SDDN are now open
>
> http://sddn-sep-2011.eventbrite.com/
>
> ** **
>
> It is focused on Windows 8, WinRT, future of XAML, etc.
>
> Hope to see a lot of you there.
>
> -David Burela
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
<><>___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Sydney SDDN September Meeting

2011-09-18 Thread Chris Anderson
For those of you wondering about this month's meeting (which normally would
be on tonight according to the normal schedule of the third Monday of the
month), it's been postponed for a week (to the 26th of September) so that we
can get Jose back from BUILD to tell us all the exciting stuff he's learnt,
what XAML's future is in Windows 8, and what other news has finally been
unembargoed.

Of course, the release candidate of Silverlight 5 was also released
recently, so I may talk a bit about that if we have time.

Note that we have a new room at the City Hotel starting this month, with it
being held in the "Emperor Lounge". We meet at 6pm, with a 6:30pm start.

Sorry for the late notice!  Hope to see you there...
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Refreshing an SL4 app (client problem?)

2011-09-07 Thread Chris Anderson
It's because the browser is caching the app, and your IIS probably doesn't
set any cache expiry headers.  Here's some info:

http://stackoverflow.com/questions/2281919/expiry-silverlight-xap-file-from-browser-cache-programmatically

Chris


On 8 September 2011 13:58, Greg Keogh  wrote:

> Well I should have asked my cat, because I browsed to the SL4 app from the
> outside world and it was the latest version. When browsing from my work
> machine I see the old version. So I restart my localhost IIS and delete
> temporary files in the browser, but it makes no difference. As an
> administrator I delete all local v2 and v4 ASP.NET temporary files and
> restart IIS, now it’s fixed.
>
> ** **
>
> So it looks like the problem was on my client side, not on the server
> machine side. I’m not sure which step fixed the problem, but it *might* have
> been deleting the local temporary files.
>
> ** **
>
> Greg
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Sydney Meeting - August

2011-08-09 Thread Chris Anderson
This month we have Young Oh presenting on integrating LightSwitch
applications with Silverlight applications (and vice versa). With version 1
of LightSwtich officially being released at the end of last month, this is
the perfect time for this presentation!

*When:* Monday August 15, 2011, 6:00 pm to start 6:30 pm

*Where:* City Hotel
(map)
347 Kent Street (Corner of King Street). Second floor at the Kent Street
Living Room.

*Cost:* Free, but please RSVP on our Meetup
site
.

*Abstract*

Practical guide to LightSwitch for experienced Silverlight developers.
(Integrating a LightSwitch application with a standard Silverlight
application)

Silverlight is great. With Silverlight we are capable of creating data
intensive enterprise online applications using RIA services. But is it
really practical to do so? If the requirements are fixed, maybe yes with
lots of effort. In reality the ground shifts all the time. Everything above
shakes constantly and Silverlight solution may not be acceptable for
practical commercial use.

Then could LightSwitch be the solution? If yes, what could be the problem
with everything LightSwitch approach. Is it possible to combine both? How?
We will try to find a way to combine the best of Silverlight and LightSwitch
for best ROI possible.

- How to put LightSwitch application inside Silverlight application. When.
How. Why?

- How to embed Silverlight modules inside LightSwitch application. Different
methods. What is the limit? Or no limit?

*Bio*

Young is a freelance application developer currently working for various
Qantas / Q Catering projects.
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Sydney SDDN - July Meeting

2011-07-16 Thread Chris Anderson
This month we have Jason Schluter presenting on recreating
http://script.aculo.us/ in Silverlight. We didn’t get to this presentation
last month, so Jason agreed to postpone it until this month.

When: Monday July 18, 2011, 6:00 pm to start 6:30 pm
Where: City Hotel (map) 347 Kent Street (Corner of King Street). Second
floor at the Kent Street Living Room.
Cost: Free, but please RSVP on our Meetup
site
.

Jason’s Abstract:

Light.aculo.us - Recreating http://script.aculo.us/ in Silverlight.

Javascript frameworks are out there to make animation easy. How easy is it
in Silverlight? I?ll run through recreating the effects demos on
http://madrobby.github.com/scriptaculous/combination-effects-demo/ in
Silverlight. Expect Blend, demos, and No talk on Win8!

Jason’s Bio:

Jason Schluter has been a keen Silverlight programmer since Silverlight 1.1
alpha following the rise of Silverlight in huge media and business
application projects, and waiting patiently for the arrival of 3d Support in
Silverlight. Jason currently works as a contractor on a large Silverlight
project and has been building a variety of web projects on the side.
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Silverlight object not showing - xap downloading but not launching

2011-06-16 Thread Chris Anderson
Hi Simon

Hmm, I haven't heard of that issue.  Have you been checking which version of
Silverlight is installed on each of these machines, to see if there's a
common version number across each of them?  Silverlight 4 has had various
GDR releases (one was just released this week), and maybe it's a particular
version with the issue.  If so, you can then modify your HTML page that
hosts the control to require the client machine to upgrade to a minimum
version number from where the problem is solved.

You can check out the GDR release history here:
http://www.microsoft.com/downloads/en/details.aspx?familyid=1b7a3205-b5f8-4e20-bf42-792de5923454&displaylang=en
to
see if the problem has been fixed in a particular release, and Koen Zwikstra
(of Silverlight Spy fame) has a diff list for each version which may or may
not help: http://firstfloorsoftware.com/silverlight-diff-lists/.

Hope this helps...

Chris


On 17 June 2011 15:39, Simon Hammer  wrote:

> **
>
> Hi Chris,
>
> ** **
>
> Thanks for your suggestion.
>
> ** **
>
> We do have a custom pre-loader, but my issue sounds a little bit different
> to what you have described.  On the affected machines, the problem is not
> intermittent ; it occurs every time.  We have not experienced the issue on
> dev machines ; only come across it in “user land”.  The only way I’ve found
> to fix it is to un-install Silverlight and re-install, and then the problem
> does not re-occur.  And it’s not just our site that has the issue.  An
> affected machine does not load the Silverlight object on the main page of
> www.silverlight.net either.
>
> ** **
>
> Everything points to a Silverlight install issue, but having found 3
> machines now with the same issue (that I know of) makes me worried about all
> those machines that I don’t know of. L****
>
> ** **
>
> Simon.
>
> ** **
>  --
>
> *From:* Chris Anderson [mailto:christheco...@gmail.com]
> *Sent:* Friday, 17 June 2011 3:29 PM
> *To:* **ozSilverlight**
> *Subject:* Re: Silverlight object not showing - xap downloading but not
> launching
>
> ** **
>
> Hi Simon
>
> ** **
>
> Do you have a custom preloader (i.e. splash screen), or are you using the
> default one?  I've personally found that custom preloaders are sometimes
> problematic, with similar issues to what you're reporting.  There seems to
> be a race condition, where if the Silverlight application downloads too
> quickly, the Silverlight runtime gets confused with what it should display
> (the preloader or the application), and nothing ends up loading.  I'm
> interested in whether other people have experienced this, as I haven't seen
> it reported (I do discuss it in my book Pro Business Applications with
> Silverlight 4 though).  But then again, sadly few Silverlight developers
> actually make the effort to create a custom preloader.  I notice this issue
> primarily occurs on development PCs, where the application download
> generally does happen fast.  So if you do have a custom preloader, try
> disabling it and see if that solves your problem.
>
> ** **
>
> Chris
>
> ** **
>
> On 17 June 2011 14:25, **Simon Hammer** 
> wrote:
>
> Hi all,
>
>  
>
> I have come across an issue on a handful of machines (have at least 3
> examples) where hitting a website containing a Silverlight object, the
> object is not being displayed.  The symptoms I’m seeing are:-
>
>  
>
>- The XAP file is being downloaded but there’s obviously a problem
>launching it.
>- The Silverlight splash screen (loading xaml) is shown while
>downloading the xap, but after loading, Silverlight object area is blank.
>
>- A Silverlight fallback page will not be displayed as it’s detecting
>that the correct version is installed.
>- The correct Silverlight version is being displayed on the Silverlight
>Configuration screen
>- The “Application Storage” tab is missing from the Silverlight
>Configuration screen
>- The problem is not confined to a single website.  Hitting various
>different websites containing Silverlight objects exhibit the same 
> behavior.
>
>
>  
>
> We’ve had a user’s machine go from working to not-working without any
> changes to the website.  This leads me to believe it to be a problem with
> the install of a newer version of Silverlight via the “auto-update” process
> (as auto update was checked).
>
>  
>
> The fix is to un-install Silverlight via Add/Remove programs then
> re-install it.  However, this is not something that would be done by the
> general public access

Re: Silverlight object not showing - xap downloading but not launching

2011-06-16 Thread Chris Anderson
Hi Simon

Do you have a custom preloader (i.e. splash screen), or are you using the
default one?  I've personally found that custom preloaders are sometimes
problematic, with similar issues to what you're reporting.  There seems to
be a race condition, where if the Silverlight application downloads too
quickly, the Silverlight runtime gets confused with what it should display
(the preloader or the application), and nothing ends up loading.  I'm
interested in whether other people have experienced this, as I haven't seen
it reported (I do discuss it in my book Pro Business Applications with
Silverlight 4 though).  But then again, sadly few Silverlight developers
actually make the effort to create a custom preloader.  I notice this issue
primarily occurs on development PCs, where the application download
generally does happen fast.  So if you do have a custom preloader, try
disabling it and see if that solves your problem.

Chris


On 17 June 2011 14:25, Simon Hammer  wrote:

>  Hi all,
>
> ** **
>
> I have come across an issue on a handful of machines (have at least 3
> examples) where hitting a website containing a Silverlight object, the
> object is not being displayed.  The symptoms I’m seeing are:-
>
> ** **
>
>- The XAP file is being downloaded but there’s obviously a problem
>launching it.
>- The Silverlight splash screen (loading xaml) is shown while
>downloading the xap, but after loading, Silverlight object area is blank.
>
>- A Silverlight fallback page will not be displayed as it’s detecting
>that the correct version is installed.
>- The correct Silverlight version is being displayed on the Silverlight
>Configuration screen
>- The “Application Storage” tab is missing from the Silverlight
>Configuration screen
>- The problem is not confined to a single website.  Hitting various
>different websites containing Silverlight objects exhibit the same 
> behavior.
>
>
> ** **
>
> We’ve had a user’s machine go from working to not-working without any
> changes to the website.  This leads me to believe it to be a problem with
> the install of a newer version of Silverlight via the “auto-update” process
> (as auto update was checked).
>
> ** **
>
> The fix is to un-install Silverlight via Add/Remove programs then
> re-install it.  However, this is not something that would be done by the
> general public accessing the site.
>
> ** **
>
> Has anyone come across this issue before or have any suggestions as to how
> I could work-around?
>
> ** **
>
> Cheers,
>
> Simon.
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


June Sydney SDDN Meeting Announcement

2011-06-15 Thread Chris Anderson
We have 2 speakers this month - Justin King talking about the Microsoft
Media Platform, and Jason Schluter on recreating http://script.aculo.us/ in
Silverlight..

*When:* Monday June 20, 2011, 6:00 pm to start 6:30 pm
*Where:* City Hotel (map) 347 Kent Street (Corner of King Street). Second
floor at the Kent Street Living Room.
*Cost:* Free, but please RSVP on our Meetup
site
.

NOTE: We are looking to use Meetup instead of Facebook for announcing future
events (since some people don't have Facebook accounts).  If you're
interested in Sydney meetings (even if you can't make this one), please sign
up to our Meetup site to get future announcements (Facebook announcements
will be phased out in the coming months):
http://www.meetup.com/Silverlight-Designer-and-Developer-Network/Sydney-AU/155161
.

*Justin's Abstract:*

Microsoft Media Platform – Discovering the video stack of tools

With video streaming and viewing now accounting for 30% of down traffic
bandwidth adding video to your websites is more important than ever.  In
this session Justin will run through the components that make up the
Microsoft Media Platform, MMP Player, Content Manager, Video Editor,
Audience Insight and Expression Encoder.  We will run through adding Smooth
Streaming/Adaptive Streaming to your site and creating a workflow to speed
up the process, as well as adding rich functionality such as Frame Linking,
Analytics and Advertising to pay for the bandwidth you are going to consume.

*Justin's Bio:*

Justin has 15 years Developer/DBA experience in cross platform technologies.
 Currently working with ASP.NET MVC 3 for most projects and a Silverlight
Smooth Streaming for a SQL Server Training website hosted on Windows Azure.

*Jason's Abstract:*

Light.aculo.us - Recreating http://script.aculo.us/ in Silverlight.

Javascript frameworks are out there to make animation easy.  How easy is it
in Silverlight?  I’ll run through recreating the effects demos on
http://madrobby.github.com/scriptaculous/combination-effects-demo/ in
Silverlight.  Expect Blend, demos, and No talk on Win8! ;)

*Jason's Bio:*

Jason Schluter has been a keen Silverlight programmer since Silverlight 1.1
alpha following the rise of Silverlight in huge media and business
application projects, and waiting patiently for the arrival of 3d Support in
Silverlight.  Jason currently works as a contractor on a large Silverlight
project and has been building a variety of web projects on the side.
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Silverlight versions

2011-05-23 Thread Chris Anderson
Have you installed the Silverlight 5 Tools on your dev PC?  It *overwrites*
RIA Services SP1 with the preview of SP2, as per this blog post:
http://jeffhandley.com/archive/2011/04/13/MIX11Releases.aspx.  I'm guessing
your dev machine is therefore targeting SP2.  Of course, the SP2 preview
doesn't have a go-live license (and the installer doesn't give you an option
to not install it).  So my assumption is that any dev PC that's using RIA
Services *should not* install the Silverlight 5 Tools.  I haven't seen this
mentioned anywhere as an issue, but assuming I'm not missing anything this
is a massive oversight, and devs should be warned (or better yet, the SP2
preview stuff should be installed elsewhere).

Chris


On 23 May 2011 19:31, Stephen Price  wrote:

> Hi all,
>
> I decided to have another quick look at getting my build server (TFS)
> to build a solution.
>
> Vanilla solution created today, pointed the server at it and got some
> errors. Frustrating.
>
> I looked at what was missing and tried to identify why it was failing.
> Discovered that the RIA services files on the server (RIA Services
> SP1) were different versions to the one on my machine. I copied the
> latest RIA Services install msi (redownloaded it to be sure) and ran
> it on the server. It asked if it wanted to do a repair (already
> installed) so I told it yes. The files remained the same.
> So I copied the whole folder of dll's from my machine to the server
> and rebuilt. Those errors then went away and left me with 4 new ones.
>
> obj\Debug\Views\Login\LoginForm.g.cs(12,13): error CS0234: The type or
> namespace name 'Controls' does not exist in the namespace 'Admin' (are
> you missing an assembly reference?) [C:\Builds\1\NRW\Plutus
> Autobuild\Sources\PersonnelAdmin\PersonnelAdmin.csproj]
> obj\Debug\Views\Login\RegistrationForm.g.cs(12,13): error CS0234: The
> type or namespace name 'Controls' does not exist in the namespace
> 'Admin' (are you missing an assembly reference?)
> [C:\Builds\1\NRW\Plutus
> Autobuild\Sources\PersonnelAdmin\PersonnelAdmin.csproj]
> obj\Debug\Views\Login\LoginForm.g.cs(39,24): error CS0234: The type or
> namespace name 'Controls' does not exist in the namespace 'Admin' (are
> you missing an assembly reference?) [C:\Builds\1\NRW\Plutus
> Autobuild\Sources\PersonnelAdmin\PersonnelAdmin.csproj]
> obj\Debug\Views\Login\RegistrationForm.g.cs(39,24): error CS0234: The
> type or namespace name 'Controls' does not exist in the namespace
> 'Admin' (are you missing an assembly reference?)
> [C:\Builds\1\NRW\Plutus
> Autobuild\Sources\PersonnelAdmin\PersonnelAdmin.csproj]
>
> Nothing special here, these files are from the template project.
>
> I checked the versions on the silverlight dll's found in:
>
> C:\Program Files (x86)\Microsoft
> SDKs\Silverlight\v4.0\Libraries\Client picking the
> System.Windows.Controls.dll = version 4.0.60310.0
> checked my machine and found it's version 4.0.50826.0
>
> I guess there was a minor release somewhere along the line between the
> two installs. How do people manage this? Hopefully once I track down
> the latest Silverlight install and reinstall, it will fix the issue.
> It's probably only happening due to the code being generated by RIA
> Services... normally you'd not notice.
>
> cheers,
> Stephen
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


May Sydney SDDN Meeting

2011-05-13 Thread Chris Anderson
This month we're back at the City Hotel (after being kindly hosted by
Ambition Technology last month).  We have 2 speakers this month - Peter
Gfader talking about his recent project building an auction site in
Silverlight, and Jason Schluter on 3D in Silverlight 5.

*When:* Monday May 16, 2011, 6:00 pm to start 6:30 pm

*Where:* City Hotel
(map)
347 Kent Street (Corner of King Street). Second floor at the Kent Street
Living Room.

*Cost:* Free, but please RSVP on our Facebook
group
.

*Peter's Abstract:*

Silverlight vs. HTML5 - Lessons learned

Peter tells us from his last project: building a better EBay in Silverlight
and shows us his view on this topic.

*Peter's Bio:*

Peter was born in South Tirol Italy, studied in Austria, and is now working
in Sydney Australia as a consultant for SSW. Peter is an Agile Enthusiast,
aspiring Software Craftsman, likes Clean Code and is a strong believer in
improving in baby steps..


*Jason's Abstract:*

3D with Silverlight 5 and WebGL

You can do 3D online with Silverlight 5 or WebGL, So what’s the diff? How
does Silverlight 5 and WebGl compare? Jason has been messing with the API’s
and will discuss the two. Expect code, demos and the unveiling of his
current web project.


*Jason's Bio:*

Jason Schluter has been a keen Silverlight programmer since Silverlight 1.1
alpha following the rise of Silverlight in huge media and business
application projects, and waiting patiently for the arrival of 3d Support in
Silverlight.  Jason currently works as a contractor on a large Silverlight
project and has been building a variety of web projects on the side.
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


April Sydney SDDN Meeting

2011-04-16 Thread Chris Anderson
This month is a Silverlight 5 extravaganza! We have two speakers - Chris
Anderson, and Jose Fajardo. Chris will go through the new functionality
added to Silverlight 5 (primarily the business application related
features), and Jose will go through the cool new 3D and other graphics
related features. There will no doubt be conversation around other HTML5 and
IE9/10 announcements made at MIX11 too :).

*Note that we have a new location this month.*  Ambition Technology have
very kindly sponsored this meeting, and we'll be holding it in their
boardroom. They will be providing Pizza + Beer! The location is: Lvl 5, 55
Clarence St, Sydney, and we meet at 6pm for a 6:30pm start.

For more information on Ambition Technology please visit:

www.ambition.com.au/techblog/
www.ambition.com.au

Please RSVP on the Facebook event here:
http://www.facebook.com/event.php?eid=113473795401440&index=1.  If you're
not on Facebook, please send me an email to say you're coming so we can
cater accordingly pizza/beer-wise.

Chris Anderson
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Sydney SDDN March Announcement

2011-03-16 Thread Chris Anderson
This month we have two speakers, with Jordan Knight talking about MVVM, and
Troy Wilson talking about Incite's advanced implementation using the
PivotViewer control.

*When:* Monday March 21st, 2011, 6:00 pm to start 6:30 pm

*Where:* City Hotel
(map)
347 Kent Street (Corner of King Street). Second floor at the Kent Street
Living Room.

*Cost:* Free, but please RSVP on our Facebook
group
.

*Jordan's Abstract:*

In this session Jordan starts with a brief overview of the MVVM pattern
before delving into the depths of a real world implementation. See how to
get the most out of Silverlight as Jordan demonstrates a very effective
implementation of MVVM that culminates in an intuitive and powerful display
and navigation framework that works not only in Silverlight, but also WPF
(incl. Surface) and the Windows 7 Phone!

*Jordan's Bio:*

Hi, my name is Jordan (@jakkaj) and I’m the Solution Architect at a company
I run with my brother Alex (@agkdesign) called
Xamling.
 I've presented at big conferences here and overseas and just love
Silverlight. I, like my brother, am a Silverlight MVP.  I come from Bendigo,
VIC, Australia, and now live in Sydney.

*Troy's Abstract:*

I'll be talking about how we integrated Pivot Viewer using dynamic
collections, DeepZoom, using MEF, MVVM.

*Troy's Bio:*

I'm a father of 2 (geeks in training), I love my tech, and all things full
of awesome.I've been working for Incite for 18 months, I'm currently the
team lead for the silverlight viewer, aka "Team Viewer".
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Sydney SDDN Meeting - This Monday

2011-02-18 Thread Chris Anderson
Our February Sydney SDDN meeting is on this Monday.  This month we are
taking a look at the architectural side of things, with Young Oh talking
about using Prism and MEF together.  Further details can be found on our
blog: http://sydneysddn.wordpress.com/, and on our Facebook group:
http://www.facebook.com/event.php?eid=166967510017512

Chris Anderson
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Dynamic assembly loading

2011-02-09 Thread Chris Anderson
I'd like to have a talk on MVVM Light at the Sydney SDDN too.  Anybody
willing to do a talk about it next month?  This month, we've got Young Oh
talking about Prism + MEF.

BTW. I think this is the first email you've sent to the list Carl that
hasn't gone into my Spam folder :).

Chris


On 10 February 2011 15:39,  wrote:

>  +1
>
>
>
> Covering MVVM Lite at Perth SDDN is an awesome idea.
>
>
>
> Carl.
>
>
>
> Carl Scarlett
>
> Senior .NET/WPF Developer, UX Designer | Genesis
>
> *IT & Change Management |** **Bankwest*
>
> A: Level 5, 199 Hay Street | Perth | Western Australia | 6004
>
> P: (08) 9449 8451
>
> M: 0408 913 870
>
> E: carl.scarl...@bankwest.com.au
>
>
>
> *AFR Smart Investor** Blue Ribbon Awards**
> **2010 Bank of the Year*
>
>
>
>
>
> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto:
> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *Stephen Price <
> step...@littlevoices.com>
> *Sent:* Thursday, 10 February 2011 12:28 PM
> *To:* ozSilverlight 
> *Subject:* Re: Dynamic assembly loading
>
>
>
> Have a look at this
>
> http://development-guides.silverbaylabs.org/Video/Dynamically-Loading-.Dlls-in-Silverlight
> It seems to cover how I started off doing it on a project last year. I
> started off copying how Prism does it (it's a pattern with some helper
> dll's essentially) and then later we swapped in the Prism helpers.
> That was pretty easy as I'd named everything closely with Prism.
>
> So you can do it yourself or use a framework such as Prism. I've heard
> it said Prism is quite large/bloated compared to some other
> frameworks. I've not yet had a chance to look at the others, I like to
> do things myself until the need arises to use someone elses framework.
> Its a double edged sword, it does what you want but comes with their
> bugs.
>
> I'll be looking at MVVM lite over the next few weeks. May even do a
> demo at next Perth Silverlight user group. (more than welcome to fly
> over to visit hehe)
>
> have fun!
>
> On Thu, Feb 10, 2011 at 11:41 AM, Greg Keogh < g...@mira.net> wrote:
> > Folks, after years of avoiding the need, I finally have to async load
> some
> > large DLLs. I have two charting libraries to reference and their total
> size
> > is causing slow app loading.
> >
> > I have placed the guilty DLLs in the ClientBin folder and I can see them
> > async loading correctly. But ... how do I let them be referenced in the
> > project for compilation, but keep them out of the app XAP file for
> deploy?
> >
> > I tried setting Copy Local = false for the two references, but that has
> no
> > effect.
> >
> > Cheers,
> > Greg
> >
> >
> > ___
> > ozsilverlight mailing list
> > ozsilverlight@ozsilverlight.com
> > http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
> >
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
> __
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> __
>
> ___
>
>
> This email has been scanned by the Bankwest Email Security System.
> ___
>
>
>
>
> ___
> Unencrypted electronic mail is not secure and may not be authentic.
> If you have any doubts as to the contents please telephone to confirm.
>
> This electronic transmission including any attachments is intended only
> for those to whom it is addressed. It may contain copyright material or
> information that is confidential, privileged or exempt from disclosure by
> law.
> Any claim to privilege is not waived or lost by reason of mistaken
> transmission
> of this information. If you are not the intended recipient you must not
> distribute or copy this transmission and should please notify the sender.
> Your costs for doing this will be reimbursed by the sender.
>
> We do not accept liability in connection with computer virus, data
> corruption,
> delay, interruption, unauthorised access or unauthorised amendment.
>
> ___
> __
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> __
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>

Sydney SDDN Drinks/Dinner

2010-12-08 Thread Chris Anderson
Due to its proximity to Christmas, we won't be having our monthly meeting
for December.  Instead, we'll simply be having an informal get together for
drinks and dinner this month.  Come join us to see out the year, talk all
things Silverlight, and buy Miguel more beer than he can drink for all his
hard work before he leaves us for Brissie.

Venue: City Hotel
Date: Monday, December 13, 2010
Time: 6:30pm

Note that we'll be having this a week earlier than our usual scheduled
monthly meetings!

Please RSVP here: http://www.facebook.com/event.php?eid=181074628574730
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Bob Muglias & Steve Balmers statements on committment to Silverlight

2010-11-01 Thread Chris Anderson
It's amusing to see how many times Steve Balmer name dropped 'Silverlight'
in his post :).  Backpedalling ahoy!

My concern from the beginning has specifically been with the phrase “Our
Silverlight strategy and focus going forward has shifted".  Bob says that's
not a negative statement in his post, but I disagree.  Microsoft "shifted"
their strategy away from Windows Mobile, and look what happened with it -
practically nothing for years.  After Microsoft released IE6 their strategy
"shifted" - again work on that product halted for years.  It wasn't like
either of them were perfect, and couldn't have done with more work!

It was easier to brush off Scott Barnes' tweets as those of an ex-softie
that *might not* have the current full picture and strategic insight of
Microsoft, but harder when the controversy stems from the current president
of the Server and Tools division.  You could say that it was simply a bad
choice of words, but added to Scott Barnes' tips starts painting a bad
picture for Silverlight's future.  Stating that their strategy has shifted
sends the wrong message to CTOs, and creates the PR nightmare we are all
faced with now.

Personally, I still have faith in Silverlight and its potential (both
current and future), and evidence showed that Microsoft shares it too
(LightSwitch, Windows Phone 7, etc).  I just hope that Microsoft continues
to see that potential through before chucking it on the backburner, and
doesn't abuse that faith.  Currently they have a rather demoralised
community, and it's going to take a lot to prop it back up.  Because those
of us promoting Silverlight will have a lot more work to do to now promoting
the platform.

If one good thing comes from this controversy, it is that the community has
spoken, and it will *not* be happy with a shift in strategy.  Maybe, just
maybe, that will impact positively internally at Microsoft.

Chris


On 2 November 2010 07:19, Winston Pang  wrote:

> Man do you ever sleep? Haha you seem to operate in US time.
>
> Bobs post seems to be getting some interesting replies...
>
>
> Sent from my iPad
>
> On 02/11/2010, at 5:28 AM, Jose Fajardo 
> wrote:
>
>  Here's Microsoft's official statements
>
>
> Bob Muglia has posted extensively on the Silverlight Team Blog:
>  http://team.silverlight.net
>
>
> Steve Ballmer has also commented on his PDC blog:
>  
> http://www.microsoft.com/presspass/press/2010/nov10/11-01Statement.mspx
>
>
>
>  either believe them or not completely up to you guys!
>
>
>  Note:  The information contained in this message and any attachment to it
> is privileged, confidential and protected from disclosure.  If the reader of
> this message is not the intended recipient, or an employee or agent
> responsible for delivering this message to the intended recipient, you are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited.  If you have received this
> communication in error, please notify the sender immediately by replying to
> the message, and please delete it from your system.  Thank you.  Cynergy
> Systems.
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Opening an OOB App

2010-10-06 Thread Chris Anderson
Ah yes, of course, Silverlight is 32 bit only - for the moment anyway.  And
yep, you could install an app via sllauncher.exe if you have elevated trust
(I didn't think of that).  As you say, the isolated storage solution to
passing parameters between instances has its fair share of issues :).

Chris


On 6 October 2010 22:58, Miguel Madero  wrote:

> You're right. You would just use %programfiles%
> Since Silverlight (hence any SL app and any SL host) is 32 bit that env
> variable will return either c:\program files in a 32 bit OS or c:\program
> files (x86) on a 64bit one.
>
> Too bad about the lack to pass params. In my case they're coming from the
> same domain and I was looking to do use the site store as the last resort,
> can get a bit messy since I might initiate multiple instances almost at the
> same time, so I would have to have some sort of queue, possible adding
> locks, etc... I'll have to think this through, but is far from ideal.
>
> About the installation. We can do it passing from sllauncher. My dream is
> to have an ApplicationManager that could perform this tasks for me, but if I
> want to write my own, I'll need Elevated Trust for any of these (start
> another app, install it, etc).
>
>
>
> On Wed, Oct 6, 2010 at 3:26 PM, Chris Anderson wrote:
>
>> %programfiles(x86)% only works on Windows 64 bit unfortunately.  As far as
>> I know, there's not an easy way to determine this path on both 32 and 64 bit
>> editions of Windows (unless someone has some tips for doing so).
>>
>> There's no way of passing parameters to an OOB app unfortunately (AFAIK).
>>  The only way I know of is to write the parameters as settings in isolated
>> storage, or to a known location (like, dare I say, the registry if you
>> have elevated trust).  If it is the same application being loaded, you can
>> write them to the application store, or if the application to be loaded is
>> from the same domain then you could use the site store.  If the application
>> originates from a different domain you're somewhat out of luck, and would
>> need to use the known location method.
>>
>> As for your scenario to install another Silverlight application, I can't
>> see that being possible.  You could always host another Silverlight
>> application within your application using the WebBrowser control (set up so
>> that if run within the browser it will only request to be installed, like
>> the Facebook application does).  You could pass it parameters via the URL
>> query parameters.  However, the user will always need to be involved in
>> initiating the actual installation process.  The application will then
>> automatically launch once installed.
>>
>> Chris
>>
>>
>>
>> On 6 October 2010 09:57, Miguel Madero  wrote:
>>
>>> I don't have a blog anymore so I'll leave it on your capable hands.
>>>
>>> You don't have to guess the path, this should work, but still requires
>>> Elevated Trust:
>>> call "%programfiles(x86)%\Microsoft Silverlight\sllauncher.exe"
>>>
>>>  I was thinking to start a second app. It would be nice to have something
>>> like:
>>> ApplicationManager.StartApp("SomeOtherAppInTheSamePathAsThisOne.xap");
>>> ApplicationManager.StartApp("
>>> http://anotherdomain.com/Something/CoolApp.xap";,
>>> "param1=value1;param2=MiguelsCool");
>>>
>>> That option should check first if the app is installed (based on the
>>> origin), if not, install it, then start it. I should also be able to get a
>>> ref to it and communicate with it (using pipes?) or at least have a way to
>>> pass initparams. All of this without elevated trust.
>>>
>>> We should even be able to start another instance of the same OOB App with
>>> just diferent parameters.
>>>
>>>
>>> BTW, is there a way to send initparams to an OOB App?
>>>
>>>
>>>
>>> On Tue, Oct 5, 2010 at 6:41 PM, Chris Anderson 
>>> wrote:
>>>
>>>> Yep.  Ideally you'd have an Application.Current.Restart() method, so
>>>> elevated trust wasn't necessary though :).  You'd still have to use COM
>>>> Interop to find the user's Program Files folder though (the
>>>> System.Environment.GetFolderPath method won't return it), and then use COM
>>>> Interop to run sllauncher.exe.  Whether it matters that the app is still
>>>> running when the new instance is loaded, I don't know, but I think it would
>>>> be OK

Re: Opening an OOB App

2010-10-05 Thread Chris Anderson
%programfiles(x86)% only works on Windows 64 bit unfortunately.  As far as I
know, there's not an easy way to determine this path on both 32 and 64 bit
editions of Windows (unless someone has some tips for doing so).

There's no way of passing parameters to an OOB app unfortunately (AFAIK).
 The only way I know of is to write the parameters as settings in isolated
storage, or to a known location (like, dare I say, the registry if you have
elevated trust).  If it is the same application being loaded, you can write
them to the application store, or if the application to be loaded is from
the same domain then you could use the site store.  If the application
originates from a different domain you're somewhat out of luck, and would
need to use the known location method.

As for your scenario to install another Silverlight application, I can't see
that being possible.  You could always host another Silverlight application
within your application using the WebBrowser control (set up so that if run
within the browser it will only request to be installed, like the Facebook
application does).  You could pass it parameters via the URL query
parameters.  However, the user will always need to be involved in initiating
the actual installation process.  The application will then automatically
launch once installed.

Chris



On 6 October 2010 09:57, Miguel Madero  wrote:

> I don't have a blog anymore so I'll leave it on your capable hands.
>
> You don't have to guess the path, this should work, but still requires
> Elevated Trust:
> call "%programfiles(x86)%\Microsoft Silverlight\sllauncher.exe"
>
>  I was thinking to start a second app. It would be nice to have something
> like:
> ApplicationManager.StartApp("SomeOtherAppInTheSamePathAsThisOne.xap");
> ApplicationManager.StartApp("
> http://anotherdomain.com/Something/CoolApp.xap";,
> "param1=value1;param2=MiguelsCool");
>
> That option should check first if the app is installed (based on the
> origin), if not, install it, then start it. I should also be able to get a
> ref to it and communicate with it (using pipes?) or at least have a way to
> pass initparams. All of this without elevated trust.
>
> We should even be able to start another instance of the same OOB App with
> just diferent parameters.
>
>
> BTW, is there a way to send initparams to an OOB App?
>
>
>
> On Tue, Oct 5, 2010 at 6:41 PM, Chris Anderson wrote:
>
>> Yep.  Ideally you'd have an Application.Current.Restart() method, so
>> elevated trust wasn't necessary though :).  You'd still have to use COM
>> Interop to find the user's Program Files folder though (the
>> System.Environment.GetFolderPath method won't return it), and then use COM
>> Interop to run sllauncher.exe.  Whether it matters that the app is still
>> running when the new instance is loaded, I don't know, but I think it would
>> be OK.  I assume the new version (if doing immediately after an update has
>> been downloaded) will have already been put in the right place, and not
>> waiting for the current instance of the app to close.  One of us might have
>> to give it a go as a proof of concept exercise and blog the results :).
>>
>> Chris
>>
>>
>> On 5 October 2010 17:10, Miguel Madero  wrote:
>>
>>> All of the options we mentioned required full trust, but this one at
>>> least doesn't require COM Interop to inspect the file system :)
>>>
>>>
>>>
>>> On Tue, Oct 5, 2010 at 4:09 PM, Chris Anderson 
>>> wrote:
>>>
>>>> Ah, nice.  Will have to remember that one.  Of course you'll need
>>>> elevated trust to be able to do that, but looks like a good solution.
>>>>  Thanks for sharing Miguel.
>>>>
>>>> Chris
>>>>
>>>>
>>>> On 5 October 2010 15:26, Miguel Madero  wrote:
>>>>
>>>>>  Everyone,
>>>>>
>>>>> I remember a few months ago at an SDDN meeting we were talking about
>>>>> options to start an OOB App like looking at the shortcuts in the start 
>>>>> menu
>>>>> or trying to guess based on the random paths that the app might get
>>>>> installed on. I found a nice option. Essentially we use the 'origin' as 
>>>>> the
>>>>> key instead of trying to find the path to the xap.
>>>>>
>>>>>
>>>>> From Tim Heuer 
>>>>> blog<http://timheuer.com/blog/archive/2010/03/25/using-sllauncher-for-silent-install-silverlight-application.aspx>
>>>>>
>>>>

Re: Opening an OOB App

2010-10-05 Thread Chris Anderson
Yep.  Ideally you'd have an Application.Current.Restart() method, so
elevated trust wasn't necessary though :).  You'd still have to use COM
Interop to find the user's Program Files folder though (the
System.Environment.GetFolderPath method won't return it), and then use COM
Interop to run sllauncher.exe.  Whether it matters that the app is still
running when the new instance is loaded, I don't know, but I think it would
be OK.  I assume the new version (if doing immediately after an update has
been downloaded) will have already been put in the right place, and not
waiting for the current instance of the app to close.  One of us might have
to give it a go as a proof of concept exercise and blog the results :).

Chris


On 5 October 2010 17:10, Miguel Madero  wrote:

> All of the options we mentioned required full trust, but this one at least
> doesn't require COM Interop to inspect the file system :)
>
>
>
> On Tue, Oct 5, 2010 at 4:09 PM, Chris Anderson wrote:
>
>> Ah, nice.  Will have to remember that one.  Of course you'll need elevated
>> trust to be able to do that, but looks like a good solution.  Thanks for
>> sharing Miguel.
>>
>> Chris
>>
>>
>> On 5 October 2010 15:26, Miguel Madero  wrote:
>>
>>>  Everyone,
>>>
>>> I remember a few months ago at an SDDN meeting we were talking about
>>> options to start an OOB App like looking at the shortcuts in the start menu
>>> or trying to guess based on the random paths that the app might get
>>> installed on. I found a nice option. Essentially we use the 'origin' as the
>>> key instead of trying to find the path to the xap.
>>>
>>>
>>> From Tim Heuer 
>>> blog<http://timheuer.com/blog/archive/2010/03/25/using-sllauncher-for-silent-install-silverlight-application.aspx>
>>>
>>>  Automatically Launching the App
>>>
>>> So what if you wanted to also automatically launch the app after
>>> installing (i.e., the CD/DVD ‘autorun’ scenario).  You again would use
>>> sllauncher.exe to do this for you *after you’ve installed the app*.
>>> Using our same sample above here would be the command:
>>>
>>>1: "%ProgramFiles%\Microsoft Silverlight\sllauncher.exe"
>>>
>>>
>>>
>>>
>>>2: /emulate:"Silverface.xap"
>>>
>>>
>>>
>>>
>>>3: 
>>> /origin:"http://www.silverlight.net/content/samples/apps/facebookclient/ClientBin/Silverface.xap";
>>>
>>>
>>>
>>>
>>>4: /overwrite
>>>
>>>  Notice the *emulate* command.  This is the launcher.  Now you’ll notice
>>> that this isn’t the same command-line options if you looked at an installed
>>> applications’ created shortcuts.  Because the folder where the XAP gets
>>> installed is pretty random, we use the origin as the hint to the
>>> sllauncher.exe program to find the right app for us and start it up.  I’ve
>>> found that using /overwrite will also give a more consistent behavior.
>>>
>>>
>>>
>>>
>>> --
>>> Miguel A. Madero Reyes
>>> www.miguelmadero.com (blog)
>>> m...@miguelmadero.com
>>>
>>> ___
>>> ozsilverlight mailing list
>>> ozsilverlight@ozsilverlight.com
>>> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>>>
>>>
>>
>> ___
>> ozsilverlight mailing list
>> ozsilverlight@ozsilverlight.com
>> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>>
>>
>
>
> --
> Miguel A. Madero Reyes
> www.miguelmadero.com (blog)
> m...@miguelmadero.com
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Opening an OOB App

2010-10-04 Thread Chris Anderson
Ah, nice.  Will have to remember that one.  Of course you'll need elevated
trust to be able to do that, but looks like a good solution.  Thanks for
sharing Miguel.

Chris


On 5 October 2010 15:26, Miguel Madero  wrote:

> Everyone,
>
> I remember a few months ago at an SDDN meeting we were talking about
> options to start an OOB App like looking at the shortcuts in the start menu
> or trying to guess based on the random paths that the app might get
> installed on. I found a nice option. Essentially we use the 'origin' as the
> key instead of trying to find the path to the xap.
>
>
> From Tim Heuer 
> blog
>
>  Automatically Launching the App
>
> So what if you wanted to also automatically launch the app after installing
> (i.e., the CD/DVD ‘autorun’ scenario).  You again would use sllauncher.exe
> to do this for you *after you’ve installed the app*.  Using our same
> sample above here would be the command:
>
>1: "%ProgramFiles%\Microsoft Silverlight\sllauncher.exe"
>
>2: /emulate:"Silverface.xap"
>
>3: 
> /origin:"http://www.silverlight.net/content/samples/apps/facebookclient/ClientBin/Silverface.xap";
>
>4: /overwrite
>
>  Notice the *emulate* command.  This is the launcher.  Now you’ll notice
> that this isn’t the same command-line options if you looked at an installed
> applications’ created shortcuts.  Because the folder where the XAP gets
> installed is pretty random, we use the origin as the hint to the
> sllauncher.exe program to find the right app for us and start it up.  I’ve
> found that using /overwrite will also give a more consistent behavior.
>
>
>
>
> --
> Miguel A. Madero Reyes
> www.miguelmadero.com (blog)
> m...@miguelmadero.com
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


September Sydney SDDN Meeting

2010-09-10 Thread Chris Anderson
Hi All

Here's the details of the upcoming Sydney SDDN meeting.  The event on
Facebook is not up yet, but hopefully it will be soon (please RSVP!).

When: Monday September 20th, 2010, 6:00 pm to start 6:30 pm
Where: City Hotel (map) 347 Kent Street (Corner of King Street). Second
floor at the Kent Street Living Room.
Cost: Free, but please RSVP
What: two great presentations, networking and good discussions over a great
meal and beers.

This month we will have two great presentations - the first on Windows Phone
7 by Nick Randolph, and the second on Visual Studio LightSwitch by Jose
Fajardo. Here are the details.

*The Silverlight Analytics Framework*
*by Nick Randolph*
So you’ve built your first Windows Phone application but do you know if
anyone’s actually using it? Earlier this year Microsoft announced the
Silverlight Analytics Framework and since your Windows Phone application is
written in Silverlight, you should be able to use it! In this session we go
on a quick lap around the analytics framework and how you can use it to
track how, when and where your application is used.

*Lightswitch, should you care or not ?!*
*by Jose Fajardo*
A quick walk thru of a LightSwitch generated Silverlight app. Followed by an
in depth discussion on the wizard process and how this impact’s us as
Silverlight developers as we build our RIA’s manually.

Regards

Chris Anderson
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Silverlight RIA Services

2010-08-12 Thread Chris Anderson
Also try deleting the Generated_Code folder from under your Silverlight
project's folder.  That forces the client side regeneration (which I've
personally found more reliable than cleaning / rebuilding the solution).

Chris


On 12 August 2010 19:27, Tony Wright  wrote:

>  Have you done a clean solution lately? Sometimes the generated code gets
> out of sync with the original, and the only way to get it to regenerate is
> to clean first.
>
>
>
> T.
>
>
>
> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto:
> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *Shingi Mutandwa
> *Sent:* Thursday, 12 August 2010 5:41 PM
> *To:* ozSilverlight
> *Subject:* Re: Silverlight RIA Services
>
>
>
> Hi Tony
>
> I have the service class decorated with
>
> [EnableClientAccess()]
>
> Regards,
>
> Shingi
>
> On Thu, Aug 12, 2010 at 5:34 PM,  wrote:
>
> Hi Shingi,
>
> It sounds like the object does not exist within the generated code within
> the Silverlight component.
>
> This means that the object is not shared properly from the web app.
>
> There are a number of reasons for this - perhaps you don't have an
> [EnableClientAccess] attribute
> on your class?
>
> Regards,
> Tony
>
>
>
> On Thu, Aug 12th, 2010 at 5:24 PM, Shingi Mutandwa <
> shingi.mutan...@gmail.com> wrote:
>
> > Could somebody help me with the System.InvalidOperationException with the
> > message below inside the generated client code of my Silverlight RIA
> > services:-
> >
> > This EntityContainer does not contain an EntitySet of type
> > 'Deintegro.DAL.Data.Title'. If the type is external to this
> > EntityContainer,
> > please make sure you’ve called AddReference to establish the external
> > link.
> >
> > The exception gets thrown when it tries to return the value of an
> > association property.
> >
> > Regards,
> >
> > Shingi
> >
>
>
>   ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Invalid XML (Key attribute fixed)

2010-07-29 Thread Chris Anderson
Commanding wasn't actually implemented in Silverlight 3, so I'm guessing
that's why you're experiencing the behaviour that you are.  Silverlight 3
had the ICommand interface, but no controls actually supported it (they
didn't have the Command/CommandParameter properties).  So you'd expect
Expression Blend and VS2008 to kick up a fuss.  Instead, you had to use the
Expression Blend Interactivity library, which enabled you to use commands
using attached properties.  However, you say you have it working, which is a
bit confusing.  I'm totally making a random guess here, maybe you have the
Silverlight 4 runtime installed, so even though it's a Silverlight 3 app it
works because commands were partially implemented in Silverlight 4?  I don't
know if that's the case, but it's a possibility.

Chris


On 29 July 2010 14:28, Greg Keogh  wrote:

>  The error *Key attribute can only be used on an element* was caused by
> pasting the block of XAML over from a WPF application into SL3.  Simply
> removing the x:Key from the element fixes the problem with no side effects.
> I wasn’t using the Key in code.
>
>
>
> However, more than an hour of web searching and experiments has failed to
> make Blend 3 recognise the *Command=* element and the designer remains
> broken. I felt sure that adding something to the  as a hint to
> Blend’s XAML parser would fix it, but no luck so far.
>
>
>
>  -- Greg
>
>
>
>
>
>
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
<>___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Out of memory exceptions in VS2010 with Silverlight 4

2010-07-22 Thread Chris Anderson
I might just point out, I'm running Windows 7 and get the errors.  Kinda
agree on your perspective for keeping developers productive though :).

Chris


On 23 July 2010 10:52, Corneliu Tusnea  wrote:

> Lol, I don't get it why people get stuck with XP in 32b edition and all
> it's limitations. It's an OS designed 14 years ago!!! 14!! And released 12
> years ago.
>
> Do any of your guys drive a car 14 years old?
>
> Next thing you should do to yourself:
> - remove source control and do manual merges: cost $2000
> - replace your locks from the doors with a dodgy one that takes 15 minutes
> to open: cost $500
> and so on :)
> Sorry, I have to be a bit sarcastic on this :)
>
>
> How about:
> $1600 = 9 W7 Pro Licences if you buy them in a 3 licence pack (
> http://www.myshopping.com.au/PR--335070_Windows_7_Professional)
> $2000 = 8Gb of memory for almost all your 7 developers (
> http://www.staticice.com.au/cgi-bin/search.cgi?q=8gb+ddr2&spos=1)
> $1000 = 7200rpm HDDs for all your developers
> http://www.staticice.com.au/cgi-bin/search.cgi?q=7200rpm+500gb+hdd&spos=1
>
> And you'll never see those problems again.
> 3 days of "lost" productivity and cost and your are done. You'll start
> being productive and remove all your frustrations.
>
> Corneliu.
>
>
>
> 
> From: ozsilverlight-boun...@ozsilverlight.com [
> ozsilverlight-boun...@ozsilverlight.com] On Behalf Of ton...@tpg.com.au [
> ton...@tpg.com.au]
> Sent: Friday, 23 July 2010 10:20 AM
> To: ozsilverlight@ozsilverlight.com
> Subject: Out of memory exceptions in VS2010 with Silverlight 4
>
> Hi all,
>
> It's Friday, so I thought I would let you know about one issue in our team.
>
> Basically, we are running 32-bit Windows XP. The machines have anywhere
> between 2 and 4GB
> RAM. Everyone in the team gets System Out Of Memory Exceptions. When that
> happens, you have
> wasted the compile time, and then you have to shut down VS2010, start it
> up, then open up the
> solution. The solution has a significant number of projects in it.
> Apparently this problem only
> happens in 32-bit windows.
>
> So for the whole restart process, we have assigned 10 minutes to this
> procedure.
>
> Next we have logged the total crash time for our team of 7 developers (some
> days people were
> away, but it ultimately doesn't matter).
>
> The times lost are as follows:
> 14th 240 mins
> 15th 100 mins
> 18th 120 mins
> 19th 60 mins
> 20th 200 mins
> 21st 100 mins
> 22nd 140 mins
>
> we have assigned an arbitrary value against the times of $100/hour. So the
> loss of productivity is
> 16 hours @ $100/hour = $1600.
>
> Hopefully soon these figures will become a significant enough figure to
> justify an upgrade!
>
> Regards,
> Tony
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Out of memory exceptions in VS2010 with Silverlight 4

2010-07-22 Thread Chris Anderson
Yeah, I have this problem too.  It's damn annoying.  Have you tried just
doing a rebuild of the solution instead of restarting VS though?  That
(often) works for me.  Still, it would be better that it didn't exist as a
problem.

Chris


On 23 July 2010 10:20,  wrote:

> Hi all,
>
> It's Friday, so I thought I would let you know about one issue in our team.
>
> Basically, we are running 32-bit Windows XP. The machines have anywhere
> between 2 and 4GB
> RAM. Everyone in the team gets System Out Of Memory Exceptions. When that
> happens, you have
> wasted the compile time, and then you have to shut down VS2010, start it
> up, then open up the
> solution. The solution has a significant number of projects in it.
> Apparently this problem only
> happens in 32-bit windows.
>
> So for the whole restart process, we have assigned 10 minutes to this
> procedure.
>
> Next we have logged the total crash time for our team of 7 developers (some
> days people were
> away, but it ultimately doesn't matter).
>
> The times lost are as follows:
> 14th 240 mins
> 15th 100 mins
> 18th 120 mins
> 19th 60 mins
> 20th 200 mins
> 21st 100 mins
> 22nd 140 mins
>
> we have assigned an arbitrary value against the times of $100/hour. So the
> loss of productivity is
> 16 hours @ $100/hour = $1600.
>
> Hopefully soon these figures will become a significant enough figure to
> justify an upgrade!
>
> Regards,
> Tony
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: RTF in silverlight

2010-05-14 Thread Chris Anderson
Hi Steven

I wrote an article (for Silverlight 2, but still valid), which covers
creating an IFrame and displaying HTML/PDF/Word/etc inside it using their
browser plugins:
www.silverlightshow.net/items/Building-a-Silverlight-Line-Of-Business-Application-Part-6.aspx.
 To me, it does look as though it's a part of the application (assuming the
user has the corresponding plugin installed).  It resizes with the browser
window, and you get all the functionality of that plugin (particularly
printing).  Alternatively, check out the Document Toolkit from First Floor
Software (by Koen Zwikstra, of Silverlight Spy fame):
http://firstfloorsoftware.com/documenttoolkit.  It displays XPS, and he
discussed displaying PDF using it too (not sure on the status of that
though).  Check out my example anyway too, and see what you think.  I also
discuss this topic (primarily in regards to reporting) in my upcoming book
Pro Business Applications with Silverlight 4 (for Apress).

In terms of displaying RTF, you might want to look at some open source RTF
parsers in C# like:

http://www.codeproject.com/KB/string/nrtftree.aspx
http://www.codeproject.com/KB/recipes/RtfConverter.aspx

I'm sure it would take little (or no) effort to port to Silverlight.

Hope this helps...

Chris



On 15 May 2010 08:52, Steven Nagy  wrote:

> You’re right to a degree. We get stuff in a variety of formats from
> different systems. Some are plain text, some are RTF, some are strongly
> typed classes of data, etc. So RTF is a source type that we have no control
> over.
>
>
>
> We also investigated the option of converting RTF to HTML and displaying
> that in a Html control (I tried all the control vendors controls here as
> well). Essentially they ‘cheat’ by putting a browser element into
> Silverlight. The result is that nothing can render over the top of the HTML;
> its always on top. In our case we do need menus to render over the HTML.
> There are other work-arounds for this problem but they degrade the user
> experience.
>
>
>
> PDF is possible; we could convert to PDF on the server side and return a
> link to the PDF file. However we are looking for a richer embedded
> experience where the content being displayed looks like it is part of the
> page. I’m not sure that we could achieve that with PDF.
>
>
>
> It’s a shame that we’re up to version 4 of SL and still have to make
> compromises. I’m too stubborn for that. J
>
> However I also realise that it’s a niche problem and SL can’t accommodate
> all scenarios.
>
> *Steven Nagy
> *Readify | Senior Developer
>
> M: +61 404 044 513 | E: steven.n...@readify.net | B: azure.snagy.name
>
>
>
> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto:
> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *Barry Beattie
> *Sent:* Saturday, 15 May 2010 8:50 AM
>
> *To:* ozSilverlight
> *Subject:* Re: RTF in silverlight
>
>
>
> just putting on my BA hat for a second
>
>
>
> I know the service call is spitting out RTF, but why RTF and not, say, PDF?
> it sounds like you just need to render them, not interact with them.
>
>
>
> just curious
>
>
>
>
>
>
>
> On Sat, May 15, 2010 at 8:11 AM, Steven Nagy 
> wrote:
>
> Thanks for the various responses.
>
>
>
> The Telerik control – I couldn’t see that it supported RTF. Its funny
> because there’s lots of RichTextbox controls out there but very few actually
> support RTF (most have their own versions of WPF’s FlowDocument instead).
>
>
>
> I suspect these issues are because different companies have different
> implementations of the specification. Plus the specification has many
> versions.
>
> Plus some writers/readers may be more tolerant to invalid control codes,
> while others are more strict. What the world needs is an RTF validator where
> you can post your RTF.
>
>
>
> I didn’t know Silverlight supported XPS, I’ll investigate that option.
>
>
>
> Thanks for the sample Carl, I actually need RTF though, including image
> data which is embedded in the RTF as binary. Pretty much fill RTF support in
> SL is required.
>
>
>
> Tried the ComponentOne control as well – didn’t seem to support tables
> properly either. This seems to be a common problem.
>
>
>
> Thanks again all.
>
> *Steven Nagy
> *Readify | Senior Developer
>
> M: +61 404 044 513 | E: steven.n...@readify.net | B: azure.snagy.name
>
>
>
> *From:* ozsilverlight-boun...@ozsilverlight.com [mailto:
> ozsilverlight-boun...@ozsilverlight.com] *On Behalf Of *jason schluter
> *Sent:* Saturday, 15 May 2010 1:02 AM
> *To:* ozsilverlight@ozsilverlight.com
> *Subject:* RE: RTF in silverlight
>
>
>
> Perhaps you can convert it to XPS?
> --
>
> From: steven.n...@readify.net
> To: ozsilverlight@ozsilverlight.com
> Date: Thu, 13 May 2010 16:31:31 -0700
> Subject: RTF in silverlight
>
> Hi all,
>
>
>
> I've got the a bunch of RTF coming from a service call that needs to
> render.
>
> I have two options: Find a control that can render RTF or convert the RTF
> to something else on the server si

Re: Validation on non visible datagrid

2010-05-10 Thread Chris Anderson
How are you implementing validation?  Data annotations, or manually?  If
you're using Silverlight 4 and doing it manually, then Miguel's response is
probably best.  If you are using data annotations, then use the Validator
class to validate the selected item in the DataGrid.  But in Silverlight 3
+ manually, I think you're out of luck (I think, but don't know for sure in
terms of the DataGrid) - handling that sort of situation is just one of the
big problems with the exception based validation model as it was implemented
in Silverlight 2/3...

Chris


On 11 May 2010 12:59, Miguel Madero  wrote:

> Could you consider using INotifyDataErrorInfo or at least IDataErrorInfo?
> This scenario is trickier with ValidatesOnException.
> INotifyDataErrorInfo is the best way to do it and there're no changes
> needed to your bindings (as you need to for ValidatesOnException and
> IDataErrorInfo)
>
> --
> Miguel A. Madero Reyes
> www.miguelmadero.com (blog)
> m...@miguelmadero.com
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Sydney SDDN Meeting Reminder

2010-04-05 Thread Chris Anderson
Just a reminder that the Sydney SDDN meeting is tonight at 6pm (for 6:30).
 If you haven't done so, please register on the Facebook event here:
http://www.facebook.com/event.php?eid=105897519447617&index=1 so we can
order enough pizza.  I'll give a bit of a rundown of the outcomes from
MIX10, and Jose will talk about developing for Windows Phone 7 (or the Zune
Phone as I prefer to call it).

Oh, and bring your external HD / USB keys / laptops / (trying to think of
something suitably silly for this entry, but got nothing at this time of
night), as thanks to Justin King who consumed great slabs of bandwidth to
download all the MIX10 videos (16GB worth apparently, so come prepared) will
have them all available for download off an external HD.  If Justin doesn't
make it then we have a backup of Ewen Wallace (aka @CADbloke) who has
already grabbed them from Justin and will also bring them on an external HD.
 There is a ton of great content there, and is is your best chance to get
them if you haven't got them already and want to reserve your bandwidth for
other potentially less reputable purposes.

And hey, if none of that got your attention, there's free pizza!  See you
then!

Chris Anderson
Resident Sydney SDDN Rambler
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Generating Office/PDF documents

2010-02-28 Thread Chris Anderson
Hi Greg

I wrote an article similar to this topic.  It was back in Silverlight 2, but
most of the concepts still hold.  It involves generating a PDF on the fly on
the server and streaming it through to the client for display in an Iframe
overlaid on your application.  That's not possible in OOB scenarios, but
Silverlight 4 has the WebBrowser control that you could use to display it in
OOB mode.  As Miguel said, you can pretty easily generate a docx file
instead (on either the client or the server) and display it in the Iframe
(assuming the clients have Word 2007 or later installed, or the docx filters
for Office 2003)  - it's actually really easy to do as a docx file is just a
zip file and makes the process really easy.  I once worked with WordML (for
Office 2003), though I'd avoid that if possible, as it's pretty nasty stuff.
 The issue generating reports/documents server side is when the user wants
to print the screen, or populate a report without saving the data back on
the server - although you can find ways to still do that without too much
trouble.  My article here should hopefully help you somewhat:
http://www.silverlightshow.net/items/Building-a-Silverlight-Line-Of-Business-Application-Part-6.aspx.
 Blatant self promotion: I'm currently writing a book called Pro Business
Applications in Silverlight 4 for Apress, due out mid-year.  It covers all
of this sort of stuff, and there is a chapter dedicated to reporting in
Silverlight 4, covering what's in the article above and a lot of the new
features available in Silverlight 4 to support reporting scenarios.

Regards

Chris Anderson
Twitter: @christhecoder


2010/2/28 Miguel Madero 

> If it's something simple Html could be enough. You could generate Html from
> Silverlight and then save it as a file with a docx or xlsx extension.
> If you could use a template, it might be simple to open an existing Office
> File, set the values in the placeholders and save it back.
> You could generate it from scratch, but it would require a good knowledge
> of the format, which I don't think it's worth expending time on.
>
> This post might give you some ideas of what you could do with SharpLib and
> messing with the xml
>
> http://www.dotnetsolutions.co.uk/blog/archive/2009/07/21/writing-ms-office-documents-from-silverlight-3/
>
> About your first option, it's certainly possible to open a new window.
>
> System.Windows.Browser.HtmlPage.Window.Navigate("myUrl","_blank");
>
> That will do a get on a new window. This needs to be invoked in response to
> a user action (e.g. a click). If you need to do a post instead of get, it's
> possible using the HtmlBridge, let me know and I can send you a sample.
>
>
> --
> Miguel A. Madero Reyes
> www.miguelmadero.com (blog)
> m...@miguelmadero.com
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: RIA Domain Services and required dependencies

2010-01-27 Thread Chris Anderson
Try deleting the contents of the Generated_Code folder (it's hidden, use
Show All Files to see it) - sometimes RIA Services stops updating the code
files, but deleting them will get it generating them properly again.  Also
make sure that your custom validation code is in a .shared.cs file so it is
being copied to the client.

Chris Anderson


2010/1/28 

> It's ok, I think I figured it out. The attribute is not available on the
> client side. Within the generated
> code for the class, it was missing the TermCustomValidation class and it
> has the following
> message. So now I just have to figure out why the class isn't coming across
> to the client.
>
> T.
>
> // Unable to generate the following attribute due to the following
> error(s):
>//
>// - The attribute
> 'System.ComponentModel.DataAnnotations.CustomValidationAttribute'
> references type 'Brightstar.SSP.Web.Shared.TermCustomValidation' that is
> not accessible in the
> client project 'Brightstar.SSP.csproj'. Are you missing an assembly
> reference?
>// - The attribute
> 'System.ComponentModel.DataAnnotations.CustomValidationAttribute'
> references a method 'EnsureTermCategory' on
> type 'Brightstar.SSP.Web.Shared.TermCustomValidation' that is not
> accessible in the client
> project 'Brightstar.SSP.csproj'.
>// [CustomValidationAttribute(typeof
> (Brightstar.SSP.Web.Shared.TermCustomValidation), "EnsureTermCategory",
> ErrorMessageResourceName = "TTermCategoryRequiredError",
> ErrorMessageResourceType =
> typeof(Brightstar.SSP.Web.Resources.ValidationErrorResources))]
>//
>
>
>
>
> On Thu, Jan 28th, 2010 at 4:33 PM, ton...@tpg.com.au wrote:
>
> > I just reflected over the code and found that it was using some
> > reflection to retrieve the custom
> > attributes. So I added in this code to see if the attributes were, in
> > fact, visible.
> >
> > foreach (PropertyInfo info in
> > typeof(Term).GetProperties())
> > {
> > foreach (Attribute attribute in
> > info.GetCustomAttributes(true).Cast())
> > {
> > Debug.WriteLine(attribute);
> > }
> > }
> >
> > And the answer is that it can see all the normal attributes, such as
> > RequiredAttribute,
> > DisplayAttribute, etc, but NOT the CustomValidationAttribute. Note
> > that I have done a clean before
> > building. I don't know why it's not recognising the CustomValidation
> > attribute. Perhaps it is
> > something to do with the meta data needing to map the particular
> > attribute to the original class?
> >
> > T.
> >
> > On Thu, Jan 28th, 2010 at 3:32 PM, ton...@tpg.com.au wrote:
> >
> > > Hi Miguel,
> > >
> > > I ran the code:
> > > var ctx = new ValidationContext(dfTermItem.CurrentItem, null, null)
> > {
> > > MemberName
> > > = "TermCategoryID" };
> > > var validationResults = new Collection();
> > > //validate against a guid that should fail
> > > if (Validator.TryValidateProperty(new
> > > Guid("---0022-0002"), ctx,
> > > validationResults))
> > > {
> > >  Debug.WriteLine("Success");
> > > }
> > > else
> > > {
> > >  Debug.WriteLine("Fail");
> > > }
> > >
> > > It always returns "Success" and unfortunately, it didn't fire the
> > > Custom Validator at all.
> > >
> > > dfTermItem.CurrentItem is of type "Term"
> > >
> > > Term has a property TermCategoryID
> > >
> > > In the metadata.cs file, TermCategoryID is declared as follows:
> > >
> > > [CustomValidation(typeof
> > >
> > (TermCustomValidation),"EnsureTermCategory",ErrorMessageResourceName
> > >
> > > = "TTermCategoryRequiredError", ErrorMessageResourceType = typeof
> > > (ValidationErrorResources))]
> > > [Bindable(true, BindingDirection.TwoWay)]
> > > public Guid TermCategoryID;
> > >
> > > TermCustomValidation is a static class:
> > > public static class TermCustomValidation
> > > {
> > >
> > > public static ValidationResult EnsureTermCategory(Guid
> > > TermCategoryID, ValidationContext
> > > validationConte

Re: Silverlight 4.0 beta

2009-11-23 Thread Chris Anderson
As a book author for Silverlight, believe me it's hard!  Unfortunately I
don't have inside information either - so I'm left guessing as much as
everyone else with when and what is coming.  Originally my book
(Professional Business Applications in Silverlight for Apress) was due in
December (for Silverlight 3), then it needed to be done by September to be
viable.  It takes several months (about 3-4) from submission to be on
shelves, making it nearly impossible with these rapid release cycles.  As a
developer I love the constant feature additions and rapid growth of
Silverlight, but as an author it's nigh on impossible.

PS. I just looked at the top book from the picture you provided, and the top
one is mine.  But it's not coming in that form (surprised it's still there)
- there will be a Silverlight 4 version though (if I can write it in time
before Silverlight 5 is announced!).  Unfortunately about 15,000 words (plus
lots of code) of what I had written has now become redundant with the
Silverlight 4 features announced.  I have to admit that really stings - all
that work to be scrapped.

Chris Anderson


2009/11/23 Craig Dunn 

> >>I can't help but feel overwealmed with their release cycles. :)
>
> Imagine if you were a book author! SL4 could be out before these SL3 books
> reach the shelves...
>
> http://twitpic.com/q21be
>
> cd
>
> On Mon, Nov 23, 2009 at 5:24 PM, Stephen Price 
> wrote:
>
>> Is anyone playing with the Silverlight 4.0 beta?
>> How come everyone here is so quiet about it? I'm on semi holidays in
>> Canberra and missed the announcement. Thought I would have seen some
>> discussion on it here tho.
>>
>> Shame on you. :p
>>
>> In particular, this new feature has caught my eye... "The .NET Common
>> Runtime (CLR) now enables the same compiled code to be run on the desktop
>> and Silverlight without change."
>>
>> If I read that correctly then I should be able to do normal unit testing
>> (ie using normal test runners such as Resharper, nUnit, TestDriven.net etc).
>> Can anyone confirm that?
>>
>> Some pretty cool new features. I can't help but feel overwealmed with
>> their release cycles. :)
>>
>> cheers,
>> Stephen
>>
>> ___
>> ozsilverlight mailing list
>> ozsilverlight@ozsilverlight.com
>> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>>
>>
>
> ___
> ozsilverlight mailing list
> ozsilverlight@ozsilverlight.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Style checkbox in a custom control

2009-04-23 Thread Chris Anderson
You'll find the .g.cs files under your obj folder in your project...

Hope this helps....

Chris Anderson

2009/4/23 Stephen Price 

> Hey all,
> I'm wanting to create a default style for a number of checkboxes that are
> added to a custom control dynamically in code.
>
> I'd like the style to go in the generic.xaml and have found some info on
> applying styles to controls via TemplateBindings, but it doesn't look like I
> can do that in code. (Must be the only thing you have to do in xaml and
> can't do in code??)
>
> I was thinking of opening up a .g.cs file to see how its doing it from the
> xaml but can't find a way to intentionally open a .g.cs file. (Have opened
> them when had errors in them)
>
> anyone seen anything on this or done it?
>
> thanks,
> Stephen
>
> --
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists



Re: Blend 3

2009-03-23 Thread Chris Anderson
Hi Miguel

I'll properly write up the list and send it when I've finished my testing.
Most of the bugs currently centre around the DataPager control - it's got a
few of them.

In regards to the SelectedValue issue, I wrote this up in this article here:

http://www.silverlightshow.net/items/Building-a-Silverlight-Line-Of-Business-Application-Part-5.aspx

under the heading ComboBox Nightmare.  The cascading dropdown height issue
has now been resolved in the Silverlight 3 beta, but there's still no
SelectedValue/SelectedValuePath/SelectedValueBinding properties for
instances where (in my example) you have a Product business object with a
ModelID property, and a collection of key/value pair objects (dictionary
items) of model ID's and descriptions in a combobox.  If you can set the
SelectedValuePath to the ID property on the dictionary items, and you can
set the SelectedValueBinding to the ModelID property on the business
object.  Wires up nicely for business application scenarios in which this
pattern occurs very frequently.  With binding to the SelectedItem property
you have to do an awful hack like I detail in my article using a
ValueConverter.  I've also seen a method of wrapping the ComboBox in a
control and adding the functionality but that's not ideal either.  If
Silverlight is really going for the business application market and
Silverlight 3 appears to be it needs this simple functionality in my
opinion.

I have blogged some of my thoughts on Silverlight 3 here:

http://chrisa.wordpress.com/2009/03/22/mix09-news

Chris




2009/3/23 Miguel Madero 

> Chris,
> What woudl you use SelectedValue (instead of SeletedItem)?
> I'm interested to know about those bugs and specially if you have some
> workarounds. Unfortunately I didn't have a list, but we have found many
> too.
>   --
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>

Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists



Re: Blend 3

2009-03-23 Thread Chris Anderson
OK, thanks for that Scott.

Chris

2009/3/23 Scott Barnes 

>  You can file bugs here if you like -
> http://silverlight.net/forums/28.aspx
>
>
>
> That or forward them to me as well. If you’ve got questions or feedback
> etc, send them to me as well.
>
>
>
>
>
> *From:* ozsilverlight@ozsilverlight.com [mailto:
> ozsilverli...@ozsilverlight.com] *On Behalf Of *Chris Anderson
> *Sent:* Monday, March 23, 2009 3:11 AM
> *To:* ozsilverlight@ozsilverlight.com
> *Subject:* Re: Blend 3
>
>
>
> Hi Scott
>
>
>
> What's the best way to let you know of bugs and request features - emailing
> them here / to you or via Microsoft Connect?  I have a list of 9
> bugs/questions/feature requests so far from my play over the weekend.  I've
> been writing an article series on the SilverlightShow website since Beta 2
> of Silverlight 2 on building business applications in Silverlight and while
> this changes everything (I'm very impressed) there are still a couple of
> holes left to fill (still no SelectedValue property on ComboBox is a big
> one).
>
>
>
> Thanks
>
>
>
> Chris Anderson
>
> 2009/3/23 Scott Barnes 
>
> Glad you like the RIA Services. Brad A’s team has worked very hard on
> making them happen.
>
>
>
> It was very cool catching up with you guys at MIX – even if you both kept
> me out late beyond my sleep curfew. Remember to keep the input coming my
> way, and *treat Microsoft like your doctor – don’t hide your pain,
> otherwise we’ll misdiagnose it.*
>
>
>
> Now to ship  J
>
>
>
>
>
> *From:* ozsilverlight@ozsilverlight.com [mailto:
> ozsilverli...@ozsilverlight.com] *On Behalf Of *Jordan Knight
> *Sent:* Sunday, March 22, 2009 7:20 PM
>
>
> *To:* ozsilverlight@ozsilverlight.com
> *Subject:* RE: Blend 3
>
>
>
> Hear hear :)
>
>
>
> *From:* ozsilverlight@ozsilverlight.com [mailto:
> ozsilverli...@ozsilverlight.com] *On Behalf Of *Philip Beadle
> *Sent:* Monday, 23 March 2009 9:54 AM
> *To:* ozsilverlight@ozsilverlight.com
> *Subject:* RE: Blend 3
>
>
>
> Im loving RIA Services so far.  MIX is my fave conference of all, I feel
> like ive been hit by a truck now but it was worth it.
>
>
>
> Big thanx to Shanemo, Kordsy and Scotty, had a blast :)
>
>
>
> Regards,
>
> *Philip Beadle*
> Readify | Principal Consultant
> Microsoft MVP - ASP/ASP.NET <http://asp.net/>
>
>
>
> Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
> M: +61 417 301 024 | E: philip.bea...@readify.net | C:
> philip.bea...@readify.net | W: www.readify.net
>  --
>
> The content of this e-mail, including any attachments is a confidential
> communication between Readify Pty Ltd and the intended addressee and is for
> the sole use of that intended addressee. If you are not the intended
> addressee, any use, interference with, disclosure or copying of this
> material is unauthorized and prohibited. If you have received this e-mail in
> error please contact the sender immediately and then delete the message and
> any attachment(s).
>
> *P** **Please consider your environmental responsibility before printing
> this e-mail*
>  --
>
> *From:* ozsilverlight@ozsilverlight.com [ozsilverli...@ozsilverlight.com]
> On Behalf Of Miguel Madero [...@miguelmadero.com]
> *Sent:* Monday, 23 March 2009 9:48 AM
> *To:* ozsilverlight@ozsilverlight.com
> *Subject:* Re: Blend 3
>
> Thanks for the tip, however I'd like to test the new SL toolkit for SL3 and
> RIA Services and the only way, specially for the latter, is to install the
> SL tools for VS. Unfortunately I had to do it on a separate machine.
>  --
>
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>  --
>
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.238 / Virus Database: 270.11.23/2016 - Release Date: 03/22/09
> 17:51:00
>  

Re: Blend 3

2009-03-23 Thread Chris Anderson
Hi Scott

What's the best way to let you know of bugs and request features - emailing
them here / to you or via Microsoft Connect?  I have a list of 9
bugs/questions/feature requests so far from my play over the weekend.  I've
been writing an article series on the SilverlightShow website since Beta 2
of Silverlight 2 on building business applications in Silverlight and while
this changes everything (I'm very impressed) there are still a couple of
holes left to fill (still no SelectedValue property on ComboBox is a big
one).

Thanks

Chris Anderson

2009/3/23 Scott Barnes 

>  Glad you like the RIA Services. Brad A’s team has worked very hard on
> making them happen.
>
>
>
> It was very cool catching up with you guys at MIX – even if you both kept
> me out late beyond my sleep curfew. Remember to keep the input coming my
> way, and *treat Microsoft like your doctor – don’t hide your pain,
> otherwise we’ll misdiagnose it.*
>
>
>
> Now to ship  J
>
>
>
>
>
> *From:* ozsilverlight@ozsilverlight.com [mailto:
> ozsilverli...@ozsilverlight.com] *On Behalf Of *Jordan Knight
> *Sent:* Sunday, March 22, 2009 7:20 PM
>
> *To:* ozsilverlight@ozsilverlight.com
> *Subject:* RE: Blend 3
>
>
>
> Hear hear :)
>
>
>
> *From:* ozsilverlight@ozsilverlight.com [mailto:
> ozsilverli...@ozsilverlight.com] *On Behalf Of *Philip Beadle
> *Sent:* Monday, 23 March 2009 9:54 AM
> *To:* ozsilverlight@ozsilverlight.com
> *Subject:* RE: Blend 3
>
>
>
> Im loving RIA Services so far.  MIX is my fave conference of all, I feel
> like ive been hit by a truck now but it was worth it.
>
>
>
> Big thanx to Shanemo, Kordsy and Scotty, had a blast :)
>
>
>
> Regards,
>
> *Philip Beadle*
> Readify | Principal Consultant
> Microsoft MVP - ASP/ASP.NET <http://asp.net/>
>
>
>
> Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
> M: +61 417 301 024 | E: philip.bea...@readify.net | C:
> philip.bea...@readify.net | W: www.readify.net
>  --
>
> The content of this e-mail, including any attachments is a confidential
> communication between Readify Pty Ltd and the intended addressee and is for
> the sole use of that intended addressee. If you are not the intended
> addressee, any use, interference with, disclosure or copying of this
> material is unauthorized and prohibited. If you have received this e-mail in
> error please contact the sender immediately and then delete the message and
> any attachment(s).
>
> *P** **Please consider your environmental responsibility before printing
> this e-mail*
>  --
>
> *From:* ozsilverlight@ozsilverlight.com [ozsilverli...@ozsilverlight.com]
> On Behalf Of Miguel Madero [...@miguelmadero.com]
> *Sent:* Monday, 23 March 2009 9:48 AM
> *To:* ozsilverlight@ozsilverlight.com
> *Subject:* Re: Blend 3
>
> Thanks for the tip, however I'd like to test the new SL toolkit for SL3 and
> RIA Services and the only way, specially for the latter, is to install the
> SL tools for VS. Unfortunately I had to do it on a separate machine.
>  --
>
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>  --
>
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.238 / Virus Database: 270.11.23/2016 - Release Date: 03/22/09
> 17:51:00
>  --
>
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>   --
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http

Re: Silverlight Reporting apps

2009-02-05 Thread Chris Anderson
Hi Bruce

I written about reporting in Silverlight applications as a part of my
Building Line Of Business Applications in Silverlight article series on the
SilverlightShow.net website.  While this isn't using an Oracle it should be
straightforward to convert.  Here's a link:

http://www.silverlightshow.net/items/Building-a-Silverlight-Line-Of-Business-Application-Part-6.aspx

Chris

2009/2/6 Jonathan Parker 

> You can use Entity framework with Oracle as well to write your web service:
>
> http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtAdoNet35Provider
>
>
> On Fri, Feb 6, 2009 at 10:25 AM, Caleb Jenkins <
> caleb.jenk...@improvingenterprises.com> wrote:
>
>>  Bruce,
>>
>>
>>
>> You should look at the charting a in the Silvelright Control Toolkit (
>> http://codeplex.com/silverlight)
>>
>> Silverlight applications don't have direct access to any back end
>> databases (SQL Server or Oracle). So the database will have to sit behind
>> some sort of access layer (typically a WCF Service or 
>> ADO.NETData Services). You should be able to use the same 
>> concepts found on
>> http://silverlight.net/learn for accessing SQL data and apply them to
>> your Oracle database. Silverlight doesn't care about the specific database
>> because it can't "talk" directly to it anyways.
>>
>>
>>
>> HTH!
>>
>> * *
>>
>> *Caleb Jenkins*
>>
>> *Principal Consultant, Microsoft MVP, INETA National Speaker*
>>
>> *mobile:** 469.867.4552 | **blog:** 
>> http://developingUX.com|
>> **video:** http://communitycast.tv | **twitter:**
>> http://twitter.com/calebjenkins*
>>
>>
>>
>> [image: cid:3287056033_14996262]  *Improving*  – It's what we do.
>> www.improvingenterprises.com
>> Learning Solutions | Certified Consulting | Rural-Sourcing
>>
>>
>>
>> *From:* ozsilverlight@ozsilverlight.com [mailto:
>> ozsilverli...@ozsilverlight.com] *On Behalf Of *Bruce Hopkins
>> *Sent:* Thursday, February 05, 2009 5:20 PM
>> *To:* ozsilverlight@ozsilverlight.com
>> *Subject:* Silverlight Reporting apps
>>
>>
>>
>> Does anyone know of any open source or demo type apps to show how to
>> create a reporting application with a Silverlight frontend that pulls data
>> from an Oracle backend? I've got a little idea I want to play around with a
>> bit and some examples may be useful.
>>
>>
>>
>>
>>
>>
>>
>> Thanks
>>
>> Bruce Hopkins
>>
>> 770-528-4574
>>
>> Director Information Systems
>>
>> Chattahoochee Technical College
>>
>> http://www.chattcollege.com
>>
>>
>>
>>
>>
>>
>>  --
>>
>> Support procedure: https://www.codify.com/lists/support
>> List address: ozsilverlight@ozsilverlight.com
>> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
>> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
>> List FAQ: http://www.codify.com/lists/ozsilverlight
>> Other lists you might want to join: http://www.codify.com/lists
>>   --
>> Support procedure: https://www.codify.com/lists/support
>> List address: ozsilverlight@ozsilverlight.com
>> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
>> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
>> List FAQ: http://www.codify.com/lists/ozsilverlight
>> Other lists you might want to join: http://www.codify.com/lists
>>
>
> --
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>

Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists

<>