dotnet:core:blazor

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
dotnet:core:blazor [2019/08/19 18:10] ともやんdotnet:core:blazor [2019/08/19 20:00] (現在) – [サブディレクトリで Blazor アプリが動作しない] ともやん
行 17: 行 17:
  
 ===== 参考文献 ===== ===== 参考文献 =====
 +[[https://learn-blazor.com/|Introduction :: Learn Blazor]]\\
 [[https://github.com/mono/mono/issues/11066|Using Roslyn in wasm-Project · Issue #11066 · mono/mono · GitHub]]\\ [[https://github.com/mono/mono/issues/11066|Using Roslyn in wasm-Project · Issue #11066 · mono/mono · GitHub]]\\
 [[https://github.com/Suchiman/Runny|GitHub - Suchiman/Runny: Prototype of running roslyn in the browser via Blazor]]\\ [[https://github.com/Suchiman/Runny|GitHub - Suchiman/Runny: Prototype of running roslyn in the browser via Blazor]]\\
行 26: 行 27:
 ここでは、**<base href="/media/dotnet/core/blazor_app/" />** に配置するように修正している。\\ ここでは、**<base href="/media/dotnet/core/blazor_app/" />** に配置するように修正している。\\
 これを適切に修正しないと、**blazor.webassembly.js** の **fetch** API 呼び出しなどがすべてサブディレクトリを無視して **https://www.tomoyan.net/_framework/** へ要求してしまい **404 Not Found** となってしまう。\\ これを適切に修正しないと、**blazor.webassembly.js** の **fetch** API 呼び出しなどがすべてサブディレクトリを無視して **https://www.tomoyan.net/_framework/** へ要求してしまい **404 Not Found** となってしまう。\\
-<code html index.html>+<WRAP prewrap 100%> 
 +<code html>
 <!DOCTYPE html> <!DOCTYPE html>
 <html> <html>
行 44: 行 46:
 </html> </html>
 </code> </code>
 +</WRAP>
  
 ==== 「Incorrect response MIME type. Expected 'application/wasm'.」が発生する ==== ==== 「Incorrect response MIME type. Expected 'application/wasm'.」が発生する ====
  • dotnet/core/blazor.txt
  • 最終更新: 2019/08/19 20:00
  • by ともやん