title: ASP.NET VNext Class Library System.Runtime.Serialization
body: <p>Trying to make a serializable class in ASP.NET vNext Class Library Project. Not able to give my class items [DataContract] or [DataMember] Attributes. As I just started exploring vNext so I am little confused. If some one can guide me whether I am doing the right thing or not. My little sample code.</p>
  
  <pre><code>using System;
  using System.Runtime.Serialization;
  
  namespace Schlouds.Business.Entities
  {
      [DataContract]
      public class Student
      {
          [DataMember]
          public Guid StudentId { get; set; }
  
      }
  }
  </code></pre>