Last post Mar 12, 2010 10:15 PM by traitimvietnam
Mar 05, 2010 08:36 AM|traitimvietnam|LINK
I use visual studio 2010 Beta 2 to create Untimate Webform dynamicdata.
I use RIA Services.
Unfortunately I can not find the class although I DomainModelProvider reference namespace System.Web.DomainServices.
I searched the MSDN but did not find class named DomainModelProvider.
Please just let me know where the classes and how to get it.
Mar 05, 2010 11:00 AM|sjnaughton|LINK
Hi Traitimvietnam, are you using a file based webaite or project (e.g. do you create by New Website or New Project?)
Dynamic Data 4
Mar 05, 2010 08:32 PM|traitimvietnam|LINK
Hi sjnaughton .
I create by New Project.
before I put this question set.
In such reference is available DomainModelProvider class in Global.asax.
However, if you create a new project dynamicdata you
can not have class that even if you have a reference to namespace System.Web.DomainServices.
That is the problem that I want to ask.
Mar 06, 2010 06:47 AM|sjnaughton|LINK
Hi Traitimvietnam, I think I have the solution there seems to be a namespace issue (there are multiple namespaces in the sample project
so you can either fix the dual namespace issue or add a reference to the
DefaultDomainServiceProject in the Global.asax.cs file.
Note: you can fix the dual namespace issue by changing it in the Project Properties as when you load the project all the namespaces internally are
DynamicDataProject but the namespace in the properties is
Dynamic Data 4
Mar 07, 2010 10:20 PM|traitimvietnam|LINK
I did exactly as suggested by you, but I still encounter the same problem. Hope you check back and suggested to me.
Mar 08, 2010 05:38 AM|sjnaughton|LINK
I can send you the fixed sample I have (I can't get it working on my PC as there are no released bits for RC) but I do have the namespace issue fixed.
Mar 12, 2010 10:15 PM|traitimvietnam|LINK
Oh. Send to me fixed sample by email
Thanks sjnaughton about all.