13,005
回編集
(ページの作成:「== 概要 == Photino Blazorのプロジェクト構成は、標準的なBlazorプロジェクトの構成に似ている。<br> しかし、Photinoを使用してデスクトップアプリケーションとして実行される点が特徴である。<br> <br><br> == プロジェクト構成 == 基本的なプロジェクト構成を、以下に示す。<br> <br> PhotinoBlazorApp/ │ ├── wwwroot/ # 静的ファイル (CSS, JavaScript, 画像…」) |
|||
57行目: | 57行目: | ||
==== appsettings.json ==== | ==== appsettings.json ==== | ||
アプリケーションの設定を格納するJSONファイルである。<br> | アプリケーションの設定を格納するJSONファイルである。<br> | ||
<br> | |||
主な設定項目<br> | |||
* Logging | |||
*: ログ出力の詳細レベル設定 | |||
* AllowedHosts | |||
*: アプリケーションにアクセスできるホスト | |||
* ApplicationSettings | |||
*: Photinoウィンドウの設定 (タイトル、サイズ等) | |||
<br> | |||
<syntaxhighlight lang="json"> | |||
{ | |||
"Logging": { | |||
"LogLevel": { | |||
"Default": "Information", | |||
"Microsoft": "Warning", | |||
"Microsoft.Hosting.Lifetime": "Information" | |||
} | |||
}, | |||
"AllowedHosts": "*", | |||
"ApplicationSettings": { | |||
"WindowTitle": "Photino.Blazor App", | |||
"WindowWidth": 800, | |||
"WindowHeight": 600 | |||
} | |||
} | |||
</syntaxhighlight> | |||
<br><br> | <br><br> | ||