GraphQL In .NET Core Web API With Entity Framework Core


관련 자료

https://www.c-sharpcorner.com/article/graphql-in-net-core-web-api-with-entity-framework-core-part-one/

 

GraphQL In .NET Core Web API With Entity Framework Core - Part One

In this article, we will see how GraphQL works with Entity Framework Core and is exposed through Web API in .NET Core.

www.c-sharpcorner.com

https://fullstackmark.com/post/17/building-a-graphql-api-with-aspnet-core-2-and-entity-framework-core

 

Building a GraphQL API with ASP.NET Core 2 and Entity Framework Core

GraphQL is a relatively new technology developed initially at Facebook and open-sourced to the world in 2015. In 2017, it really took off and made the leap from a cool, niche technology to one of the primary ways companies like Walmart and IBM are starting

fullstackmark.com

https://medium.com/shemseddine-on-code/setup-a-graphql-api-using-asp-net-core-79f1b88f6ad8

 

Setup a GraphQL API using ASP.NET Core

A short guide on how to setup your own GraphQL API using ASP .NET Core

medium.com

https://medium.com/volosoft/building-graphql-apis-with-asp-net-core-419b32a5305b

 

Building GraphQL APIs with ASP.NET Core

Building and consuming GraphQL in your .NET application

medium.com

https://docs.microsoft.com/ko-kr/aspnet/web-api/overview/odata-support-in-aspnet-web-api/odata-v4/create-an-odata-v4-endpoint

 

ASP.NET Web API 2.2 사용 하 여 OData v4 엔드포인트 만들기

Open Data Protocol (OData)는 웹에 대 한 데이터 액세스 프로토콜. OData 쿼리 및 CRUD 작업을 통해 데이터 집합을 조작할 일관 된 방식으로 제공 하는 중...

docs.microsoft.com

https://medium.com/@FourwingsY/graphql%EC%9D%84-%EC%98%A4%ED%95%B4%ED%95%98%EB%8B%A4-3216f404134

 

 

GraphQL을 오해하다

이번엔 GraphQL을 처음 접한 순간부터, 토이 프로젝트(서버)를 만드는 동안 내가 겪었던 착오와 오해, 햇갈렸던 개념들을 복습해보고자 한다. GraphQL이 대체 뭔가 하는 질문에 대해서는 다른 글을 보길 바란다. GraphQL을 전혀 모르는…

medium.com

https://velopert.com/2318

 

GraphQL 강좌 1편: GraphQL이 무엇인가? | VELOPERT.LOG

최근 페이스북에서 만든 어플리케이션 레이어 쿼리 언어인 GraphQL 이 공식릴리즈되어 여기저기서 적용한 사례가 생기고있죠 (페이스북은 원래부터 사용하고있었고, 대표적으로 갓 GitHub..) 이 GraphQL 이 뭔지, 이게 왜 필요한건지, 기존의 방식과 뭐가 달라지는건지, 한번 갈피를 잡아봅시다. GraphQL 강좌 1편: GraphQL이 무엇인가? 소개 GraphQL 은 페이스북에서 만든 어플리케이션 레이어 쿼리 언어입니다. 기존의 웹 혹은 모바일

velopert.com

 

 



 

 위키백과에서는 다음과 같이 설명하고 있다.

 GraphQL은 페이스북이 2012년에 개발하여 2015년에 공개적으로 발표된 데이터 질의어이다. 그래프QL은 REST 및 부속 웹서비스 아키텍쳐를 대체할 수 있다. 클라이언트는 필요한 데이터의 구조를 지정할 수 있으며, 서버는 정확히 동일한 구조로 데이터를 반환한다. 

 쉽게 풀이하면 하나의 앤드포인트에서 내가 원하는 스키마(데이터 컬럼 양)로 데이터를 가져올 수 있다. Web API로 개발하면 클라이언트에서 사용하지 않는 데이터가 포함되어 내려갈 수 있지만, GraphQL에서는 필요한 데이터만 요청하고 사용하기 때문에 서버 리소스나, 네트워크 리소스를 절약할 수 있게 되고, 무엇보다 장점이 데이터의 종류에 맞게 대응되는 컨트롤러를 만들 필요 없이 하나의 주소에서 호출하여 사용할 수 있도록 할 수 있다.

 

 

[그림1] GraphQL 개념도

 

electron-vue를 이용한 데스크탑앱 만들기


관련 자료

https://github.com/SimulatedGREG/electron-vue

 

SimulatedGREG/electron-vue

An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack. - SimulatedGREG/elect...

github.com

https://simulatedgreg.gitbooks.io/electron-vue/content/ko/

 

Introduction · electron-vue

vue로 구축 된 electron 애플리케이션을 만들기 위한 보일러 플레이트 개요 이 프로젝트의 목적은 vue를 사용하여 Electron 앱을 수동으로 설정해야 할 필요성을 없애는 것 입니다. electron-vue은 스캐폴딩(발판)을 위한 vue-cli, vue-loader이 있는 webpack, electron-packager 또는 electron-builder, vue-router, vuex 등과 같이 가장 많이 사용되는 플러그인을 사용합니다. Ch

simulatedgreg.gitbooks.io

 



vue로 구축 된 electron 애플리케이션을 만들기 위한 보일러 플레이트 저장소를 소개한다. Electron은 javascript로 크로스 플랫폼을 지원하는 데스크탑앱을 만들도록 지원하는 프레임워크이다. HTML과 javascript만 있으면 시작할 수 있으나 기초공사부터 다시 하면 너무나 많은 작업을 해줘야 한다. 이때 Electron-Vue의 보일러플레이트 사용하면 기초 작업 없이 바로 데스크탑앱을 개발 할 수 있다.

 

[그림1] Electron-Vue logo

 

Things you'll find in this boilerplate...

 

 

Cli를 통해 시작하기

# Install vue-cli and scaffold boilerplate
npm install -g vue-cli
vue init simulatedgreg/electron-vue my-project

# Install dependencies and run your app
cd my-project
yarn # or npm install
yarn run dev # or npm run dev

 

BootstrapVue


관련 자료

 

https://blog.logrocket.com/getting-started-with-bootstrapvue-2d8bf907ef11

 

Getting started with BootstrapVue

In this post, we will learn the basics of BootstrapVue, demonstrate the setup process and build out an example Vue.js project.

blog.logrocket.com

https://bootstrap-vue.js.org/

 

BootstrapVue

Quickly integrate Bootstrap 4 components with Vue.js

bootstrap-vue.js.org

https://github.com/bootstrap-vue/bootstrap-vue

 

bootstrap-vue/bootstrap-vue

BootstrapVue, with over 40 plugins and more than 75 components, provides one of the most comprehensive implementations of Bootstrap 4 components and grid system for Vue.js and with extensive and au...

github.com



 

 

Vue.js와 세계에서 가장 널리 사용되는 프런트 엔드 CSS 라이브러리 인 Bootstrap 4를 사용하여 웹에서 반응 형 모바일 우선 프로젝트를 구축하십시오.

BootstrapVue는 광범위하고 자동화 된 WAI-ARIA 액세스 가능성 마크 업을 갖춘 Vue.js 2.5+에서 사용할 수있는 가장 포괄적 인 Bootstrap V4 구성 요소 및 그리드 시스템 구현 중 하나를 제공합니다.

 

WAI-ARIA 

https://github.com/lezhin/accessibility/blob/master/aria/README.md

 

lezhin/accessibility

모두를 위한 설계. 레진 웹 접근성 가이드라인. Contribute to lezhin/accessibility development by creating an account on GitHub.

github.com

[그림1] BootstrapVue logo

 

BootstrapVue 시작하기

Vue.js를 사용하여 반응이 빠른 모바일 우선 사이트 구축을위한 Bootstrap V4를 시작하십시오.

  • Vue.js v2.5 is required, v2.6.10 is recommended
  • Bootstrap v4.3 is required, v4.3.1 is recommended
  • PortalVue v2.0 is required, v2.1.1 is recommended
  • jQuery is not required

 

Using module bundlers

...더보기

# With npm

npm i vue bootstrap-vue bootstrap

 

# With yarn

yarn add vue bootstrap-vue bootstrap

진입점에 아래 코드 삽입

// app.js
import Vue from 'vue'
import BootstrapVue from 'bootstrap-vue'

Vue.use(BootstrapVue)

Bootstrap and BootstrapVue css 파일 삽입

// app.js
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'

 

- Vue CLI 2 이용해서 시작하기

# Ensure Vue CLI is installed and up to date
npm i -g vue-cli

# Initialize a BootstrapVue project in the directory 'my-project'
vue init bootstrap-vue/webpack-simple my-project

# Change into the directory
cd my-project

# Install dependencies
npm i

# Fire up the dev server with HMR
npm run dev

 

 

아래 그림은 BootstrapVue에서 Form의 기본 예제로 화면에 띄운 그림이다.

[그림2] BootstrapVue form

 

 

 

 

+ Recent posts