Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7653753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:06:17+00:00 2026-05-31T12:06:17+00:00

I am using the Music Store sample data and I have a POCO like

  • 0

I am using the Music Store sample data and I have a POCO like so:

public class Album
{
    public Genre Genre { get; set; }
    public Artist Artist { get; set; }
    public string ID { get; set; } /***** NULL *****/
    public string AlbumArtUrl { get; set; }
    public double Price { get; set; }
    public string Title { get; set; }
    public int CountSold { get; set; }

}

However when I retrieve the data the ID property is null. If I change the property to Id then it is populated. This seems to suggest that the property has to be a certain case.

Here is the data:

{
  "AlbumArtUrl": "/Content/Images/placeholder.gif",
  "Genre": {
    "Id": "genres/1",
    "Name": "Rock"
  },
  "Price": 8.99,
  "Title": "Let There Be Rock",
  "CountSold": 0,
  "Artist": {
    "Id": "artists/1",
    "Name": "AC/DC"
  }
}

Interestingly for the Genre & Artist POCO changing the case of the POCO property doesn’t make a difference. I wonder if its because its explicitly stated as a property in the JSON whereas the Id in the Album is not.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:06:18+00:00Added an answer on May 31, 2026 at 12:06 pm

    By default, we look for a property named “Id”, and yes, casing matters in the property name.

    You can change that convention by changing the Conventions.FindIdentityProperty

    eg

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using this guide: http://www.asp.net/mvc/tutorials/mvc-music-store-part-7 Like instructed, I entered to ASP.NET Web Application
I'm using AVAudioPlayer to play music in my iPhone app. In a class that
I have embeded a music in a webpage using this code: <embed src=upload/gnossiennes.mp3 autostart=true
I'm using Solr as a search frontend to a large corpus of music artist
I have a .wav music file. When I tried to play using SoundEffect.Play(); mus1.Play();
I have an Audio app using AVAudioPlayer on iOS. Whenever music is playing my
I have an app in the App Store for streaming compressed music files over
Using Asp.Net-MVC music store tutorial, concrete page is at : http://www.asp.net/mvc/tutorials/mvc-music-store-part-3 <ul> @foreach (var
I have completed the MVC Music Store application, and now am making my own
I'm creating an online music store application (in Java) for signed and unsigned artist

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.