Tuesday, May 17, 2011

New Silverlight Video Tutorial: How to create a Rotating Banner


Hello All!
In this 30 minute video I show you how to create three different UserControls; create Storyboards to fade them all in and out; then programatically loop through them.  But you can also click buttons on the bottom of the page to make them skip to a certain frame and theanimation continues.
Enjoy! Vicrtor
PS”This was all from a Twitter request from a user named Anaynapalisuc09

1 Comment for this entry

  • Thor 
    Very nice tutorials, I teaching Silverlight from yours videos. I wonder if html5 and javascript will eventualy replace silverlight and .NET(many ppl say that). I also have question about MVVM… is this smart choice to use, or waste of time (case writing lots of applications with Silverlight?). Have you maby some good link or video how to use mvvm with database connection?

1 Trackback or Pingback for this entry




Wednesday, May 4, 2011

New Silverlight Video Tutorial (10 minute): How to create a fake Winow Control that can be dragged, Expended and Collapsed


Hello All!
In Silveilght 4 there is no WindowControl..that is a Control that looks like a traditioanl Windows window. So, I made my own version, a Window control that can be dragged around, expanded and collapsed.  In this video I show how to do it with two simple Grids, one for Collapsed and one for Expand. I then use the Visual State Manager (VSM) to make it collaspe and expand.  Further I use the MouseDragElementBehavior Behavior to make both the collapsed and expanded windows draggable, just like a real window!  You can see the functioning demo on this Silverilght page:  http://tinyurl.com/456xsno
IMPORTANT: If you watch the video you will wee that after I drag, expand and collapse the window a few times I get a JavaScript error marked by an exclaimation point in the bottom left of the browser window.  Shawn Wildermuth speculates that it is because the Behavior get’s confused about who its parent object is.  The way I fixed it was to wrap the Expanded grid into another Grid and put the MouseDrageElementBehavior on the parent Grid. I don’t show how to do this in the video but it is in my source code (ie., the source code has no JavaScript errorrs).
Enjoy! Victor
PS: We have been growing the Los Angeles Silverilght Group (LASLUG – www.laslug.com) like crazy…for instance we gave away $2500 in gifts in our April meeting…in our next meeting we will be giving away over $12,000 in prizes all FREE to our members; we do not even charge for the Raffle tickets! So join us for pizza, refreshments, great presentations (Morten Neilsen and Josh Kales in May), plenty of Swag from our sponsors and all things Silverlight!
PSS: Our new prizes have been made possible from our new sponsors, Syncfusion, ComponentOne, Manning Books, O’Reilly Books, Nowcom, Telerik, the Windows Phone Dev Podcast, Jeff Levy (the Digital Doctor on KFWB 980 am – Sundays from 5-6pm) where I host a segment called “The Silverlight Corner” bi-monthly. 
To stay abreast of everything going on with LASLUG and get prizes you don’t need to live in the LA area..we often hold online prize give-aways and online meetings and soon all of our meetings will be streaming live.  So, if you live in Los Angeles or  Baton Rouge, LA you can be a LASLUG member by simply signing up for free at www.laslug.com
Victor!

1 Trackback or Pingback for this entry


Friday, April 29, 2011

The Los Angeles Silverlight Usergroup (LASLUG) is Growing by Leaps & Bounds – State of the Usergroup


Hello LASLUGers!
Today we had an occurrence that sets us apart as a premier .NET Usergroup;  today we hit the BIG TIME: Telerik has signed on to become a proud sponsor  of the Los Angeles Silverlight Usergroup.  In their own words, Telerik’s Emily Parker writes “(we) provide 1 Telerik Ultimate Collection valued at $1999/month. This license is our largest bundle so it includes tons of software – check them out here: www.telerik.com/purchase. I know you said other’s do two licenses/month but this license is a  huge bundle which always goes over well.  We send a demo CD with the license codes on them so your winners can just walk away with this and they are all set!  
 Are they awesome or what? 
 Mission Statement:
To provide the local Los Aneles .NET community (with an emphasis on Silverlight & WPF) with the finest speakers that the planent has to offer.  Further, we pledge not to ever charge any of our members any money for this service.  While most other usergroups are free to attend they tend to charge for the raffles whereby they give away prizes.  We not only offer free gourmet pizza, beer, softdrinks and deserts we offer free prizes.  It is our goal to provide every member in attendence with a free prize be it a small prize such as a DevExpress tee-shirt, or a Microsoft Flash drive to something more significant such as an Apress book on how to do game programing for Windows Phone 7 to something very expensive such as Telerik’s Ultimate Silverlight Software Collection (a $1999.00 value).  Further, we promise to update our venues to make it easier for some members to attend one month and then easier for other members to attend another month.  We also feel this keep the group fresh and reduces the chance of them becoming bored with LASLUG meetings.  Finally, we have commited to our sponsors to help them add to their customer base by touting the positive aspects of their products and by encouraging our members to use their decision-making power at their places of employment to employ these books and tools if they enjoy the products we give to them as prizes. We also promise our sponsors high-visibility on our website (www.laslug.com) as well as in our meetings.
So Wed May 25th is the tentative date for our next LASLUG meeting and the first meeting we will be giving away Software from:
1. Telerik (one copy of Ultimate Collection – Value: $1999.00);
2. DevExpress (two copies of Silverlight Controls for Silverlight – Value: $799.99 (times two));
3. Syncfusion (two copies of Essential Studio Enterprise Edition – Value: $1,995.00 (times two));
4. VIBlend (VIBlend WPF Controls package – Value: $349.000), (VIBlend Silverlight Controls package – Value: $499.00).
  
We will also be giving away books:
1. Apress - Four titles to be determined – Approximate Value: $50.00 (times four));
2. FreindsOfEd-  One title, two copies - Expression Blend 4 with Silverlight – Value: $49.00 (times two));
3. Safari Books Online (10 day free trial and 20% off with purchase of a year subscription).
 
We will also have swag from:
4. Telerik
5. VIBlend
6. Nowcom
 
This comes out to a total of $9,283.  So by the time the meeting takes place I expect the prizes to be valued at well over $10,000.
 
And this is just as of right now…we are currently in talks with O’reilly, Manning, Anheuser-Busch, New Belgium Brewers and a few others.
 
So look for email blasts from me and the management team with regards to new sponsorship and meeting details.  Once you get the meeting announcement please secure your spot ASAP as space is limited and I think that will all of these new prizesswaggourmet pizza and beer the meeting is going to fill up fast! 
Visit www.laslug.com to join today!

Friday, April 15, 2011

New Silverlight 5 Video Tutorial: How to Create Implicit DataTemplates


Hello All!
Silverlight 5 Beta just came out yesterday and I am jumping on it with my first video tutorial. 
In this  short 12 minute video I show you how to:
1. Create a custom DataType called Developer. 
2. How to create an ObservableCollection of Developers and then turn that into a DataSource. 
3.  How to bind that DataSource to a ListBox and define a DataTemplate that describes how to show the data (namely a TextBlock for the name and an Image for a picture of the developer). 
4. How to remove that DataTemplate and add it to App.xaml and define a new property called a DataType. 
You will then see how Silverlight 5 will automatically find that DataTemplate anytime you are displaying that custom DataType.
Enjoy!  Victor

3 Comments for this entry


Monday, March 14, 2011

Visual Studio Live in Las Vegas is Coming (April 18-22)


 
Visual Studio Live! is coming up soon (April 18-22) in Las Vegas.
I’ll be there – will you? Join me at Visual Studio Live! in Las Vegas! If you’ve never been to Visual Studio Live, it offers developers, programmers, software engineers and architects an unbiased blend of practical and immediately-applicable training in Visual Studio, Silverlight, WPF, .NET and more. Plus, there will be 2 new tracks on mobile development and HTML5 this year!
Check out the Visual Studio Live! Agenda at http://bit.ly/VSLiveTrks.
See You There!  Victor

1 Comment for this entry


  • lseidman

    Hey Victor,
    First and foremost, I just need to tell you I am a big fan of your WP7 Tutorials! I previously developed strictly for iOS and Android but now WP7 and your videos have opened my eyes to a whole other world of possibilities (e.g. Using Blend with VS to create “Effect’s”) and feel that you deserve recognition for the great tutorials and showing us newberts that it’s not too bad to develop for WP7.
    Also, next time you’re in Vegas let me know! I live here permanent now (again; previously Hollywood + Agoura Hill’s, CA) and have a place in Southern Highlands, it’s about 7K Sq.Ft. and have a theater, maybe you could see I followed your IIS Video to have video stream tomy iPhone but also managed to plug-in RCA hookup to my projector and pretty neat!
    Good luck and keep everything coming!
    Sincerely,
    Lance


Sunday, March 13, 2011

New Silverlight Video Tutorial: How to use the Fluid Move Behavior


Hello All,
In this short 7 minute video tutorial I show you how to use the Fluid Move Behavior. What you will learn:
1. How to create sample data (text and images);
2. How to create a ListBox and bind the ItemsSource to the sample data;
3. How to create a Details Grid that reflects the selected item of the ListBox;
4. How to use the Fluid Move and Fluid Set Tag Behaviors to make the selected item animate from the ListBox to the Master Details Grid;
Enjoy! Victor Gaudioso

1 Comment for this entry