본문 바로가기

반응형

Backend

(60)
.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 삽입 미리보기할 수 없는 소스
File Upload Files are data that a user has such as images, videos, documents, and so on. Unlike the standard form data uploading a file takes a little more configuration due to its format and security. We will see how we can upload files with Node.js. HTML 삽입 미리보기할 수 없는 소스
Generic Pattern - Unit of Work Pattern The generic pattern allows us to use the same method for a different set of entities. However, it also creates a problem that related entities are partially updated which will lead to an error not to mention that we have to inject each entity separately. To solve this problem, we will see another pattern called the unit of work. HTML 삽입 미리보기할 수 없는 소스
Server Memory - Redis Redis is a server memory that stores data with a key-value pair. It does not depend on the database so it takes the burden of having to manage the data and it is fast. In addition, compared to local storage, another option to store data without depending on a database, it gives us control over the data. Well, enough talking, let's get into it. Why Do We Use It? Fast Control over the data Persist..
Project Structure and Optimizing Development Environment We will see the structure of a webapi project and way to optimaze for the development environment. Creating a WebAPI Project 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 ..
Packages - Identity If you were to create authentication and authorization for your application, there are many things that you have to take care to protect the user information. Not only dose adding those features hard but also is time-consuming. ASP.NET identity is a package that is provided by .NET with all the bells and whistles. Let's see how we can use this package in this writing HTML 삽입 미리보기할 수 없는 소스
.NET - CORS For safety reasons, browsers, by default, do not allow access to servers with different domains. However, when in development this feature can be a pain in the ass. In this writing, we will see how we can negate this feature by adding allowing CORS option to the header of a request. Implementation Adding the Service Go to the Program.cs file, add the Cors service as shown below builder.Services...
Generic Repository Specification Pattern - Adding Searching One of the drawbacks about using the specification pattern is that we lose some of the functions provided by Entity Framework. Searching 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 can get dat..

728x90