اشتراکها
PostgreSQL و SQL:2023
اشتراکها
بهترین روشهای ایجاد امنیت در NodeJS
اشتراکها
کامپوننت ها در AngularJs 2
latest research conducted
by Stack Overflow, the Q&A resource site for developers,
programmers have revealed their most-loved languages and platforms of
2015. Their findings are based on the responses of 26,086 people from
157 countries and consist of full-stack developers, mobile developers,
and front-end developers.
How can you survive a project that uses JavaScript massively on both the
client and the server using node.js? The project is about on-line
development components, such as the TypeScript playground
(http://www.typescriptlang.org/Playground/) or Visual Studio Online
“Monaco”, which enables users to edit Azure Web Sites online. We had an
existing large JavaScript code base and we wanted to give TypeScript a
try. Today the project is one of the largest TypeScript code bases
inside Microsoft with more than 200k lines of TypeScript in production.
This session gives a quick introduction into TypeScript and then takes a
deep look at how TypeScript and other technologies were used to
successfully scale up a large JavaScript project that ships in some of
Microsoft’s biggest products and services
یک همچین کدهایی هم باعث ایجاد دوباره پلن مربوط به کوئری خواهند شد:
معادل بهینه شده کد بالا:
در پروژه Decision خیلی از این نوع موارد پیاده سازی شده است که میبایست اصلاح شوند. برای مثال متد های GetPagedListAsync.
using (var context = new MyContext()) { var myObject = new NonMappedType(); var query = from entity in context.MyEntities where entity.Name.StartsWith(myObject.MyProperty) select entity; var results = query.ToList(); ... }
using (var context = new MyContext()) { var myObject = new NonMappedType(); var myValue = myObject.MyProperty; var query = from entity in context.MyEntities where entity.Name.StartsWith(myValue) select entity; var results = query.ToList(); ... }