title: Server Side code in WCF RIA services doesn't execk
body: <p>Im new to silverlight business application . Ive got problem with my server side code. Ive created such code in .Web app</p>
  
  <pre><code>public class Doc
  {
      public Doc() { }
      public Doc(Guid ID, Guid ProjektId, string Name)
      {
          this.ID = ID;
          this.ProjektID = ProjektID;
          this.Name = Name;
      }
  
      [Key]
      public Guid ID { get; set; }
      public Guid ProjektID { get; set; }
      public string Name { get; set; }
  
  
  }
  // TODO: Create methods containing your application logic.
  [EnableClientAccess()]
  public class DocList : DomainService
  {
      [Query]
      public List&lt;Doc&gt; getDocList()
      {
          Debug.WriteLine("Testuje debugera dokument");
          //getImlArray();
          List&lt;Doc&gt; docList = new List&lt;Doc&gt;();
  
          docList.Add(new Doc(Guid.Empty, Guid.Empty, "t1"));
          docList.Add(new Doc(Guid.Empty, Guid.Empty, "t21"));
          docList.Add(new Doc(Guid.Empty, Guid.Empty, "t211"));
          return docList;
      }
      [Insert]
      public void emptyInsert(Doc project) { }
  
      [Update]
      public void emptyUpdater(Doc project) { }
  
      [Delete]
      public void emptyDelete(Doc project) { }
  
  }
  </code></pre>
  
  <p>In client app in view a call for something like this:
      public Home()
          {
              InitializeComponent();</p>
  
  <pre><code>        this.Title = ApplicationStrings.HomePageTitle;
          //.net reflektor
          //DocList docList = new DocList();
          //docList.getDocListQuery();
  
          DocList x = new DocList();
          x.getDocListQuery();
     }
  </code></pre>
  
  <p>The problem is that my server side code isn't call. Its not a debuger problem because even the <code>Debug.WriteLine("Testuje debugera dokument")</code> isnt display in the output section</p>