Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged


Composition coupled with edtiro templates will give you the easiest code reuse possibilities. Each view model that needs this information needs a reference to the shared view model. public class AddEditOrderDetails { [Display(Name = "Unit Price")] [Required] public decimal UnitPrice { get; set; } [Display(Name = "Quantity")] [Required] ...

Top 50 recent answers are included