c# - AngularJS Form Rendering from .NET Web API Models -


i have c# models can require ui render different form options depending on model.

for example:

public class person {     public string name { get; set; }      public string ssn { get; set; }     }  public class employee : person {     public string badgeid { get; set; }     public groupenum group { get; set; }     } 

i want service return model description given class name. need account things enumerations , decorators things password input type ssn property.

is there tool out there this? feel pretty common.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -