Silverlight Courseware

7 posts, 0 answers
  1. Will Ferguson
    Will Ferguson avatar
    40 posts
    Member since:
    Aug 2009

    Posted 07 Feb 2010 Link to this post

    Thankyou for making the Silverlight courseware available. I'm finding it very helpful.

    But I had a problem with page 99

    4.6.3.3 Building the RIA Client

    step 6.

    6) Add a namespace reference to the ASP.NET service project "Imports" (VB) or "using" (C#) portion of

    code.

    What specifically should i be "Using"

    as the line

     

     

     

        NorthwindContext context = new NorthwindContext();

     

     

     

    is not succesfull

    Plus here's a gotcha.: in order to use Ria Services if you have VS2010 beta installed you may need have to uninstall the WCF Ria Preview for 2010 (in control panel) and re install RIA Services for 2008  as RIA services for 2008 doesn't install side by side with it....

     

     

     

     

  2. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 11 Feb 2010 Link to this post

    Hello Will,

    You should use a LinqToSql DataContext classes that are created for the Northwind database.

    Hope this helps,
    Stefan Dobrev
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  3. DevCraft banner
  4. Will Ferguson
    Will Ferguson avatar
    40 posts
    Member since:
    Aug 2009

    Posted 11 Feb 2010 Link to this post

    In my case I needed to add to the EmployeeList.xaml.cs

     

     

    using HRApp.Web.Models;
    using HRapp.Web.Services;

    This is because I put my northwind.Edmx model in the models folder and my Organiational service in the services folder.

    other users following the course would need only to 
     

     

    using HRApp.web; 

     

     


    The courseware walkthrough puts the model and the service in the root HRApp.Web folder.

    OK so I have got through the walkthrough now. I have to say it is one of the best Walkthroughs I have done in Years.
    One problem remains with my Log in. I think I might need to be accessing some asp.net roles/user database.. Is that correct??

     

     

     

     

     

     

     

     

  5. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 17 Feb 2010 Link to this post

    Hi Will,

    You are absolutely right. By default RIA Services business application template will create an AuthenticationDomainServices which is using ASP.NET Membership provider to do its job. Here is a MSDN article which describes this in more details.

    Sincerely yours,
    Stefan Dobrev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. Will Ferguson
    Will Ferguson avatar
    40 posts
    Member since:
    Aug 2009

    Posted 17 Feb 2010 Link to this post

    Thanks Stefan that link is just what I needed.

    Now if I can just figure out vs2010rc

    why can't I add a .web refernce in my app pages.
    The app can't see the Data services.
    There is no data in the data sources tab.
    I can't builsd a "Silverlight business application"

    grrr. If anyone has had this problem can they clue me in??
  7. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 19 Feb 2010 Link to this post

    Hello Will,

    Unfortunately Silverlight 4 development is not yet possible using VS 2010 RC as you can read from this blog post. Microsoft is currently working hard to provide Silverlight 4 + RIA Services tools for VS 2010.

    All the best,
    Stefan Dobrev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  8. David Stanfield
    David Stanfield avatar
    11 posts
    Member since:
    Feb 2010

    Posted 22 Feb 2010 Link to this post

    Unfortunately you are better off uninstalling the RC and going back to VS 20101 Beta 2 for the next month or so.

    David
Back to Top
DevCraft banner