From Silverlight to Metro: Listing 6.

Updating DiggStory.cs by changing ID to a string.

using System;

namespace DiggSample

{

  public class DiggStory

  {
    public string  Id          { get; set; }

    public string  Title       { get; set; }

    public string  Description { get; set; }

    public int     NumDiggs    { get; set; }

    public Uri     HrefLink    { get; set; }

    public string  ThumbNail   { get; set; }

    public string  UserName    { get; set; }

  }

}

About the Author

Michael Crump is a product manager that works at Microsoft on the Azure platform. He is a is a developer, blogger and speaker of topics relating to cloud development. He’s passionate about helping developers understand the benefits of the cloud in a no-nonsense way. You can reach him on Twitter at mbcrump or by following his blog at michaelcrump.net.

comments powered by Disqus

Featured

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events