I created a domain service on the server side. Build the project. But I still don’t have the domain proxy at the client side for the created service. Should I add any new namespaces to the client project? I tried Add Service on the client project, but there is no newly created domain service in the list (I pressed Discover button).
Share
Peter. If I understand your question exactly, these can be the right answer:
The *.Web.g.cs code may be generated by reflection of server side compiled assembly.
For example,
using myApp.Web.Models; using myApp.Web.Services; using System.ServiceModel.DomainServices.Client; namespace myApp { public partial class MainPage : UserControl { MyModelContext _context = new MyModelContext(); } ... }