Advertisement

Getting Started with Silverlight development

Over time a few people have contacted me about the missing WatermarkedTextbox from Scott Guthrie’s Digg sample for Silverlight he created a while back.  I had posted the updated code and binaries for WatermarkedTextbox here for you to use if you wish. 

NOTE: Incidentally this is the same code that is actually in the DateTimeTextBox that is included in the Silverlight Toolkit if you just want to use that :-).

After thinking about it though, I decided to take a stab at updating this getting started guide for new developers to Silverlight to incorporate some new features.  This isn’t for you folks that have already got your feet wet.  This is the Hello World –> have something complete in a few steps crowd.  Does it use Prism or MVVM?  No, not yet.  I think I wanted to keep simplicity to help people get started and then refactor from there.

Here’s the breakdown that I created (similar to Scott’s original flow):

I hope this helps some folks and refreshes our getting started content for the newbies!  I’m also going to try to refactor this simple application a few times to help learn the Model-View-ViewModel approach to XAML development so be sure to subscribe to my feed for updates.


This work is licensed under a Creative Commons Attribution By license.

  1. 10/6/2009 10:50 AM | # re: Getting Started with Silverlight development
    Hi Tim;

    Excellent work as always. What I really like about your series, whether videos or blogs, are the fact that you are always focused and you bring a point home.
    If I were to categories these educational series, I would categories them (as you started), the "Getting Started" series, then the next category (again as you pointed out), would be using Patterns & Practices for a better overall design, like Prism and MVVM. The third category would be "Business application" where developing a full app using RIA services, MVVM and most importantly, a complete session on deployment of how setting IIS, SQL, Internet server on production machine and how to move a RIA/Silverlight from development to a production site.

    We are in the third year of SL now and I think a complete picture is needed how to start an app and take it all the way to production.

    As John Papa (a great resource on data & MVVM), Pete Brown (Architectural direction) are coming on board, I think this might be a great project for all three of you. Just my two cents! :-)

    ..Ben
  2. 10/6/2009 11:16 AM | # re: Getting Started with Silverlight development
    Hey!
    Awesome tutorial.
    I think it would be really helpful if you could cover RIA Services, especially authentication using RIA as opposed to a lot of tutorials that are out there currently which essentially direct developers towards implementing forms or windows authentication.

    kind regards,
  3. 10/6/2009 11:25 AM | # re: Getting Started with Silverlight development
    Sahgilbert - take a look at the RIA Services overview here: silverlight.net/.../net-ria-services-intro which has authentication in the default template.
  4. 10/6/2009 12:32 PM | # re: Getting Started with Silverlight development
    Awesome! Simply awesome!
  5. 10/7/2009 1:04 PM | # re: Getting Started with Silverlight development
    Tim: not sure but I think a few things are not covered very well in the ria startup on how the SL+ASP.NET auth are setup.
    I recall it may have not given info on what to do to setup ASP.NET auth so that the ria tools could use it. Granted that info is out there if you know wehre to look but some folks may not have done that step before or not done that for a long time... it had been years since i had to create a new site and all the config files and sql db .... so a short thing on how the parts fit might be woth having around.
  6. 10/7/2009 2:01 PM | # re: Getting Started with Silverlight development
    Denny I think that's a point well taken -- even me spulunking the asp.net site has outdated information. I'll see if I can cue it up for some folks (maybe me :-0) to update some background information on ASPNET memebership.
  7. 10/8/2009 1:35 AM | # re: Getting Started with Silverlight development
    Hi Tim,
    Great great work. Hope this will be soon integrated in MSDN library and Silverlight help.
    Anyway, (till now :)) I have never been decieved by any of the articles you published. Thank you very much for this.
  8. 10/8/2009 4:13 PM | # re: Getting Started with Silverlight development
    That's realy great work. That's must be integrated in MSDN library and Silverlight help. :)
  9. 10/8/2009 10:55 PM | # Getting Started with Silverlight development
    Hi,

    I am unable to load the tutorial pages in firefox as I get a Content Encoding Error:

    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

    They also fail to load in IE. Works fine in Safari.
  10. 10/15/2009 7:12 AM | # re: Getting Started with Silverlight development
    Great series! Thank you!
  11. 10/23/2009 9:35 AM | # re:Excelption Handling in XAML : Getting Started with Silverlight development
    Hi Tim

    Your Blog for Silverlight is very helpful. Can you help me with basics of exception handling in XAML.

    Thanks
  12. 11/4/2009 5:15 AM | # re: Getting Started with Silverlight development
    i m a fresher & i want to make a web project with silverlight ,ur samples code is really very helpful .during implement it on my system i have a problem my designer is not provide any UI i.e. only xaml visible not design plz help me
  13. 11/27/2009 8:33 AM | # re: Getting Started with Silverlight development
    My first venture into Silverlight and your tutorial is spot on - thanks for the effort put in, much appreciated.
  14. 1/4/2010 9:03 PM | # re: Getting Started with Silverlight development
    I studied hard learning ASP.Net with the v1 beta so that I was ready for the release of VS2003. All I have done since then is develop apps and I have learned no new tricks for 8 years (wow). I stumbled across Tim's webcam video and I was hooked. Damn, now I'm going to have to use my brain again and learn all about Silverlight. The VERY basics are always appreciated when starting out with something you have never worked with before. Cheers ;-)
  15. 1/7/2010 3:49 PM | # re: Getting Started with Silverlight development
    Amazing tutorial, very precisiously cut into 7 parts, it gave me a lot, although I've been experiencing Silverlight for more than 4 months.
  16. 2/3/2010 4:35 AM | # re: Getting Started with Silverlight development
    Part 1: Really getting started – the tools you need and getting your first Hello World
    Part 2: Defining UI Layout – understanding layout and using Blend to help
    Part 3: Accessing data – how to get data from where
    Part 4: Binding the data – once you get the data, how can you use it?
    Part 5: Integrating additional controls – using controls that aren’t a part of the core
    Part 6: Polishing the UI with styles and templates
    Part 7: Taking the application out-of-browser

    Among these 7 parts, the first 4 parts are of great help for someone like me starting Silverlight very beginning.
    Thanks a ton to Tim Heuer.
  17. 2/3/2010 4:46 AM | # re: Getting Started with Silverlight development
    Tim,
    Could you please guide me on creation of a Silverlight Web Part in ASP.NET for Use in MOSS 2007. Any pointers also will be of great help.
    Thanks.
    Soumen Datta

 
Please add 1 and 3 and type the answer here:
First time here? You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting! (hide this)