Исходный код .NET Framework доступен для загрузки, но не «свободно доступен»

Как и было обещано ранее, Microsoft предоставила доступ к исходным кодам .NET Framework. Доступным стал исходный код следующих библиотек и пространств имен:

  • .NET Base Class Libraries (включая System, System.CodeDom, System.Collections, System.ComponentModel, System.Diagnostics, System.Drawing, System.Globalization, System.IO, System.Net, System.Reflection, System.Runtime, System.Security, System.Text, System.Threading, и др.).
  • ASP.NET (System.Web, System.Web.Extensions)
  • Windows Forms (System.Windows.Forms)
  • Windows Presentation Foundation (System.Windows)
  • ADO.NET и XML (System.Data and System.Xml)
Доступ к другим библиотекам, в частности, LINQ, WCF и Workflow обещается позже. Более детально о том, как загрузить и использовать исходный код написано здесь и здесь.

Сам исходный код хорошо отформатирован и отлично комментирован — весьма хорошее пособие для того, чтобы разобраться во внутренностях .NET Framework.

Однако, несмотря на расхожее заблуждение, это не переводит платформу в разряд open source, к тому же следует заметить, что исходный код на сайте Microsoft не размещен для свободной загрузки через браузер — его загружает IDE в качестве .pdb-файлов, поэтому собрать свой дистрибутив .NET Framework не получится (либо, как минимум, нетривиально). Для пользователей Express-редакций Visual Studio есть неприятная новость: их IDE эту возможность не предоставляет, что несколько противоречит ранним обещаниям о том, что исходный код будет доступен всем желающим. Впрочем, в самом тексте лицензии .NET FW Reference License явно не указано, к какой категории пользователей она относится — таким образом, если сама лицензия не ограничивает доступ к исходным кодам только для пользователей платных редакций Visual Studio, то вероятно следует ожидать появления возможности скачивать и просматривать исходный код и всеми желающими — либо посредством инструментов самой Microsoft, либо сторонними „утилитами”.

Для тех, кто не боится юридических терминов, привожу далее текст лицензии, которую предлагается принять пользователям при первой попытке просмотра исходного кода в Visual Studio 2008.
MICROSOFT .NET FRAMEWORK REFERENCE LICENSE
.NET FRAMEWORK REFERENCE SOURCE CODE

This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.

1. Definitions

The terms „reproduce,” „reproduction” and „distribution” have the same meaning here as under U.S. copyright law.
„You” means the licensee of the software, who is not engaged in designing, developing, or testing other software, for a non-Windows operating system, that has the same or substantially the same features or functionality as the software.
„Your company” means the company you worked for when you downloaded the software.
„Reference use” means use of the software within your company as a reference, in read only form, for the sole purposes of debugging and maintaining your products to run on a Microsoft Windows operating system product. For clarity, „reference use” does NOT include (a) the right to use the software for purposes of designing, developing, or testing other software, for a non-Windows operating system, that has the same or substantially the same features or functionality as the software, and (b) the right to distribute the software outside of your company.
„Licensed patents” means any Licensor patent claims which read directly on the software as distributed by the Licensor under this license.

2. Grant of Rights

(A) Copyright Grant- Subject to the terms of this license, the Licensor grants you a non-transferable, non-exclusive, worldwide, royalty-free copyright license to reproduce the software for reference use.
(B) Patent Grant- Subject to the terms of this license, the Licensor grants you a non-transferable, non-exclusive, worldwide, royalty-free patent license under licensed patents for reference use.

3. Limitations

(A) No Trademark License- This license does not grant you any rights to use the Licensor’s name, logo, or trademarks.
(B) If you begin patent litigation against the Licensor over patents that you think may apply to the software (including a cross-claim or counterclaim in a lawsuit), your license to the software ends automatically.
© The software is licensed „as-is.” You bear the risk of using it. The Licensor gives no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the Licensor excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.

Все про українське ІТ в Телеграмі — підписуйтеся на канал редакції DOU

👍ПодобаєтьсяСподобалось0
До обраногоВ обраному0
LinkedIn



6 коментарів

Підписатись на коментаріВідписатись від коментарів Коментарі можуть залишати тільки користувачі з підтвердженими акаунтами.

2Sevenate: или я тупой, или чего-то не догоняю..., но не нашёл... Киньте ПЛЗ прямой ссылочкой... Спасибо!

http://www.codeplex.com/NetMas... — для тех, кто хочет скачать все сразу:)

Ребята, если что — давайте в личку ссылочку... буду премного благодарен!

Ну почему же нету — есть, я его видел:) Нужно все сделать так, как в инструкциях в ссылках и можно будет его посмотреть. Просто, как и указано в тексте — его нельзя загрузить весь сразу — только по отдельным файлам в процессе отладки — не очень-то удобно, но тем не менее — все функционально и вполне приемлемо.

угу, и «приколы» типа =rand (200, 99) как в офисе... так же стиль... да в принципе мало ли что приглянётся...

Пока нету, и самому интересно взглянуть... поискать каменты на русском/украинском;)

Підписатись на коментарі