2021-05-20から1日間の記事一覧
・参考 docs.microsoft.com 一部ですが一覧。 ContentResult:生のテキストコンテンツをブラウザーに送信する。 EmptyResult:ブラウザーにコンテンツを送信しない。 FileContentResult:ファイルの内容をブラウザーに送信汁。ファイルの内容はバイト配列。 …
・参考書籍 「プログラミング ASP.NET CORE」のP103 カスタムヘッダー モデル↓ using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Filters; namespace TeamMember.Models { public class FilterTest : ActionFilterAttribute { // アクショ…
モデルクラスに記述するバージョン コントローラに記述するバージョン " id="モデルクラスに記述するバージョン">モデルクラスに記述するバージョン using System. Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnno…