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....
6 Answers, 1 is accepted
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.
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??
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.
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??
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.
David