「ASP.NET Web API/NUnitでユニットテストを行う」の版間の差分
| 16行目: | 16行目: | ||
===手順1=== | ===手順1=== | ||
空のAPS.NETプロジェクトを作成する。 | 空のAPS.NETプロジェクトを作成する。 | ||
(1)ASP.NET Web APIを[[NuGet]]から入れる。 | |||
(2)動作検証用のAPIコントローラーを作る。 | |||
: Controllers/HelloController.cs | : Controllers/HelloController.cs | ||
<source lang="csharp"> | <source lang="csharp"> | ||