~~CLOSETOC~~ ====== .NET 関連 ====== {{:dotnet:net_logo.svg?150|.NET Logo}}\\ .NET Framework 4.8\\ * Windows 専用バージョンの .NET\\ .NET Core\\ * クロスプラットフォームバージョンの .NET\\ .NET\\ * .NET5 から .NET Core と .NET は併用できるが .NET Framework は廃止の方向\\ \\ 本家: [[https://dotnet.microsoft.com/|.NET | Free. Cross-platform. Open Source.]]\\ ダウンロード: [[https://dotnet.microsoft.com/download|Download .NET (Linux, macOS, and Windows)]]\\ .NET Framework 4.8 は[[https://www.microsoft.com/|マイクロソフト]]が開発したアプリケーション開発・実行環境である。\\ [[https://docs.microsoft.com/ja-jp/dotnet/csharp/|C#]]、[[https://docs.microsoft.com/ja-jp/dotnet/visual-basic/|Visual Basic .NET]]、[[https://docs.microsoft.com/ja-jp/cpp/dotnet/dotnet-programming-with-cpp-cli-visual-cpp?view=vs-2019|C++/CLI]]、[[https://fsharp.org/|F#]]、[[https://docs.microsoft.com/ja-jp/powershell/|PowerShell]]、[[https://ironpython.net/|IronPython]]、[[http://ironruby.net/|IronRuby]]... などの言語がある。\\ 各種言語のコンパイラは、ソースコードを共通中間言語 (CIL) のバイトコードに翻訳しアセンブリに格納する。\\ * [[https://docs.microsoft.com/ja-jp/dotnet/standard/common-type-system|共通型システム]] (CTS: Common Type System)\\ * [[https://docs.microsoft.com/ja-jp/dotnet/standard/common-type-system|共通言語仕様]] (CLS: Common Language Specification)\\ * [[https://ja.wikipedia.org/wiki/%E5%85%B1%E9%80%9A%E4%B8%AD%E9%96%93%E8%A8%80%E8%AA%9E|共通中間言語]] (CIL: Common Intermediate Language) ※ MSIL と呼ばれていた事もある。\\ * [[https://ja.wikipedia.org/wiki/%E5%85%B1%E9%80%9A%E8%A8%80%E8%AA%9E%E5%9F%BA%E7%9B%A4|共通言語基盤]] (CLI: Common Language Infrastructure)\\ * [[https://ja.wikipedia.org/wiki/%E5%AE%9F%E8%A1%8C%E6%99%82%E3%82%B3%E3%83%B3%E3%83%91%E3%82%A4%E3%83%A9|ジャストインタイムコンパイラ]] (JIT: Just-in-time compiler)\\ * [[https://en.wikipedia.org/wiki/Virtual_Execution_System|仮想実行システム]] (VES: Virtual Execution System)\\ ===== インストール ===== $ sudo dnf install dotnet
メタデータの期限切れの最終確認: 0:02:10 時間前の 2021年11月30日 14時35分15秒 に実施しました。
依存関係が解決しました。
=============================================================================================================
 パッケージ                               アーキテクチャー バージョン                 リポジトリー     サイズ
=============================================================================================================
インストール:
 dotnet                                   x86_64           5.0.206-1.fc35             fedora            11 k
依存関係のインストール:
 aspnetcore-runtime-5.0                   x86_64           5.0.9-1.fc35               fedora           6.5 M
 aspnetcore-targeting-pack-5.0            x86_64           5.0.9-1.fc35               fedora           1.3 M
 dotnet-apphost-pack-5.0                  x86_64           5.0.9-1.fc35               fedora           3.7 M
 dotnet-host                              x86_64           5.0.9-1.fc35               fedora           105 k
 dotnet-hostfxr-5.0                       x86_64           5.0.9-1.fc35               fedora           152 k
 dotnet-runtime-5.0                       x86_64           5.0.9-1.fc35               fedora            26 M
 dotnet-sdk-5.0                           x86_64           5.0.206-1.fc35             fedora            50 M
 dotnet-targeting-pack-5.0                x86_64           5.0.9-1.fc35               fedora           2.1 M
 dotnet-templates-5.0                     x86_64           5.0.206-1.fc35             fedora           1.9 M
 netstandard-targeting-pack-2.1           x86_64           5.0.206-1.fc35             fedora           1.3 M

トランザクションの概要
=============================================================================================================
インストール  11 パッケージ

ダウンロードサイズの合計: 93 M
インストール後のサイズ: 349 M
これでよろしいですか? [y/N]: y
パッケージのダウンロード:
(1/11): dotnet-5.0.206-1.fc35.x86_64.rpm                                      64 kB/s |  11 kB     00:00    
(2/11): aspnetcore-targeting-pack-5.0-5.0.9-1.fc35.x86_64.rpm                528 kB/s | 1.3 MB     00:02    
(3/11): dotnet-host-5.0.9-1.fc35.x86_64.rpm                                  241 kB/s | 105 kB     00:00    
(4/11): dotnet-hostfxr-5.0-5.0.9-1.fc35.x86_64.rpm                           355 kB/s | 152 kB     00:00    
(5/11): aspnetcore-runtime-5.0-5.0.9-1.fc35.x86_64.rpm                       1.1 MB/s | 6.5 MB     00:06    
(6/11): dotnet-apphost-pack-5.0-5.0.9-1.fc35.x86_64.rpm                      625 kB/s | 3.7 MB     00:06    
(7/11): dotnet-targeting-pack-5.0-5.0.9-1.fc35.x86_64.rpm                    598 kB/s | 2.1 MB     00:03    
(8/11): dotnet-templates-5.0-5.0.206-1.fc35.x86_64.rpm                       515 kB/s | 1.9 MB     00:03    
(9/11): netstandard-targeting-pack-2.1-5.0.206-1.fc35.x86_64.rpm             699 kB/s | 1.3 MB     00:01    
(10/11): dotnet-runtime-5.0-5.0.9-1.fc35.x86_64.rpm                          945 kB/s |  26 MB     00:28    
(11/11): dotnet-sdk-5.0-5.0.206-1.fc35.x86_64.rpm                            1.3 MB/s |  50 MB     00:37    
-------------------------------------------------------------------------------------------------------------
合計                                                                         2.0 MB/s |  93 MB     00:45     
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                                                     1/1 
  インストール中   : dotnet-host-5.0.9-1.fc35.x86_64                                                    1/11 
  インストール中   : aspnetcore-targeting-pack-5.0-5.0.9-1.fc35.x86_64                                  2/11 
  インストール中   : dotnet-apphost-pack-5.0-5.0.9-1.fc35.x86_64                                        3/11 
  インストール中   : dotnet-hostfxr-5.0-5.0.9-1.fc35.x86_64                                             4/11 
  インストール中   : dotnet-runtime-5.0-5.0.9-1.fc35.x86_64                                             5/11 
  インストール中   : aspnetcore-runtime-5.0-5.0.9-1.fc35.x86_64                                         6/11 
  インストール中   : dotnet-targeting-pack-5.0-5.0.9-1.fc35.x86_64                                      7/11 
  インストール中   : dotnet-templates-5.0-5.0.206-1.fc35.x86_64                                         8/11 
  インストール中   : netstandard-targeting-pack-2.1-5.0.206-1.fc35.x86_64                               9/11 
  インストール中   : dotnet-sdk-5.0-5.0.206-1.fc35.x86_64                                              10/11 
  インストール中   : dotnet-5.0.206-1.fc35.x86_64                                                      11/11 
  scriptletの実行中: dotnet-5.0.206-1.fc35.x86_64                                                      11/11 
  検証             : aspnetcore-runtime-5.0-5.0.9-1.fc35.x86_64                                         1/11 
  検証             : aspnetcore-targeting-pack-5.0-5.0.9-1.fc35.x86_64                                  2/11 
  検証             : dotnet-5.0.206-1.fc35.x86_64                                                       3/11 
  検証             : dotnet-apphost-pack-5.0-5.0.9-1.fc35.x86_64                                        4/11 
  検証             : dotnet-host-5.0.9-1.fc35.x86_64                                                    5/11 
  検証             : dotnet-hostfxr-5.0-5.0.9-1.fc35.x86_64                                             6/11 
  検証             : dotnet-runtime-5.0-5.0.9-1.fc35.x86_64                                             7/11 
  検証             : dotnet-sdk-5.0-5.0.206-1.fc35.x86_64                                               8/11 
  検証             : dotnet-targeting-pack-5.0-5.0.9-1.fc35.x86_64                                      9/11 
  検証             : dotnet-templates-5.0-5.0.206-1.fc35.x86_64                                        10/11 
  検証             : netstandard-targeting-pack-2.1-5.0.206-1.fc35.x86_64                              11/11 

インストール済み:
  aspnetcore-runtime-5.0-5.0.9-1.fc35.x86_64             aspnetcore-targeting-pack-5.0-5.0.9-1.fc35.x86_64  
  dotnet-5.0.206-1.fc35.x86_64                           dotnet-apphost-pack-5.0-5.0.9-1.fc35.x86_64        
  dotnet-host-5.0.9-1.fc35.x86_64                        dotnet-hostfxr-5.0-5.0.9-1.fc35.x86_64             
  dotnet-runtime-5.0-5.0.9-1.fc35.x86_64                 dotnet-sdk-5.0-5.0.206-1.fc35.x86_64               
  dotnet-targeting-pack-5.0-5.0.9-1.fc35.x86_64          dotnet-templates-5.0-5.0.206-1.fc35.x86_64         
  netstandard-targeting-pack-2.1-5.0.206-1.fc35.x86_64  

完了しました!
古い文献です\\ Fedora 30 での .NET Core のインストール\\ [[linux:fedora:copr#net_core|Fedora Copr リポジトリ - .NET Core]]\\ ===== 開発環境 ===== [[windows:visualstudio|Microsoft Visual Studio (Windows)]]\\ ===== .NET Core ===== [[dotnet:core:blazor|Blazor - Web ブラウザで動作する .NET Core 環境]]\\ ===== Framework ベンチマーク ===== [[https://www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=plaintext|TechEmpower Framework Benchmarks]]\\ ===== FCL(Framework Class Library) ===== ==== System 名前空間 ==== [[dotnet:convert|Convert クラス (System)]]\\ [[dotnet:string|String クラス (System)]]\\ ==== System.Collections 名前空間 ==== [[dotnet:collection_generic_performance|コレクション クラスの性能比較]]\\ ==== System.Data 名前空間 ==== [[dotnet:dataset|DataSet クラス (System.Data)]]\\ [[dotnet:SqlException|SqlException クラス (System.Data.SqlClient)]]\\ ==== System.IO.IsolatedStorage 名前空間 ==== 分離ストレージ\\ [[dotnet:IsolatedStorageFile|IsolatedStorageFile クラス (System.IO.IsolatedStorage)]]\\ ==== System.Text 名前空間 ==== [[dotnet:encoding|Encoding クラス (System.Text)]]\\ ==== System.Text.RegularExpressions 名前空間 ==== [[dotnet:regex|Regex クラス (System.Text.RegularExpressions)]]\\ ==== その他 ==== [[dotnet:vjslib_zip| Visual J# ライブラリによるZIP圧縮]]\\ [[dotnet:timers|.NET Frameworkのタイマについて]]\\ ===== オープンソース ===== [[https://github.com/quasar/QuasarRAT|QuasarRAT]] - オープンソース軽量リモート管理ツール\\ ※元々は軽量リモート管理ツールだが、マルウェア、バックドアとして利用されるほど高性能で有名!?\\ ===== 構成ファイル ===== [[dotnet:app_config|アプリケーション構成ファイル]]\\ ===== .NET Framework ダウンロード ===== [[http://www.microsoft.com/downloads/details.aspx?familyid=333325fd-ae52-4e35-b531-508d977d32a6&displaylang=ja|.NET Framework 3.5 ダウンロード]]\\ ===== .NET Framework ソースコード ===== ソースコード ダウンロード ページ\\  [[http://referencesource.microsoft.com/Default.aspx|Microsoft Reference Source Code Center]]\\  [[http://www.microsoft.com/downloads/details.aspx?FamilyId=8C09FD61-3F26-4555-AE17-3121B4F51D4D&displaylang=en|Shared Source Common Language Infrastructure 2.0 Release]] - microsoft.com\\  [[http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=3a1c93fa-7462-47d0-8e56-8dd34c6292f0|Shared Source Common Language Infrastructure 1.0 Release]] - microsoft.com\\  [[http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=44d1ca59-081a-464e-8a8c-844b1df7d9f0|Shared Source Common Language Infrastructure; Beta 1 Release]] - microsoft.com\\ ソースコード閲覧サイト\\  [[http://labs.developerfusion.co.uk/SourceViewer/browse.aspx?assembly=SSCLI|SSCLI \ Source Viewer - developerFusion]]\\  [[http://123aspx.com/Rotor/Default.aspx|Rotor Source - 123aspx.com ASP.NET Resource Directory]]\\ ===== ソースコード コンバータ ===== C# コードから VB.NET コードへ変換\\  [[http://www.developerfusion.com/tools/convert/csharp-to-vb/|Convert C# to VB.NET - developerFusion]]\\ VB.NET コードから C# コードへ変換\\  [[http://www.developerfusion.com/tools/convert/vb-to-csharp/|Convert VB.NET to C# - developerFusion]]\\   ※ VB の ReDim が変換できないので手直しが必要 - 2009/03/09 追記
  ※ VB の Optional が変換できないので手直しが必要 - 2009/04/08 追記
\\ ===== .NET 用ツール/Framework ===== Visual Studio 用ユニットテスト アドイン\\  [[http://testdriven.net/|TestDriven.Net]]\\ オープンソース ユニット テスティング フレームワーク\\  [[http://www.nunit.org/index.php|NUnit - Home]]\\ コードカバレッジ分析ツール\\  [[http://www.ncover.com/|NCover - Code Coverage for .NET Developers]]\\ ドキュメント生成ツール\\  [[http://www.codeplex.com/Sandcastle|Sandcastle - Documentation Compiler for Managed Class Libraries]]\\  [[http://www.codeplex.com/SHFB|Sandcastle Help File Builder]]\\  [[http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=59ec6ec3-4273-48a3-ba25-dc925a45584d|Visual Studio 2008 SDK 1.1]]\\ ===== 開発環境/言語/コンパイラ技術 ===== [[dotnet:iron_python_studio|IronPython Studio]] - IronPython(.NET 対応 Pyhton) の総合開発環境\\ [[dotnet:cpp_cli|C++/CLI について]]\\ [[dotnet:visual_cpp_setting|Visual C++ 2008]] - 快適な開発のための設定\\ [[dotnet:message_compiler|メッセージ コンパイラ(mc.exe)について]]\\ [[dotnet:gestalt|Gestalt開発環境]]\\ ===== コーディング関連 ===== ==== コーディング規約 ==== [[dotnet:coding_std_vb2005|コーディング規約(VB2005)]] 工事中\\ [[dotnet:coding_std_cs2005|コーディング規約(C#2005)]] 工事中\\ ==== コーディング チェック ==== [[dotnet:coding_check|コーディング チェック 項目]]\\ ===== 素朴な質問 ===== [[dotnet:asp_net_session_id|ASP.NETのSessionIDは何桁か?]]\\ ===== その他メモ ===== [[dotnet:web_browser_customize|WebBrowserカスタマイズに向けたメモ]]\\ ===== 書籍紹介 ===== ==== プログラミングMicrosoft .NET Framework 第2版 (マイクロソフト公式解説書) ==== CLR(共通言語ランタイム)2.0の新機能を完全網羅している。CLRの動作の仕組みと提供する機能について詳細な解説がされている。\\ .NETのプロフェッショナルを目指すためには必須の書籍である。\\ ==== 実践C++/CLI 極めるための基礎と実用テクニック ==== C++/CLIについて始めて本格的に解説した書籍。C++プログラマ向けのC++/CLIの解説書ではあるが、C#経験者であれば構文を置き換えるだけで理解できる内容である。(きっと...。)\\ ===== 参考文献 ===== [[https://blog.inedo.com/jp/dotnet/net5-release-prep|開発が大きく変わる.NET5。その概要と移行方法をご紹介。]]\\ ==== 付録 ==== [[tw>tomoyan596/status/1465557088608817154|dot.net Core 5.0 がいつの間にかFedoraのCoprから公式リポジトリに移ってる??🤔 / Twitter]]\\ [[tw>tomoyan596/status/1465793866573910016|.NET5 から .NET Coreと言わなくなったのですねぇ🤔世の中みんなCoreなんて、そのうち付けなくなる傾向だからかなぁ🤔Fedoraも最初はFedora CoreでしたけどCoreとった😅みんな最初からCoreなんて付けなくていい🤤 / Twitter]]\\