Backend/.NET (28) 썸네일형 리스트형 Relational DB - Getting Data including Data from Other Entities (Repository Pattern) Let's see how we can get data from a primary entity that has reference to other entities Implementation Creating an Application 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 in the link below.다. .NET | Free. Cross-platform. Open Source. (microsoft.com) .NET | Free. Cross-platform. Open Source. .NET .. Application Architecture - Generic Repository The repository pattern has a static type so whenever we create an entity, we have to create a repository as well. A generic is a way to restrict to a type or to dynamically change types. Let's see how we can use a generic repository for multiple entities Project Configurations Creating a Project with MVC Pattern Server Architecture - Distributing Projects Server Structure An interface is a middl.. Application Architecture - Repository with Service An Interface is a kind of contract that specifies what the application needs. Let's see how we can use an interface with the repository pattern. Project Configurations Creating a Project with MVC Pattern Server Architecture - Distributing Projects Server Structure An interface is a middleman between the browser and the server. It sends a request to a server and handles the response from it. The .. Adding Configurations When Creating a Database Let's see how we can add additional validations using Entity Framework Creating an Application 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 in the link below.다. .NET | Free. Cross-platform. Open Source. (microsoft.com) .NET | Free. Cross-platform. Open Source. .NET is a develo jin-co.tistory.com Co.. Application Architecture - Repository It is a good practice to separate business logic and data handling. Entity Framework provides an MVC pattern to separate them. However, as the size of a project grows, adding data handling codes directly in the controller file creates duplicate codes and becomes hard to test. A repository pattern is a design pattern that reduces duplication and makes testing easier. Let's see how we can implemen.. Application Architecture - MVC Separation of concern makes our code reusable and easier to manage. In that sense, it is considered a good practice to separate business logic and data handling. MVC pattern is one such implementation that divides an application into three major parts (model, view, and controller). In this writing, we will use Entity Framework to implement the MVC pattern in the .NET application Project Configur.. .NET - Cleaning Up Program File: Service Extension Method In .NET, Program.cs is the entry point to the application. It contains the necessary configurations that the application needs. The thing is that as the size of a project grows, the number of services you need would grow too and it will start to get crowded which makes it hard to read and prone to errors. So let's see how we can solve this problem. Implementation As the purpose is to make our co.. 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.. 이전 1 2 3 4 다음