DEV Community

Mustafa  Çam
Mustafa Çam

Posted on

use camelcase in angular and asp.net web api jsonset

`example here =>
namespace DirectoryApi
{
public class Directory
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Telephone { get; set; }
}
}

you can use FirstName but json returns firstName. if you use it like this =>

*ngFor

  • {{ directory.FirstName }} {{ directory.LastName }} - {{ directory.Telephone }} - Naber


  • `

    this doesnt work but this work firstName , lastName ,telephone

    Top comments (0)

    Image of Docusign

    🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

    Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

    Learn more