Parameterized constructors are not allowed in WCF RIA domain service, however your object model may requires to have constructor with arguments. For example EmployeeService (in this example) is WCF RIA Domain Service which requires Authentication and have constructor with authenticated User instance as parameter. The activate the service in such scenario you need to provide [...]
Implementing Silverlight Faults in SL 3.0 with RIA Domain Services – Fix 2
Last month i have post article on how to host Silverlight (With RIA Domain services) project on shared domain. In that article (Link is Here ) some web.config settings are recommended to configure RIA end points. While working tonight i have noticed that Silverlight clients are not able to catch exceptions raised by DomainService ! [...]
Adding User Management to your business application
RIA “Business application” template adds login screen and logic to use Membership and role management.You just need to alter your web.cofig and create aspnet database.The configuration has already been cover in previous articles. In this article i will create Userdata metatdata class (for MembershipUser) and display all users in the system in DataGrid.User can also [...]
RIA WCF Configuration (Finally Resolved):
Finally after 3 days and nights i was able to find the solution for hosting RIA services on shared hosting environment and without changing anything on IIS. Yes it is possible… Why : RIA framework dynamically creates WCF service (Domain services) and add endpoints to the service.It first check if endpoint does’nt exist then create [...]
Configure .Net RIA Service – hosted on shared domain
1.Mark “copy to local” these 3 assembly in your web project: 1) System.Web.DomainService 2) System.Web.Ria 3) System.ComponentModel.DataAnnotations This will deploy above mentioned assemblies in you bin folder Test your web service via like http://www.yoursite.com/virDir/namespace-Web-AuthenticationService.svc where namespace.Web.AuthenticationService is your RIA domain service. Internally at runtime RIA replaces . with – Here you will get error as [...]
Configuring RIA to use roleManager, membership and profile.
Create Silverlight Project “Business Navingation application” in Visual Studio 2010 Beta 2 and configure SQL express database to generate schema for rolemanager, membership and profile feature using command Launch Visual Studio Command prompt (Run as administrator)Type command Aspnet_regsql.exe –E–S sqlinstance–A rmpThis will create sql express database aspnetdb Visit links to see how to configure components [...]