Posts

Showing posts from 2022

Entity Framework VS ADO.NET

Image
Entity Framework Entity framework  is ORM Model, which used LINQ to access database, and code is autogenerated. It enables developers to work with data using objects of domain specific classes without focusing on the underlying database tables and columns where this data is stored. Entity Framework  as it translates LINQ queries to SQL first then process the query. First time  EF  loads metadata into memory, that takes a time. It builds in-memory representation of model from edmx file, or from source code if you are using code first. EF  is built at the top of  ADO . NET , so it cannot be  faster . But it makes development much  faster Entity Framework  is an open-source ORM  framework  for . NET applications supported by Microsoft. It use LINQ which is simpler, tidier, and higher-level e.g using (var context = new CompanyContext())  {  var emp = context.Employee;  }    ADO.NET ADO . NET is  made of...

Why Node.js beats Java and .Net for Web, mobile, and IoT apps

  Speed, scalability, productivity, and developer politics all played a role in AnyPresence’s selection of Node.js for its enterprise development platform A couple of years ago, the development team at AnyPresence was tasked with implementing a back-end server API generator for a large customer that wasn’t comfortable using Ruby on Rails in production and preferred an option in the Java ecosystem. To meet this requirement, the AnyPresence platform team invested a significant amount of time implementing a Java version of the generator in the Play framework. However, it was taking too long to implement features to match what was already available in the Rails version, so the team eventually started to look at alternative frameworks. That search ultimately led us to adopt Node.js and Sails.js, which is an MVC framework for Node.js. This article attempts to explain the reasoning behind these choices. roblem No. 1: Java, .Net, or Node.js? As an enterprise dev platform for Web,...