Hot answers tagged

2

Two things to understand about CORS: CORS is not for authenticating/approving the client, it is for approving a request originating from code executing within a web page on one origin that is destined to another origin (like JavaScript code on domain1.com making an XmlHttpRequest to domain2.com). CORS enforcement is entirely client-side. The server does ...


2

Do we really need a Value Object and Data Transfer Objects for every use case? Why not send back entities? OK, I'm only going to try to answer this one of your many questions. Option 1: If your database exactly models your business, and there are no arcane business rules, then by all means use entity objects in your GUI layer. The programming will be ...


2

WCF uses SOAP, which has a lot of overhead to use. In this case, you would probably need to auto generate clients for particular platforms, because it would be too much work by hand. There are a lot of features in WCF, but it has generally fallen out of favor due to the communication overhead and code required compared to simpler models like ordinary HTTP ...


1

Although its a 3 years old thread, still I'm replying it thinking that it might be helpful to somebody. Table Structure Table_Offer -------- ID FK Name start time end time MandatoryGroup -------- ProductId (FK to product) MixGroup1 -------- ProductId (FK to product) MixGroup2 -------- ProductId (FK to product) Table_offerDetails --------------...



Only top voted, non community-wiki answers of a minimum length are eligible