Commit Graph
269 Commits
Author SHA1 Message Date
Karel Zikmund 3e6c8547c2 Update issue-guide.md
Commit migrated from https://github.com/dotnet/corefx/commit/a3e253b6e09660e0a63754e14f255b0d6d751aad
2016-11-04 16:11:34 -07:00
Karel Zikmund 7665abbc45 Update issue-guide.md
Commit migrated from https://github.com/dotnet/corefx/commit/c4a79f28c8a8c5eef4fb050044b57b81313ce7ab
2016-11-04 15:12:27 -07:00
Karel Zikmund eece1fa1fb Update issue-guide.md
Commit migrated from https://github.com/dotnet/corefx/commit/91e0e82af0878c496d601cf7a22b92d43f37cb6b
2016-11-03 17:19:42 -07:00
Karel Zikmund 805cde0adb Update issue-guide.md
Commit migrated from https://github.com/dotnet/corefx/commit/e0baf050efbc765ca6c2cca4816b5126d241313f
2016-11-02 15:37:29 -07:00
Jose Perez Rodriguez d8e8bb00cd Adding more documentation on how to run individual library tests from the command line (dotnet/corefx#12771)
* Adding more documentation on how to run individual library tests from the command line

* PR Feedback

* Adding info about TestTFM to the Project guidelines

* Adding TargetGroup - TestTFMs supported table


Commit migrated from https://github.com/dotnet/corefx/commit/bbb84f2e779fa1e8e588a5a1d6d43f43f6a0bfd0
2016-11-02 09:34:06 -07:00
Karel Zikmund 0f36438330 Update issue-guide.md
Commit migrated from https://github.com/dotnet/corefx/commit/a3a6d69bb3ca75fd18561575fe5338f3ff6e7194
2016-11-01 16:25:50 -07:00
Karel Zikmund b0ea75587e Update issue-guide.md
Commit migrated from https://github.com/dotnet/corefx/commit/421bfcf783aa7881a94d2d62c515c864d68465e9
2016-11-01 16:01:36 -07:00
Karel Zikmund 7dc2a17f7e Update issue-guide.md
Link user profiles

Commit migrated from https://github.com/dotnet/corefx/commit/d0a4458157a0b2d000ed5fd4cb4ced5534a0719c
2016-11-01 12:28:55 -07:00
Karel Zikmund 63a8a317ca Update area ownerships
Commit migrated from https://github.com/dotnet/corefx/commit/3fa842345903cee722a36f67a2147e248ce9ddc6
2016-11-01 11:37:31 -07:00
Karel Zikmund e4e969a7ad Update area ownerships
Commit migrated from https://github.com/dotnet/corefx/commit/a234fefb2453a070edd61082e7617f8ffb00edaa
2016-11-01 11:34:35 -07:00
Karel Zikmund 11f76af8ee Update area ownerships docs
Commit migrated from https://github.com/dotnet/corefx/commit/a2a2d450e8795e2f7101ca0fceaca09f9d23d8c6
2016-11-01 08:57:53 -07:00
Karel Zikmund 7b9aa36bcf Update issue-guide.md
Update area owners/experts

Commit migrated from https://github.com/dotnet/corefx/commit/10c80ef123cac2f2533489790a337aa5302b4cae
2016-10-31 16:30:27 -07:00
Steve Desmond 05c60515c4 Add minimum RAM requirements to Unix instructions (dotnet/corefx#13186)
Add minimum RAM requirements to Unix instructions

Commit migrated from https://github.com/dotnet/corefx/commit/f4feb56c31b013704ed894b9cbec56d60ce00009
2016-10-31 16:07:59 -07:00
Dan Moseley 55a5591ef7 API requests section (dotnet/corefx#13174)
* API requests section
We don't seem to use the future branch anymore. The other branch related documentation does not mention it. 

Commit migrated from https://github.com/dotnet/corefx/commit/eb883d78defbc7d4cae3b8ebd0fa68852eb583e3
2016-10-31 11:02:10 -07:00
Stephen Toub 78652d624e Overhaul System.Net library logging
This PR overhauls how logging is accomplished in the System.Net libraries.

There are a few problems with the existing solution:
1. In the original sources, logging was split across a GlobalLog class and a Logging class.  Global-related tracing went to GlobalLog, and library-specific tracing went to Logging.  When the sources were moved to corefx, this evolved into multiple EventSource-based types, most of which were in Common and were then src-included into each System.Net assembly.  This has a significant problem, though, which is that the name/Guid identity of an EventSource can only exist once in a process, and subsequent EventSource instances with the same identity fail.  This means that whichever assembly ends up logging something first wins, and all other tracing from other System.Net assemblies ends up being lost.
2. The split also may have made sense when all components shared the same GlobalLog, but now that GlobalLog is included as a unique EventSource instance in each assembly, it's no longer global.  This means that we're not only loading multiple EventSources unnecessarily (each has its own costs), but we're also duplicating logging, as some logging is done to one or the other, but some logging is done to both.
3. Due to sharing the Logging class, which evolved into an EventSource-based type, many logging calls had to include which component they came from as an enum value, leading to bloating at the call sites.
4. Additionally, many logging operations included the name of the method in which the calling was being done, which meant both longer call sites as well as stale values as members got renamed over time.
5. Call sites ended up getting fairly long due to lots of string concatenation operations and other manipulations in the logging call.  This also then led to most call sites needing to be guarded behind checks for IsEnabled, leading to lots of code at every call site and obscuring the actual information being traced.
6. An additional requirement that got added with the move to corefx was that certain failure conditions should both Debug.Fail and do tracing, leading to some tracing operations taking upwards of 10 lines of code.

All of these issues are addressed by this PR.

- Each System.Net assembly that needs to log now loads a single NetEventSource type for doing logging, each with its own identity.
- That implementation is split across a common, partial NetEventSource.Common.cs file used by all such assemblies, and then a per-assembly partial NetEventSource.AssemblyName.cs file used by the individual assembly.  The former file contains most of the logging implementation.  The latter files typically contain just the partial class declaration along with the [EventSource] attribute that gives that assembly's NetEventSource its unique identity / name.
- The logging operations in NetEventSource.Common.cs use a variety of relatively-recent language enhancements to improve the logging.  Each operation uses a [CallerMemberName] so that the call sites don't need to specify the caller.  FormattableString is used so that call sites can use string interpolation while still providing the logging implementation the flexibility to format the individual components in a desired fashion (e.g. IntPtrs are formatted as hex, SafeHandles are rendered in a way that includes their name+hashcode+handle, etc.), along with a mechanism that allows individual libraries to add additional formatting rules.  Each operation allows the this reference (or another this-like context object) to be passed in, to simply identify the source of the call (in concert with the caller member name).  A debug-only mechanism is included in the tracing to help find potential perf issues due to misuse of the logger.  Etc.
- A Fail logging operation is included that both traces and does a Debug.Fail.

With these changes, most call sites are greatly simplified.  Some examples:
Before:
```C#
if (GlobalLog.IsEnabled)
{
    GlobalLog.AssertFormat("ContextAwareResult#{0}::ContextCopy|Called on completed result.", LoggingHash.HashString(this));
}
Debug.Fail("ContextAwareResult#" + LoggingHash.HashString(this) + "::ContextCopy |Called on completed result.");
```
After:
```C#
NetEventSource.Fail(this, "Called on completed result.");
```

Before:
```C#
if (NetEventSource.Log.IsEnabled()) NetEventSource.Enter(NetEventSource.ComponentType.Http, this, ".ctor", handler);
```
After:
```C#
NetEventSource.Enter(this, handler);
```

Etc.

In addition to fixing up all of the event sources, I of course also fixed up all usage in order to clean up the call sites.  However, this was a rather mechanical change: I did not remove existing logging (other than duplication) nor did I add new logging.  At some point, we should review the actual logging being done to determine what's missing and what's not needed.  I also did not revise the additional existing events on the sockets and security event sources, but we may want to remove those (or some of those) in favor of just using the shared events.


Commit migrated from https://github.com/dotnet/corefx/commit/92fd5c0814bcc0c03acfa9f3ad857661828b35a6
2016-10-29 10:01:53 -04:00
Chris S d897520f41 Update net-platform-standard.md (dotnet/corefx#13080)
Fixed typo: "compatibility"

Commit migrated from https://github.com/dotnet/corefx/commit/750163540bc40619f38b3f763a0ee89292d6aad6
2016-10-27 09:53:44 -07:00
Karel Zikmund 319a0ecd9f Fix typo corss->cross
Commit migrated from https://github.com/dotnet/corefx/commit/737be4f42a1fdc06c75e6bf2cc1536053aa6607e
2016-10-26 13:22:32 -07:00
Karel Zikmund fcf7f77963 Update docs - issues guide with new rules (labels, area labels, assignments, area owners).
Commit migrated from https://github.com/dotnet/corefx/commit/4ad2096f765a34bf44e872bece0ffce74605cfde
2016-10-26 12:25:24 -07:00
Dan Moseley 8e0f8ec1fa Update unix-instructions.md
Add libicu57 for latest Ubuntu

Commit migrated from https://github.com/dotnet/corefx/commit/911d68e8dfc3d5af7839d0b4d9e674b548d749c3
2016-10-21 15:29:26 -07:00
chcosta 9971f117c3 Fix typo
Commit migrated from https://github.com/dotnet/corefx/commit/04f5ea80002f6821279ae6df08d6ed8a74533613
2016-10-20 14:34:00 -07:00
Stephen Toub b8b862c53b Merge pull request dotnet/corefx#12734 from bartonjs/unix_build_instructions
Update unix-instructions.md

Commit migrated from https://github.com/dotnet/corefx/commit/138eda6e2e055409e27319e27736a4a36f396890
2016-10-17 18:39:40 -04:00
Jeremy Barton 5e89bdf340 Update unix-instructions.md
Merge in the OpenSSL installation instructions from coreclr, and restructure the document a bit to improve clarity.


Commit migrated from https://github.com/dotnet/corefx/commit/a16bc02c3a23272095ba18cc8453cf5d356eb072
2016-10-17 15:10:12 -07:00
Wes Haggard a39918f4dd Add documentation guidelines for adding new APIs
Also removed the dead information about APIs only going into future branch


Commit migrated from https://github.com/dotnet/corefx/commit/2fd6a60191a7213b89f9a5f0865c311f1d301d51
2016-10-17 11:30:59 -07:00
Davis Goodin c9b210cb7b Move NuGet dependency documentation to buildtools.
Commit migrated from https://github.com/dotnet/corefx/commit/dd2bfa20c59548676b02bf3d4bbd29bb9eba5f8b
2016-10-12 11:48:35 -05:00
Immo Landwerth 8eb984ed82 Remove rtm.md (dotnet/corefx#12330)
Since we shipped .NET Core 1.0, our document 'rtm.md' is no longer
relevant. We should update 'roadmap.md', but that's a separate PR.

This fixes dotnet/corefx#11374.

Commit migrated from https://github.com/dotnet/corefx/commit/8354bce797a89d0cd8895450e56e050e11fa572c
2016-10-04 00:54:33 -07:00
Justin Van Patten ada1136e3a Rename Xunit.PlatformID -> TestPlatforms in docs
Commit migrated from https://github.com/dotnet/corefx/commit/b89e707b412d743236e973a8d1fe04c3dd2cf32b
2016-10-03 11:26:53 -07:00
chcosta c2d4092a48 Fix "Relase" typo, change msbuild sync command to "sync.cmd -t"
Commit migrated from https://github.com/dotnet/corefx/commit/3ea6a9e3c58baf3ced57d0c57d6fb32a8bae1863
2016-09-23 09:29:27 -07:00
Jan Kotas a959b8bd2c Rename target specific files for consistency (dotnet/corefx#11969)
- .CoreCLR.cs: CoreCLR-runtime specific files
- .CoreRT.cs: CoreRT-runtime specifc files
- .Uap.cs: Universal app platform specific files. Both UAP (Universal App Platform) and UWP (Universal Windows Platform) have been used interchangeably. I have picked UAP for the file names since it is the name used in the RID (e.g. uap101). There are number of places where UWP is used in the comments and such - I have not done anything about those.

Update documentation to match the current state of affairs

- Delete stale guidance for facade projects
- Update lists and examples to use the current RIDs
- Fix some typos

Fixes issue dotnet/corefx#9875.

Commit migrated from https://github.com/dotnet/corefx/commit/1ef561911eeabbee76e764946e40358fcd5ba144
2016-09-22 18:49:21 -07:00
chcosta 44d0f09da5 Add documentation for building tests against packages (dotnet/corefx#11913)
Commit migrated from https://github.com/dotnet/corefx/commit/10849df0cc2bdddb31456bb6cfe064d4cd865e31
2016-09-21 10:43:39 -07:00
Stephen Toub 9c095a54d7 Merge pull request dotnet/corefx#11322 from dotnet/ILC-Instructions
Update developer-guide.md

Commit migrated from https://github.com/dotnet/corefx/commit/049095e854df07d110477de1ac04e45a1df34cad
2016-09-13 21:25:02 -04:00
Jared Parsons 926852dca2 Respond to PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/75a309a2a492368eb41dcc37a8090de68d377121
2016-09-07 10:51:33 -07:00
Jared Parsons b6e210926d Update documentation around public signing
The feature know as "Open Source Signing" was implemented in the compilers as "Public Signing".  The term OSS was dropped after conversations with Immo as it was applicable to other projects.  It was simply signing with the public key hence better named "Public Signing".  Missed updating this documentation when that change was made.


Commit migrated from https://github.com/dotnet/corefx/commit/92311d8fefb78451ebe8d7196c31272468220454
2016-09-06 14:06:01 -07:00
Matt Galbraith d48dee3272 rebase on newer version + feedback.
Commit migrated from https://github.com/dotnet/corefx/commit/c07abcc63fee22ccf1240cb7db7d0d05bd5cbd04
2016-09-02 14:18:44 -07:00
Matt Galbraith 6d3d7423f9 Update developer-guide.md
Commit migrated from https://github.com/dotnet/corefx/commit/ea73a81a980796f24756d0988e730e1a29d199c6
2016-09-02 13:59:46 -07:00
chcosta de33b3fc31 Update POR for handling stable dependencies in our repo.
Commit migrated from https://github.com/dotnet/corefx/commit/30852f28fb9312f074b3fbf7840a5bbc3caa5fb1
2016-09-02 11:49:09 -07:00
chcosta 319a5ed39e Update consumes-api.md
Commit migrated from https://github.com/dotnet/corefx/commit/180166b3ed5950de06a40883a3b7f6cb84abbef9
2016-09-01 10:06:52 -07:00
chcosta c0b37c7953 Consumes API design doc
Commit migrated from https://github.com/dotnet/corefx/commit/8e2369745f2210e210ba78700fde54acd8843218
2016-09-01 10:06:23 -07:00
James Ko 77faa41ae2 Docs: Add /p:OSGroup to performance testing parameters
Commit migrated from https://github.com/dotnet/corefx/commit/79bd427770c806cb2719c3435ba3f3b8c71debae
2016-08-29 18:09:58 -04:00
Davis Goodin 650f3c399a Remove UpdateInvalidPackageVersions from Run command, fix doc.
Commit migrated from https://github.com/dotnet/corefx/commit/1979d8f7c4de1cc5d29a6513ac66045b82c0cea2
2016-08-26 14:31:33 -05:00
Stephen A. Imhoff 6fb98b049f Correct parameter name.
Commit migrated from https://github.com/dotnet/corefx/commit/363c45c5402e543d04321c36ce47f8c27556f387
2016-08-24 18:14:02 -07:00
Mariana Rios Flores 3d0c1535c3 change to non-windows
Commit migrated from https://github.com/dotnet/corefx/commit/521334b3f683ee138c3cacc94b1c3908088ac90a
2016-08-01 13:39:33 -07:00
Mariana Rios Flores 44727a7c75 update documentation
Commit migrated from https://github.com/dotnet/corefx/commit/bb56ba4f3e1fa45388720922ad3981ab4e235c82
2016-08-01 11:11:19 -07:00
Mariana Rios Flores 078218e1bc Change documentation to unify windows and non-windows instructions and
reflect the usage of run.exe


Commit migrated from https://github.com/dotnet/corefx/commit/b4652087e7750d2d28f2e0dfb327be00c84e563e
2016-07-26 18:22:22 -07:00
Prajwal A N da8d503c56 docs: Added documentation for building for Linux Emulator
Adding documentation for building corefx for Linux ARM Emulator

Signed-off-by: Prajwal A N <[email protected]>


Commit migrated from https://github.com/dotnet/corefx/commit/6885fa46e740d6750efe7b009074ecc34eacb229
2016-07-14 10:50:19 +09:00
Rich Lander d1a661bb15 Direct readers to the docs for .NET Standard (dotnet/corefx#9707)
* Direct readers to the docs

* Update net-platform-standard.md


Commit migrated from https://github.com/dotnet/corefx/commit/6574a3fb1310aa0aae66e4ee18b1604b2b1997c6
2016-07-09 23:13:34 -07:00
Hugh Bellamy 7ed5c202d0 Fix facade-code-coverage.bat for System.Private.CoreLib changes (dotnet/corefx#9831)
Commit migrated from https://github.com/dotnet/corefx/commit/3e82a5722cf8b847cb510e16b06aaa98a25bc07f
2016-07-03 23:09:59 -04:00
Stephen Toub 55dbad5d04 Tweak PR contribution docs
Commit migrated from https://github.com/dotnet/corefx/commit/b90532bc97b07234a7d18073819d019645285f1c
2016-07-03 19:15:05 -04:00
Hugh Bellamy 9bb53c3cb8 Add docs for PR (feedback) (dotnet/corefx#9827)
* Add docs for PR (feedback)

Fixes dotnet/corefx#1063

* Change sentence style

* Fix some wording


Commit migrated from https://github.com/dotnet/corefx/commit/a2f7b55ef1f4001b136d81f4718a8ca5cfffdf03
2016-07-03 19:05:25 -04:00
Daniel Plaisted 555dbb03e4 Add instructions for targeting .NET Core with MSBuild projects (dotnet/corefx#9403)
* Add step by step instructions for using MSBuild to target .NET Core
* Rearrange and edit instructions for targeting .NET Core with MSBuild
* Link to updated NuGet extension for VS, add instructions allowing PCL/dnxcore50 packages to be referenced
* Reformatting
* Update existing getting started instructions
* Change prerequisite to VS 2015 Update 3, which fixes error that AnyCPU isn't supported
* Add comments for MSBuild properties
* Recommend project.json for new projects
* Add CoreApp as another recommendation to start with
* Start with Console app template instead of portable library, use Microsoft.NETCore.App package
* Fix indentation

Commit migrated from https://github.com/dotnet/corefx/commit/79a7c578cce7cf82eb4c2bf6d0b0fb5dba2cb895
2016-06-30 18:11:52 -04:00
Hugh Bellamy 01c39bc7f0 Add instructions for running code coverage with locally built mscorlib
Fixes dotnet/corefx#8381


Commit migrated from https://github.com/dotnet/corefx/commit/097f48becf8b4c645ede2c65ff2b8face98a4ee5
2016-06-28 17:31:34 +01:00