LINQ for JavaScript library: mini-linq-js

LINQ for JavaScript library: mini-linq-js

mini-linq.js LINQ for JavaScript library, which allows to work with arrays in a more easy way and focus on business logic. Installation bower install mini-linq-js –save npm install mini-linq-js –save Usage Just link mini-linq.js or mini-linq.min.js in your html. <script type=“text/javascript“ src=“mini-linq.min.js“></script> You can also attach and use mini-linq with knockout observableArray. Just link mini-linq.knockout.js. Also you may use postponed lazy-execution for arrays by linking mini-linq.lazy.js. You also may use it in your Node.JS project by using require(‘mini-linq-js‘); Available methods any all where select selectMany count orderBy orderByDescending groupBy distinct firstOrDefault…

Read More Read More

Installing and Configuring Web Deploy on IIS 8.0 or Later

Installing and Configuring Web Deploy on IIS 8.0 or Later

Download the Web Platform Installer. Open Web PI. Select the Web Deploy that you want, and then click Add. On the Prerequisites page, click I accept. After the installation has completed, click Finish.   Using the IIS Manager to configure Web Deploy for a Non-Administrator The following steps configure publishing on an existing site for an existing user using the IIS Manager UI. Start IIS Manager (open Server Manager, click Tools, and then open IIS Manager. Expand the Sites node and click a site. In the Management area of the site’s home pane,…

Read More Read More

ASP.NET MVC 5: Using a Simple Repository Pattern for Performing Database Operations

ASP.NET MVC 5: Using a Simple Repository Pattern for Performing Database Operations

Abstract: The Repository pattern decouples your ASP.NET MVC application and shields it from changes by creating a boundary between your data access code and the other parts of your application. Recently a client of mine asked for a solution to isolate the direct dependency of the Data Access Layer with the rest of the layers of the application. In this article we will discuss one of the concepts I suggested to him for an ASP.NET MVC application. Typically in multi-layer applications,…

Read More Read More

How to Implement the Repository Pattern in ASP.NET MVC Application

How to Implement the Repository Pattern in ASP.NET MVC Application

The Repository Pattern is one of the most popular patterns to create an enterprise level application. It restricts us to work directly with the data in the application and creates new layers for database operations, business logic, and the application’s UI. If an application does not follow the Repository Pattern, it may have the following problems: Duplicate database operations codes Need of UI to unit test database operations and business logic Need of External dependencies to unit test business logic…

Read More Read More

Batch: An API to bundle multiple PayPal REST operations

Batch: An API to bundle multiple PayPal REST operations

REST APIs are vital business tools that allow merchants, partners and developers to consume and build on top of the various payment capabilities that PayPal provides. Whether it is checkout, recurring payments, vaulting or identity operations there are multiple end to end API interactions involved in each of those business flows. These APIs are also a critical part of the internal Service Oriented Architecture (SOA) at PayPal. Different domains expose various internal capabilities and operations via REST interfaces using which the…

Read More Read More