our old application had middle tier held business logic , talked db, talked 2 clients, 1 winforms , 1 asp.net, neither of knew kind of database speaking to. used datasets , datareaders.
what's modern equivalent? tiers still needed?
there's plenty of questions , answers out there seem little dated. i'm getting impression should tier web api , entity framework talks separate wpf client , angular js client.
i'll happily buy few books if suggest some
for else new entity framework. difficulty here web full of advice correct @ time becomes out of date. so, ef6...
there posts online in self tracking entities advised (aug 2013), e.g.
entity framework not saving modified children
however have since become deprecated.
https://msdn.microsoft.com/en-us/data/jj613924.aspx
a page covers valid approaches is:
https://msdn.microsoft.com/en-us/data/jj613668
which mentions: web api, wcf data services , 'roll own' approach. latter covered in book 'programming entity framework: dbcontext julia lerman'.
assuming go down web api approach there's example here:
http://www.asp.net/web-api/overview/data/using-web-api-with-entity-framework/part-1
Comments
Post a Comment