Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
84d15b1
Update README.md (Untranslated "The variable `forecast`~")
hyoshioka0128 May 5, 2025
a21b85d
Update README.md (Untranslated "You can stop debugging now.")
hyoshioka0128 May 6, 2025
3b01050
Update README.md (Untranslated "Congratulations! Now you are ready to~")
hyoshioka0128 May 7, 2025
04daa50
Update README.md (Untranslated "Step 2: Get familiarized ~")
hyoshioka0128 May 8, 2025
9d1cf9f
Update README.md (Untranslated "As we start working in our codebase,~")
hyoshioka0128 May 10, 2025
2e5dfcc
Update README.md (Untranslated "Open the file `Program.cs`~")
hyoshioka0128 May 11, 2025
6fa0678
Update README.md (Untranslated "Now let's use a slash command,`~")
hyoshioka0128 May 11, 2025
34da0a8
Update README.md (Untranslated "Let's use the `/tests` command~")
hyoshioka0128 May 12, 2025
9f3f0e4
Update README.md (Untranslated "At this point, GitHub Copilot will~")
hyoshioka0128 May 14, 2025
dc09527
Update README.md (Untranslated "A new class `ProgramTests.cs` was~")
hyoshioka0128 May 14, 2025
5892cc3
Update README.md (Untranslated "Important: We are not going to use~")
hyoshioka0128 May 15, 2025
1026554
Update README.md (Untranslated "Finally, let's use the `/doc`~")
hyoshioka0128 May 17, 2025
cdd7b20
Update README.md (Untranslated "Inline chat, the Chat Panel~")
hyoshioka0128 May 17, 2025
334949d
Update README.md (Untranslated "### Step 3: Generate a new Record~")
hyoshioka0128 May 18, 2025
ee4fdd1
Update README.md (Untranslated "Go to the `Program.cs` file~")
hyoshioka0128 May 19, 2025
f364587
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 20, 2025
fbccbb7
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 21, 2025
fd4cf34
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 23, 2025
e801d31
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 24, 2025
7afdcfb
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 24, 2025
d266b76
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 25, 2025
9535953
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 26, 2025
df420d3
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 27, 2025
8596686
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 28, 2025
8c9bec9
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 29, 2025
db14426
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 May 30, 2025
88215c4
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 Jun 1, 2025
839c937
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 Jun 1, 2025
82dca6c
Update 02-Build-and-deploy-your-application-with-GitHub-Copilot-for-A…
hyoshioka0128 Jun 3, 2025
cd7bd14
Merge branch 'microsoft:main' into patch-55
hyoshioka0128 Aug 8, 2025
b6a4c73
Merge branch 'hyoshioka/jp01' into combined-pr
hyoshioka0128 Oct 14, 2025
668c1da
Merge remote-tracking branch 'origin/patch-55' into combined-pr
hyoshioka0128 Oct 14, 2025
1c03544
Merge remote-tracking branch 'origin/patch-54' into combined-pr
hyoshioka0128 Oct 14, 2025
f675755
Merge remote-tracking branch 'origin/patch-53' into combined-pr
hyoshioka0128 Oct 14, 2025
9ac07e3
Merge remote-tracking branch 'origin/patch-52' into combined-pr
hyoshioka0128 Oct 14, 2025
d0453b9
Merge remote-tracking branch 'origin/patch-51' into combined-pr
hyoshioka0128 Oct 14, 2025
8fec932
Merge remote-tracking branch 'origin/patch-50' into combined-pr
hyoshioka0128 Oct 14, 2025
672b3b8
Merge remote-tracking branch 'origin/patch-49' into combined-pr
hyoshioka0128 Oct 14, 2025
c35f943
Merge remote-tracking branch 'origin/patch-48' into combined-pr
hyoshioka0128 Oct 14, 2025
3130f8d
Merge remote-tracking branch 'origin/patch-47' into combined-pr
hyoshioka0128 Oct 14, 2025
345399f
Merge remote-tracking branch 'origin/patch-46' into combined-pr
hyoshioka0128 Oct 14, 2025
6fc2e96
Merge remote-tracking branch 'origin/patch-45' into combined-pr
hyoshioka0128 Oct 14, 2025
63758df
Merge remote-tracking branch 'origin/patch-44' into combined-pr
hyoshioka0128 Oct 14, 2025
bc22338
Merge remote-tracking branch 'origin/patch-43' into combined-pr
hyoshioka0128 Oct 14, 2025
593bc43
Merge remote-tracking branch 'origin/patch-42' into combined-pr
hyoshioka0128 Oct 14, 2025
b011698
Merge remote-tracking branch 'origin/patch-40' into combined-pr
hyoshioka0128 Oct 14, 2025
566e2d2
Merge remote-tracking branch 'origin/patch-39' into combined-pr
hyoshioka0128 Oct 14, 2025
6f76d1b
Merge remote-tracking branch 'origin/patch-38' into combined-pr
hyoshioka0128 Oct 14, 2025
76cd24e
Merge remote-tracking branch 'origin/patch-37' into combined-pr
hyoshioka0128 Oct 14, 2025
cfb94a6
Merge remote-tracking branch 'origin/patch-36' into combined-pr
hyoshioka0128 Oct 14, 2025
d65be19
Merge remote-tracking branch 'origin/patch-35' into combined-pr
hyoshioka0128 Oct 14, 2025
f449a8a
Merge remote-tracking branch 'origin/patch-34' into combined-pr
hyoshioka0128 Oct 14, 2025
ab64f73
Merge remote-tracking branch 'origin/patch-33' into combined-pr
hyoshioka0128 Oct 14, 2025
6a99dee
Merge remote-tracking branch 'origin/patch-32' into combined-pr
hyoshioka0128 Oct 14, 2025
9161819
Merge remote-tracking branch 'origin/patch-31' into combined-pr
hyoshioka0128 Oct 14, 2025
b2fd795
Merge remote-tracking branch 'origin/patch-30' into combined-pr
hyoshioka0128 Oct 14, 2025
8f575fd
Merge remote-tracking branch 'origin/patch-29' into combined-pr
hyoshioka0128 Oct 14, 2025
f24ba11
Merge remote-tracking branch 'origin/patch-28' into combined-pr
hyoshioka0128 Oct 14, 2025
8f151da
Merge remote-tracking branch 'origin/patch-27' into combined-pr
hyoshioka0128 Oct 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ The exact wording of the response is different each time GitHub Copilot for Azur

1. If `azd up` experiences an error, ask GitHub Copilot for Azure about the error and how you can resolve it.

> **TIP**
> **ヒント**
> For an easy way to attach the last terminal command results, use the paperclip icon at the bottom left of the chat pane. GitHub Copilot for Azure doesn't know the terminal command results unless they are copy/pasted or attached via the paperclip.


Expand Down
32 changes: 16 additions & 16 deletions translations/ja/04-Using-GitHub-Copilot-with-CSharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,21 @@ Add a breakpoint in line 24 (press F9) and refresh the browser with the Url to t

![debug the running application.](../../../04-Using-GitHub-Copilot-with-CSharp/images/009DebugBackEndDemo.png)

Pressing F10 we can debug step-by-step until line 32, where we can see the generated values. The application should have been generated samples Weather values for the next 5 days. The variable `forecast` has an array containing these values.
Pressing F10 we can debug step-by-step until line 32, where we can see the generated values. The application should have been generated samples Weather values for the next 5 days. 変数 `forecast` には、これらの値を含む配列が格納されています。

![debug the running application.](../../../04-Using-GitHub-Copilot-with-CSharp/images/010DebugForecastValue.png)

You can stop debugging now.
これでデバッグを停止できます。

Congratulations! Now you are ready to add more features into the app using GitHub Copilot.
おめでとうございます!これで、GitHub Copilot を使用してアプリに機能を追加する準備が整いました。

### 🗒️ Step 2: Get familiarized with GitHub Copilot Slash Commands
### 🗒️ ステップ 2: GitHub Copilotのスラッシュコマンドに慣れる

As we start working in our codebase, we usually need to refactor some code, or get more context or explanations about it. Using GitHub Copilot Chat, we can have AI-driven conversations to perform these tasks.
コードベースで作業を開始すると、通常、コードをリファクタリングしたり、コードに関する詳細なコンテキストや説明を入手したりする必要が生じます。GitHub Copilot Chat を使用すると、AI を活用した会話を通じてこれらのタスクを実行できます。

Open the file `Program.cs` in the BackEnd project. The file is in the following path `SampleApp\BackEnd\Program.cs`.
BackEnd プロジェクトのファイル `Program.cs` を開きます。このファイルは `SampleApp\BackEnd\Program.cs` というパスにあります。

Now let's use a slash command, in GitHub Copilot to understand a piece of code. Select lines 22-35, press `CTRL + I` to open the inline chat, and type `/explain`に移動します。
GitHub Copilot でスラッシュコマンドを使ってコードの一部を理解してみましょう。22行目から35行目までを選択し、`CTRL + I`を押してインラインチャットを開き、`/explain` と入力してください。

![コードの説明をするスラッシュコマンドを使用](../../../04-Using-GitHub-Copilot-with-CSharp/images/011SlashCommandExplain.gif)

Expand All @@ -105,26 +105,26 @@ The selected C# code is part of an ASP.NET Core application using the minimal AP
- `/fix` to propose a fix for the problems in the selected code
- `/generate` to generate code to answer your question

Let's use the `/tests` command to generate tests to the code. Select lines 39-42, press `CTRL + I` to open the inline chat, and type `/tests` (or select the /tests slash command) to generate a new set of tests for this record.
`/tests` コマンドを使ってコードのテストを生成してみましょう。39行目から42行目までを選択し、`CTRL + I` を押してインラインチャットを開き、`/tests` と入力(または /tests スラッシュコマンドを選択)して、このレコードの新しいテストセットを生成します。

![Use slash command to generate tests for the selected piece of code](../../../04-Using-GitHub-Copilot-with-CSharp/images/012SlashCmdTests.gif)

At this point, GitHub Copilot will suggest a new class. You need to first press [Accept] to create the new file.
この時点で、GitHub Copilot は新しいクラスを提案します。新しいファイルを作成するには、まず [Accept] を押す必要があります。

A new class `ProgramTests.cs` was created and added to the project. This tests are using XUnit, however, you can ask to generate tests using another Unit Test library with a command like this one `/tests use MSTests for unit testing`.
新しいクラス `ProgramTests.cs` が作成され、プロジェクトに追加されました。このテストはXUnitを使用していますが、`/tests use MSTests for unit testing` のようなコマンドを実行することで、別のユニットテストライブラリを使用してテストを生成することもできます。

***Important:** We are not going to use the test file in this project. You must delete the generated test file to continue.*
***重要:** このプロジェクトではテストファイルは使用しません。続行するには、生成されたテストファイルを削除する必要があります。*

Finally, let's use the `/doc` to generate automatic documentation to the code. Select lines 39-42, press `CTRL + I` to open the inline chat, and type `/doc` (or select the command) to generate the documentation for this record.
最後に、`/doc` を使ってコードのドキュメントを自動生成しましょう。39行目から42行目までを選択し、`CTRL + I` を押してインラインチャットを開き、`/doc` と入力(またはコマンドを選択)して、このレコードのドキュメントを生成します。

![Use slash command to generate the documentation for a piece of code](../../../04-Using-GitHub-Copilot-with-CSharp/images/013SlashCmdDoc.gif)

Inline chat, the Chat Panel, and slash commands are part of the amazing tools that support our development experience with GitHub Copilot. Now we are ready to add new features to this App.
インラインチャット、チャットパネル、スラッシュコマンドは、GitHub Copilot を使った開発環境を支える素晴らしいツールの一部です。さあ、このアプリに新機能を追加する準備が整いました。


### 🗒️ Step 3: Generate a new Record that includes the city name
### 🗒️ ステップ3: 都市名を含む新しいレコードを生成する

Go to the `Program.cs` file in the BackEnd project. The file is in the following path `SampleApp\BackEnd\Program.cs`
BackEnd プロジェクトの `Program.cs` ファイルに移動します。このファイルは `SampleApp\BackEnd\Program.cs` というパスにあります。

![BackEndプロジェクトのprogram.csを開く](../../../04-Using-GitHub-Copilot-with-CSharp/images/011OpenBackEndProject.png)

Expand Down Expand Up @@ -244,4 +244,4 @@ Microsoft、Windows、Microsoft Azure、および/またはドキュメントで
Microsoftおよびその他の貢献者は、各自の著作権、特許、商標に基づくその他の権利を暗黙的、禁反言またはその他の方法で留保します。

**免責事項**:
この文書は、機械ベースのAI翻訳サービスを使用して翻訳されています。正確性を追求しておりますが、自動翻訳には誤りや不正確な箇所が含まれる可能性があります。元の言語で記載された原文が信頼できる情報源と見なされるべきです。重要な情報については、専門の人間による翻訳をお勧めします。この翻訳の利用に起因する誤解や解釈の誤りについて、当方は一切の責任を負いません。
この文書は、機械ベースのAI翻訳サービスを使用して翻訳されています。正確性を追求しておりますが、自動翻訳には誤りや不正確な箇所が含まれる可能性があります。元の言語で記載された原文が信頼できる情報源と見なされるべきです。重要な情報については、専門の人間による翻訳をお勧めします。この翻訳の利用に起因する誤解や解釈の誤りについて、当方は一切の責任を負いません。
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@ GitHub Copilot for Azure を開発およびデプロイのワークフローに
> **IMPORTANT**
GitHub Copilot for Azure の回答は、大規模言語モデルがどのように応答を生成するかによって、毎回異なる表現になります。

少し待つと、GitHub Copilot for Azure `azd` template to use. Or in some cases will provide an answer like the following:
しばらくすると、GitHub Copilot for Azure が使用する `azd` テンプレートを提案するはずです。あるいは、次のような回答が返される場合もあります。

![Screenshot that shows the GitHub Copilot chat pane](../../../06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/images/mod2-CopilotChat-3.png "Screenshot that shows a response from GitHub Copilot for Azure with instructions for using a template to create a website in Azure.")

Just Remember that the Large Language Model will understand what you tell it. Therefore, just have the conversation with it.
大規模言語モデルはあなたが伝えたことを理解することを覚えておいてください。ですから、ただ会話を交わすだけです。

1. If the answer provides a command that begins with `azd init` in a code fence, hover over the code fence to reveal a small pop-up action menu.
1. 回答にコード フェンス内の `azd init` で始まるコマンドが示されている場合は、コード フェンスの上にマウス カーソルを合わせると、小さなポップアップ アクション メニューが表示されます。

![Screenshot that shows the GitHub Copilot chat pane](../../../06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/images/mod2-CopilotChat-4.png "Screenshot that shows a pop-up menu with an option to insert a code-fenced command into the Visual Studio Code terminal.")

Select **Insert into Terminal** to insert the command into the terminal.
**Insert into Terminal** を選択して、コマンドをターミナルに挿入します。

![Screenshot that shows the GitHub Copilot chat pane](../../../06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/images/mod2-CopilotChat-5.png "Screenshot that shows the Visual Studio Code terminal after insertion of a code-fenced command.")

1. Before you run the `azd init` コマンドを提案する可能性があります。このコマンドがローカルコンピューターや Azure サブスクリプションにどのような影響を与えるかについて質問したくなるかもしれません。
1. `azd init` コマンドを実行する前に、それがローカル コンピューターと Azure サブスクリプションにどのような影響を与えるかについて質問したくなるかもしれません。

次のプロンプトを使用します:

Expand Down Expand Up @@ -84,9 +84,9 @@ GitHub Copilot for Azure の回答は、大規模言語モデルがどのよう

![GitHub Copilot for Azure が Azure App Service の機能に関する説明を含む応答を示すスクリーンショット](../../../06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/images/mod2-CopilotChat-8.png "Azure App Service の機能の説明を含む応答")

1. 満足したら、次のコマンドをターミナルで実行して `azd init` command in the terminal. Answer its prompts. If you're unsure what to answer for a prompt, ask GitHub Copilot for Azure for help.
1. 問題がなければ、ターミナルで `azd init` コマンドを実行し、プロンプトに答えてください。プロンプトに何と答えればよいか分からない場合は、GitHub Copilot for Azure に問い合わせてください。

1. Before you can continue, you must authenticate the `azd` ツールを実行します:
1. 続行する前に、ターミナルで次のコマンドを実行して `azd` ツールを認証する必要があります。

```cmd
azd auth login
Expand All @@ -112,19 +112,19 @@ GitHub Copilot for Azure の回答は、大規模言語モデルがどのよう

![GitHub Copilot for Azure が Azure のロケーションとその選び方に関する説明を含む応答を示すスクリーンショット](../../../06-Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/images/mod2-CopilotChat-9.png "Azure のロケーションに関する説明を含む応答")

5. `azd up`. Ask GitHub Copilot for Azure questions as needed.
5. `azd up`。必要に応じて、Azure に関する質問は GitHub Copilot にお問い合わせください。

1. When asked the location select **Canada East (canadaeast)**.
1. 場所を尋ねられたら、**Canada East (canadaeast)** を選択します。

Depending on the `azd` template that you're deploying and the location that you selected, the template might take 10 minutes (or more) to deploy. But we can Move on to [Module 3](./03-Get-Answers-to-your-Questions-about-Azure-Services-and-Resources.md) while it completes
デプロイする `azd` テンプレートと選択した場所によっては、テンプレートのデプロイに10分(またはそれ以上)かかる場合があります。デプロイが完了するまでに[モジュール 3](./03-Get-Answers-to-your-Questions-about-Azure-Services-and-Resources.md)に進むことができます。

1. If `azd up` experiences an error, ask GitHub Copilot for Azure about the error and how you can resolve it.
1. `azd up` でエラーが発生した場合は、GitHub Copilot for Azure にエラーとその解決方法を問い合わせてください。

> **TIP**
> For an easy way to attach the last terminal command results, use the paperclip icon at the bottom left of the chat pane. GitHub Copilot for Azure doesn't know the terminal command results unless they are copy/pasted or attached via the paperclip.
> 最後のターミナルコマンドの結果を簡単に添付するには、チャットペインの左下にあるクリップアイコンを使用します。GitHub Copilot for Azure は、コピー/貼り付けまたはクリップボード経由で添付されない限り、ターミナルコマンドの結果を認識しません。


1. When you are done run `azd down` のプロンプトに引き続き回答し、すべてのリソースを削除します
1. 完了したら、`azd down` を実行してすべてのリソースを削除します

**免責事項**:
本書類は、機械ベースのAI翻訳サービスを使用して翻訳されています。正確性を追求しておりますが、自動翻訳には誤りや不正確さが含まれる場合があります。元の言語で記載された原文を公式な情報源としてお考えください。重要な情報については、専門の人間による翻訳を推奨いたします。本翻訳の使用に起因する誤解や解釈の誤りについて、当方は一切の責任を負いかねます。
本書類は、機械ベースのAI翻訳サービスを使用して翻訳されています。正確性を追求しておりますが、自動翻訳には誤りや不正確さが含まれる場合があります。元の言語で記載された原文を公式な情報源としてお考えください。重要な情報については、専門の人間による翻訳を推奨いたします。本翻訳の使用に起因する誤解や解釈の誤りについて、当方は一切の責任を負いかねます。