TRUNGTQ

Think Big, Act Small, Fail Fast and Learn Rapidly

NAVIGATION - SEARCH

Compressing Web API Responses Using DotNetZip

Web API is very popular for building RESTful Web Services in .NET and performance always plays a vital role in any application. In case of large data which is going through the network traffic, it will decrease the performance of the application. Compression is a good technique to reduce the size of response data and increase the speed of communication between a client and remote resource. Here, we are going to use DotNetZip Library to compress the response size. We will go step by step for c [More]

CRUD USING .NET CORE 1.0, ANGULARJS2, WEBAPI

In our previous article we have seen how to startup with .Net Core. In this article we will take a look on database operation according to previous sample application based previous concept. Download CoreMVCAngular2.zip - 5.6 MB Download dbscript.zip - 1.6 KB If you are new to .Net Core, Please read previous post about .Net Core Startup In this article we are going to explore, Create Database Use Entity Framework Core (Db First Approach), Overview EF Core Install Entity Framework Create Mo [More]

ASP.NET Core, Angular2 Shopping Cart Using Web API And EF 1.0.1

In this article let’s see how to create a shopping cart using ASP.NET Core, Angular 2, Entity Framework 1.0.1 and Web API with Template pack . Download ASPCoreAngular2Shopping.zip - 2.4 MB Introduction In this article let’s see how to create a shopping cart using ASP.NET Core, Angular 2, Entity Framework 1.0.1 and Web API with Template pack . NoteKindly read our previous article which  explains in depth about Getting Started with ASP.NET Core Template Pack ASP.NET Core Ang [More]

Using AngularJs, ASP.NET MVC, Web API and EntityFramework to build NLayered Single Page Web Applications

Building an NLayered, localized, well-structured Single-Page Web Application using AngularJs, ASP.NET MVC, Web API, EntityFramework and ASP.NET Boilerplate. Download sample application A screenshot of the sample application. Contents Introduction Create the application from boilerplate template Create entities Create DbContext Create Database Migrations Define repositories Implement repositories Build application services Build Web API services Develop the SPA Localization Unit testing Summ [More]

Single Page Application (SPA) for Enterprise App (Angular2 & WebApi) - Part 1 - Overview

Một tác giả người Việt, bài viết khá chất lượng, có thể tham khảo.   How to build the SPA for enterprise application using Angular2 and WebApi (RESTful) Download source code from Github Other Articles in the series Overview Add new Permission Project structure Multi-Languages (i18n) DI & IoC - Why and Why not? RESTful & WebApi Manage Application Lifecycle Build & Deploy Application Introduction please visit my blog at www.tranthanhtu.vn for read [More]

ASP.NET 5 và AngularJS Phần 2, Sử dụng MVC 6 Web API

Đây là phần thứ 2 trong phần blog của loạt bài xây dựng ASP.NET 5 (ASP.NET vNext) ứng với AngularJS. Trong loạt bài đăng trên blog, tôi sẽ cho các bạn thấy làm thế nào để có thể tạo ra một ứng dụng Movie đơn giản sử dụng ASP.NET 5, MVC 6, và AngularJS. Bạn có thể tải về mã đã thảo luận trong bài viết blog này từ GitHub:github.com/StephenWalther/MovieAngularJSApp Trong bài viế [More]

ASP.NET Core, WEB API and Repository Class

In this article, we will see in detail about how to create ASP.NET Core with Repository pattern in the WEB API. Download ASPNETCOREWEBAPI.zip - 149.7 KB Introduction In this article, we will see in detail about how to create ASP.NET Core with Repository pattern in the WEB API. WEB API Web API is a simple and easy way to build HTTP Services for Browsers and Mobiles. It has the following four methods as Get/Post/Put and Delete where. Get is used to request for the data. (Select) Post is [More]

Using MongoDB .NET Driver with .NET Core WebAPI

How to build step by step an ASP.NET Core WebAPI with latest MongoDB driver. The project supports all requests to MongoDB asynchronously. This is first part of building an Angular Notebook WebApp, presenting the backend. Download project.zip - 97.1 KB Source could be also accessed from GitHub -> https://github.com/fpetru/WebApiMongoDB. Update 14 Dec 2016 Following Marcello's comment, I have added a basic level of exception management. Update 07 Dec 2016 I have extende [More]

Web API Architecture And Dependency Injection Best Practices

This article explains the Web API best practices for architecture and Dependency Injection, using Unity and other options available for Dependency Injection. From last few years, Web API is becoming very popular and these days, a lot of projects are going on with Web API. Thousands of projects have been developed using Web API. If someone is working on Web API, then its architecture and best practices are the most important things, which enable the developer to create one of the best application [More]

HTTP Get, Put, Post And Delete Verbs In ASP.NET WEB API

Introduction In this article, I will explain about Http Get, Put, Post and Delete verbs in ASP.Net Web API in detail. These are very significant verbs in ASP.NET Web API. This article explains how to perform these 4 verbs in ASP.NET Web API. Steps for performing HTTP verbs using ASP.NET web API The steps given below explain about how HTTP verbs perform with ASP.NET Web API. Step 1 Open new project in Visual Studio, select the Web under visual C# and select ASP.NET Web Application. Finally, give [More]