.net (6) 썸네일형 리스트형 .NET, Angular Deployment - Linux After creating an application we need to deploy the app for the world to see. In this post, we will see how we can deploy a .NET & Angular application to a Linux server using Digital Ocean cloud service. HTML 삽입 미리보기할 수 없는 소스 Generic Repository Specification Pattern - Adding Sorting One of the drawbacks about using the specification pattern is that we lose some of the functions provided by Entity Framework. Sorting the result is one of them and we will see how we can manually create the feature with the specification pattern. Creating a Generic Repository Pattern Relational DB - Getting Data including Data from Other Entities (Generic Repository Pattern) Let's see how we ca.. 지네릭 레포지토리 스페시피케이션 패턴 - 정렬기능 추가하기 스페시피케이션 패턴의 단점 중 하나는 콘텍스트에서 기본제공하는 기능의 일부를 사용할 수 없다는 점입니다. 스페시피케이션 패턴에 정렬기능을 추가하는 방법을 보겠습니다. 지네릭 레포지토리 패턴 설정하기 관계형 데이터 불러오기 (참조 데이터 포함) - 지네릭 레포지토리 패턴 엔티티프레임워크를 사용하여 관계형 테이블에서 참조하는 데이터를 포함하여 데이터를 불러오는 방법을 보겠습니다. 구현하기 애플리케이션 생성 .NET web-API 생성하기 개발도구 설치하기 .NET jin-co.tistory.com 스페시피케이션 인터페이스에 정렬을 위한 메서드를 추가 Expression OrderBy { get; } Expression OrderByDesc { get; } 스페시피케이션 클래스로 이동하여 추가한 메서드를 구현.. Relational DB - Getting Data including Data from Other Entities (Generic Repository Pattern) The Generic repository pattern enables us to dynamically change the type so that we don't have to create duplicate methods. However, one downside is that we can use features provided by Entity Framework such as 'Include' to show the data of related entities in the response. But, as always, there is a way around this, and today we will use a pattern called 'Specification'. HTML 삽입 미리보기할 수 없는 소스 How to create .NET web-API Setting up development tools When working with .NET, we need tools to create a web application. We can download them at the link below. .NET | Free. Cross-platform. Open Source. (microsoft.com) .NET | Free. Cross-platform. Open Source. .NET is a developer platform with tools and libraries for building any type of app, including web, mobile, desktop, games, IoT, cloud, and microservices. dotnet.m.. Working with SQLite in .NET (Code first) There are two ways of using the Entity Framework to connect a database to a project. One way is to create the database first which is called the database first approach and the other, of course, is to write code first which is called the code first approach. In this writing, we will see the second approach. HTML 삽입 미리보기할 수 없는 소스 이전 1 다음