Skip to content

Commit

Permalink
Update all docs and sample codes (Azure-Samples#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinyoo authored Jun 1, 2024
1 parent 880616b commit e0df7a1
Show file tree
Hide file tree
Showing 202 changed files with 3,172 additions and 2,281 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
// Install common utilities
"ghcr.io/devcontainers/features/common-utils:latest": {
"installZsh": true,
"configureZshAsDefaultShell": false,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true,
"installOhMyZshConfig": true,
"upgradePackages": true,
Expand Down
8 changes: 0 additions & 8 deletions .devcontainer/on-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ az bicep install
# Uncomment the below to install Azure Bicep CLI.
gh extension install github/gh-copilot

## AZURE FUNCTIONS CORE TOOLS ##
# Uncomment the below to install Azure Functions Core Tools. Make sure you have installed node.js
npm i -g azure-functions-core-tools@4 --unsafe-perm true

## AZURE STATIC WEB APPS CLI ##
# Uncomment the below to install Azure Static Web Apps CLI. Make sure you have installed node.js
npm install -g @azure/static-web-apps-cli

## AZURE DEV CLI ##
# Uncomment the below to install Azure Dev CLI. Make sure you have installed Azure CLI and GitHub CLI
curl -fsSL https://aka.ms/install-azd.sh | bash
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,10 @@ $RECYCLE.BIN/
*.swp

# ---
*.bak
appsettings.Development.json
appsettings.Production.json
bundle.js
bundle.js.*.txt
workshop/
workshop*/
z-demo*/
23 changes: 15 additions & 8 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
<Project>
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
<PropertyGroup>
<TargetFrameworkVersion>net8.0</TargetFrameworkVersion>
<AspNetCoreVersion>8.0.2</AspNetCoreVersion>
<MicrosoftExtensionsHttpResilienceVersion>8.2.0</MicrosoftExtensionsHttpResilienceVersion>
<SwashbuckleVersion>6.5.0</SwashbuckleVersion>
<!-- <AzureOpenAISdkVersion>1.0.0-beta.9</AzureOpenAISdkVersion> -->
<AzureOpenAISdkVersion>1.0.0-beta.13</AzureOpenAISdkVersion>
<YouTubeSubtitlesExtractorVersion>2.0.0</YouTubeSubtitlesExtractorVersion>
<AspireVersion>8.0.0-preview.3.24105.21</AspireVersion>
<TargetFramework>net8.0</TargetFramework>
<LanguageVersion>latest</LanguageVersion>

<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>

<AspireVersion>8.*</AspireVersion>
<AspNetCoreVersion>8.*</AspNetCoreVersion>
<AzureOpenAISdkVersion>1.*-beta.*</AzureOpenAISdkVersion>
<MicrosoftExtensionsVersion>8.*</MicrosoftExtensionsVersion>
<OpenTelemetryExporterVersion>1.*</OpenTelemetryExporterVersion>
<OpenTelemetryExtensionsVersion>1.*</OpenTelemetryExtensionsVersion>
<OpenTelemetryInstrumentationVersion>1.*</OpenTelemetryInstrumentationVersion>
<SwashbuckleVersion>6.*</SwashbuckleVersion>
<YouTubeSubtitlesExtractorVersion>2.*</YouTubeSubtitlesExtractorVersion>
</PropertyGroup>
</Project>
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
이 워크샵을 진행하기 위해서는 아래와 같은 준비사항이 필요합니다.

- [GitHub Account](https://github.com/signup) 및 GitHub Copilot 구독 ([개인](https://docs.github.com/ko/copilot/overview-of-github-copilot/about-github-copilot-individual), [비지니스](https://docs.github.com/ko/copilot/overview-of-github-copilot/about-github-copilot-business) 또는 [엔터프라이즈](https://docs.github.com/ko/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise))
- [Visual Studio 2022 17.9+](https://visualstudio.microsoft.com/?WT.mc_id=dotnet-121695-juyoo) 또는 [Visual Studio Code](https://code.visualstudio.com/?WT.mc_id=dotnet-121695-juyoo) + [C# Dev Kit 익스텐션](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit&WT.mc_id=dotnet-121695-juyoo)
- [Visual Studio 2022 17.10+](https://visualstudio.microsoft.com/?WT.mc_id=dotnet-121695-juyoo) 또는 [Visual Studio Code](https://code.visualstudio.com/?WT.mc_id=dotnet-121695-juyoo) + [C# Dev Kit 익스텐션](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit&WT.mc_id=dotnet-121695-juyoo)
- [.NET 8 SDK](https://dotnet.microsoft.com/ko-kr/download/dotnet/8.0?WT.mc_id=dotnet-121695-juyoo) + [Aspire 워크로드](https://learn.microsoft.com/ko-kr/dotnet/core/tools/dotnet-workload-install?WT.mc_id=dotnet-121695-juyoo)
- [node.js](https://nodejs.org/en/download) (선택)
- [Azure 구독](https://azure.microsoft.com/ko-kr/free/?WT.mc_id=dotnet-121695-juyoo)
Expand All @@ -36,13 +36,12 @@
| [Session 05](./docs/04-azure-deployment-aks.md) | Azure 배포 &ndash; Azure Kubernetes Service |
| [Session 06](./docs/06-blazor-js-interop.md) | Blazor JavaScript Interoperability 적용 (선택) |


## Resources

- [What is Blazor?](https://learn.microsoft.com/ko-kr/aspnet/core/blazor?WT.mc_id=dotnet-121695-juyoo)
- [Build your first Blazor app](https://dotnet.microsoft.com/ko-kr/apps/aspnet/web-apps/blazor?WT.mc_id=dotnet-121695-juyoo)
- [What is Aspire?](https://learn.microsoft.com/ko-kr/dotnet/aspire/get-started/aspire-overview?WT.mc_id=dotnet-121695-juyoo)
- [Build your first Aspire app](https://learn.microsoft.com/ko-kr/dotnet/aspire/get-started/quickstart-build-your-first-aspire-app?tabs=dotnet-cli&WT.mc_id=dotnet-121695-juyoo)
<!-- - [What is GitHub Copilot?](https://docs.github.com/ko/copilot) -->
- [What is GitHub Copilot?](https://docs.github.com/ko/copilot)
- [Building an intelligent app with Blazor and Azure OpenAI](https://www.youtube.com/watch?v=TH12YSLLe9E&t=8464s)
- [Your stack for building Cloud Native apps](https://www.youtube.com/live/5IjKH-gy2Y0?si=dSMvC7arUeRpqBmz)
52 changes: 50 additions & 2 deletions docs/00-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

## Azure OpenAI 프록시 구독 신청

1. 아래 링크를 클릭해서 Azure OpenAI 프록시 구독을 신청합니다.
1. 아래 링크를 클릭해서 Azure OpenAI 프록시 구독을 신청합니다. 구독 신청시 GitHub ID로 로그인해야 합니다.

👉 구독 신청 링크: [https://aka.ms/aspireinadaykr/request](https://aka.ms/aspireinadaykr/request)

1. 신청한 이메일을 통해 `[email protected]` 발신자로 Azure OpenAI 프록시 구독 코드가 온 것을 확인합니다.
1. 로그인 후 화면에서 API키와 Endpoint 값을 확인합니다.

<!-- ## Azure OpenAI 프록시 구독 및 GitHub Copilot 구독 신청
Expand Down Expand Up @@ -49,6 +49,54 @@
upstream https://github.com/Azure-Samples/aspire-app-dev-in-a-day-ko.git (push)
```

## Visual Studio Code 시작

1. 이 리포지토리를 자신의 GitHub 계정으로 포크합니다.
1. 포크한 리포지토리에서 자신의 컴퓨터로 클론합니다.

```bash
git clone https://github.com/<자신의 GitHub ID>/aspire-app-dev-in-a-day-ko.git
```

1. Visual Studio Code를 실행한 후 터미널에서 아래 명령어를 실행시켜 현재 리포지토리의 위치를 확인합니다.

```bash
git remote -v
```

이 명령어를 실행하면 아래와 같은 결과가 나와야 합니다. 만약 `origin``Azure-Samples`가 보이면 자신의 리포지토리에서 다시 클론해야 합니다.

```bash
origin https://github.com/<자신의 GitHub ID>/aspire-app-dev-in-a-day-ko (fetch)
origin https://github.com/<자신의 GitHub ID>/aspire-app-dev-in-a-day-ko (push)
upstream https://github.com/Azure-Samples/aspire-app-dev-in-a-day-ko.git (fetch)
upstream https://github.com/Azure-Samples/aspire-app-dev-in-a-day-ko.git (push)
```

1. 아래 명령어를 실행시켜 현재 설치된 .NET SDK 버전을 확인합니다.

```bash
dotnet --list-sdks
```

`8.0.300` 이상의 버전이 설치되어 있어야 합니다. 없을 경우 [.NET SDK 설치 페이지](https://dotnet.microsoft.com/download/dotnet/8.0?WT.mc_id=dotnet-121695-juyoo)에서 최신 버전을 다운로드 받아 설치합니다.

1. 아래 명령어를 실행시켜 [C# Dev Kit 익스텐션](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit&WT.mc_id=dotnet-121695-juyoo)이 설치되어 있는지 확인합니다.

```bash
# bash/zsh
code --list-extensions | findstr "ms-dotnettools.csdevkit"
# PowerShell
code --list-extensions | Select-String "ms-dotnettools.csdevkit"
```

1. 만약 설치되어 있지 않다면 설치합니다.

```bash
code --install-extension "ms-dotnettools.csdevkit" --force
```

---

축하합니다! 개발 환경 설정이 끝났습니다. 이제 [Session 01: Blazor 프론트엔드 웹 앱 개발](./01-blazor-frontend.md)로 넘어가세요.
Loading

0 comments on commit e0df7a1

Please sign in to comment.