目次

.NET 関連

.NET Logo
.NET Framework 4.8
* Windows 専用バージョンの .NET
.NET Core
* クロスプラットフォームバージョンの .NET
.NET
* .NET5 から .NET Core と .NET は併用できるが .NET Framework は廃止の方向

本家: .NET | Free. Cross-platform. Open Source.
ダウンロード: Download .NET (Linux, macOS, and Windows)

.NET Framework 4.8 はマイクロソフトが開発したアプリケーション開発・実行環境である。
C#Visual Basic .NETC++/CLIF#PowerShellIronPythonIronRuby… などの言語がある。
各種言語のコンパイラは、ソースコードを共通中間言語 (CIL) のバイトコードに翻訳しアセンブリに格納する。
* 共通型システム (CTS: Common Type System)
* 共通言語仕様 (CLS: Common Language Specification)
* 共通中間言語 (CIL: Common Intermediate Language) ※ MSIL と呼ばれていた事もある。
* 共通言語基盤 (CLI: Common Language Infrastructure)
* ジャストインタイムコンパイラ (JIT: Just-in-time compiler)
* 仮想実行システム (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 のインストール
Fedora Copr リポジトリ - .NET Core

開発環境

Microsoft Visual Studio (Windows)

.NET Core

Blazor - Web ブラウザで動作する .NET Core 環境

Framework ベンチマーク

TechEmpower Framework Benchmarks

FCL(Framework Class Library)

System 名前空間

Convert クラス (System)
String クラス (System)

System.Collections 名前空間

コレクション クラスの性能比較

System.Data 名前空間

DataSet クラス (System.Data)
SqlException クラス (System.Data.SqlClient)

System.IO.IsolatedStorage 名前空間

分離ストレージ
IsolatedStorageFile クラス (System.IO.IsolatedStorage)

System.Text 名前空間

Encoding クラス (System.Text)

System.Text.RegularExpressions 名前空間

Regex クラス (System.Text.RegularExpressions)

その他

Visual J# ライブラリによるZIP圧縮
.NET Frameworkのタイマについて

オープンソース

QuasarRAT - オープンソース軽量リモート管理ツール
※元々は軽量リモート管理ツールだが、マルウェア、バックドアとして利用されるほど高性能で有名!?

構成ファイル

アプリケーション構成ファイル

.NET Framework ダウンロード

.NET Framework 3.5 ダウンロード

.NET Framework ソースコード

ソースコード ダウンロード ページ
 Microsoft Reference Source Code Center
 Shared Source Common Language Infrastructure 2.0 Release - microsoft.com
 Shared Source Common Language Infrastructure 1.0 Release - microsoft.com
 Shared Source Common Language Infrastructure; Beta 1 Release - microsoft.com
ソースコード閲覧サイト
 SSCLI \ Source Viewer - developerFusion
 Rotor Source - 123aspx.com ASP.NET Resource Directory

ソースコード コンバータ

C# コードから VB.NET コードへ変換
 Convert C# to VB.NET - developerFusion
VB.NET コードから C# コードへ変換
 Convert VB.NET to C# - developerFusion
  ※ VB の ReDim が変換できないので手直しが必要 - 2009/03/09 追記
  ※ VB の Optional が変換できないので手直しが必要 - 2009/04/08 追記

.NET 用ツール/Framework

Visual Studio 用ユニットテスト アドイン
 TestDriven.Net
オープンソース ユニット テスティング フレームワーク
 NUnit - Home
コードカバレッジ分析ツール
 NCover - Code Coverage for .NET Developers
ドキュメント生成ツール
 Sandcastle - Documentation Compiler for Managed Class Libraries
 Sandcastle Help File Builder
 Visual Studio 2008 SDK 1.1

開発環境/言語/コンパイラ技術

IronPython Studio - IronPython(.NET 対応 Pyhton) の総合開発環境
C++/CLI について
Visual C++ 2008 - 快適な開発のための設定
メッセージ コンパイラ(mc.exe)について
Gestalt開発環境

コーディング関連

コーディング規約

コーディング規約(VB2005) 工事中
コーディング規約(C#2005) 工事中

コーディング チェック

コーディング チェック 項目

素朴な質問

ASP.NETのSessionIDは何桁か?

その他メモ

WebBrowserカスタマイズに向けたメモ

書籍紹介

プログラミングMicrosoft .NET Framework 第2版 (マイクロソフト公式解説書)

CLR(共通言語ランタイム)2.0の新機能を完全網羅している。CLRの動作の仕組みと提供する機能について詳細な解説がされている。
.NETのプロフェッショナルを目指すためには必須の書籍である。

実践C++/CLI 極めるための基礎と実用テクニック

C++/CLIについて始めて本格的に解説した書籍。C++プログラマ向けのC++/CLIの解説書ではあるが、C#経験者であれば構文を置き換えるだけで理解できる内容である。(きっと…。)

参考文献

開発が大きく変わる.NET5。その概要と移行方法をご紹介。

付録

dot.net Core 5.0 がいつの間にかFedoraのCoprから公式リポジトリに移ってる??🤔 / Twitter
.NET5 から .NET Coreと言わなくなったのですねぇ🤔世の中みんなCoreなんて、そのうち付けなくなる傾向だからかなぁ🤔Fedoraも最初はFedora CoreでしたけどCoreとった😅みんな最初からCoreなんて付けなくていい🤤 / Twitter