Search Results

Search found 2 results on 1 pages for 's amani'.

Page 1/1 | 1 

  • How to pass multiple parameter in DomainService - WCF

    - by S.Amani
    Hi, Let's say I have a window which should submit 3 model in client side (Silverlight Client Application). My problem is each time I submit the form, data on the server side which I passed them from client are empty. I've used nested class which contains my models, instead of passing multiple object as parameter, but it didn't work again. My Personnel Data Transfer Object Code is something like this : [DataContract] public class PersonnelDTO : EntityObject { [Key] [DataMember] public int PersonnelId { get; set; } [Include] [DataMember] [Association("Personnel_ID", "PersonnelId", "Personnel_ID")] public Personnel Personnel { get; set; } [Include] [DataMember] [Association("Personnel_Info_ID", "PersonnelId", "Personnel_Info_ID")] public Personnel_Info PersonnelInfo { get; set; } } I fill up this model to pass data from client to server (DomainService). and also my domain service code is : [Invoke] public void AddPersonnel(PersonnelDTO personnelDTO) { // Model are EMPTY in DTO ObjectContext.AddToPersonnels(personnelDTO.Personnel); ObjectContext.AddToPersonnel_Info(personnelDTO.PersonnelInfo); ObjectContext.SaveChanges(); } I don't know if there is a way to pass multiple parameter in WCF Service method include Generic List. Any advice will be graceful. Thanks.

    Read the article

  • Silverlight app doesn't access web over WCF in IIS

    - by S.Amani
    Hi, My application SilverLight which is hosted in my local host, doesn't access my web app and its database over WCF. I don't know why !!. I've looked over 100 sites and blogs which they have scribed how to configure WCF in IIS, but I can't fix my problem. Note : I debugged it with fiddler in my localhost, everything just worked fine, I saw all my site transaction, except a button which is responsible to access Data over WCF, fiddler didn't log that. Any advice will be helpful. Best Regards SABER.

    Read the article

1