* Include NetCoreAppCurrent configs in packages
The NetCoreAppCurrent configurations were omitted from packages to avoid
ever growing packages. Now that we adhere to the support policy for
packages we don't need to exclude them anymore as the policy defines a
baseline for .NETCoreApp configurations.
This will remove an artificial difference when source building the
repository and also make it so that partner repositories which don't
depend on a transport package like windowsdesktop (winforms) receive
the very latest assets that are included in the shared framework as
well.
* Fix package validation for non exposed inbox libs
* Remove DynamicallyAccessedMembers on JsonSerializer
Fix#52268
* Remove DynamicallyAccessedMembers from System.Net.Http.Json
These are no longer required since System.Text.Json doesn't have these annotations anymore.
* Update PreviousNetCoreApp baseline for attribute removal
* Fix trimming tests on browser-wasm
* Fix Json tests on EnableAggressiveTrimming leg
* Add Put/Get methods to HttpClientJsonExtensions that take type metadata
* Make JsonContentOfT derive directly from HttpContent
* Fix linker error
* Rename Helper to JsonHelpers
- Remove depprojs which currently binplace external references into the RefPath folders in favor of PackageReference and PackageDownload items.
- Build all configurations by default when building an individual project (either on the CLI or inside VS) same as with the official SDK. This enables .NETFramework Test Explorer support.
- Centrally define libraries that compose the shared framework instead of in each Directory.Build.props file to be able to build the targeting pack first and consume it in the OOB libraries.
- Use ProjectReferences to reference OOB projects. Compile against the reference assembly but use the implementation assembly app-local during runtime.
- Remove OOBs from the testhost and remove the testhost folder for .NETFramework as it isn't required anymore.
- Only binplace for $(NetCoreAppCurrent) to compose a) the targeting pack, b) the runtime pack, c) the testhost, d) a full closure for the shims.
- Use Targeting Packs for OOB projects (with their implicit assembly references) but still explicitly define granular references for .NETCoreApp configurations (DisableImplicitAssemblyReferences switch). Use the implicit targeting pack references in some Microsoft.Extensions.* cases.
- Remove placeholder configurations as they aren't needed anymore with explicit P2Ps vs Targeting Pack references.
- Remove implicit assembly references (ie for .NETFramework, mscorlib)
- Remove AssemblySearchPath hacks that were introduced with b7c4cb7 as the targeting pack is now used by default.
- Reduce unnecessary .NETFramework configurations that were added to run tests in favor of the already existing ref&src configurations.
- Stop hardcoding the paths for wasm assemblies and use the returned TargetPath of the ProjectReferences.
- Addressed formatting (ItemGroups, References at the bottom of the project file, ordering of references, use LibrariesProjectRoot instead of a relative path, unnecessary AssemblyName and RootNamespace properties which are identical to the project name, ordering of tfms)
- Revert "fix clean (#33758)"
* Add System.Net.Http.Json related projects
* Add JsonContent, HttpContent extensions, and tests.
* Rename PErson.cs to Person.cs
* Adding package for System.Net.Http.Json library
* Improve tests, minor fixes and code clean-up.
* Remove annotations and code clean-up.
* Add draft description and common types to NuGet pkg.
* Addres nullability issues on API surface area.
* Add missing configurations to projects
* Addressing most of the feedback.
TODO: Implement transcoding for non-UTF-8 content.
* Fix csproj formatting and use open StrongNameKeyId
* Address API review comments.
* Add transcoding support for .NET 5
* Port TranscodingRead/WriteStream to netstandard2.0
* Remove netcoreapp dependencies on TranscodingStream classes.
* Mark TransportContext as nullable to fix CI issues.
* Addres issues raised by new nullablity awareness code in System.Net.Http
* Re-enable LoopBackServer tests, address suggestions and code clean-up.
* Use default JsonSerializerOptions when passed-in is null
* Escape a few remaining Unicode characters in test files.
* Address nits.
* Validate inputType.IsAssignableFrom(inputValue.GetType()) on JsonContent ctor.
* Allow only ContentTypes application/json and application/<subtype>+json.
* Address comments.
* Add Unit.Tests project
* Make mediaType argument optional on JsonContent.Create
* Address latest comments.
* Perform case-insensitive comparisons on MediaType instead of ToLower.
* Address comments related to Transcoding classes.
* Address feedback
* Document TranscodingWriteStream.MaxByteBufferSize
* Replace MediaTypeHeaderValue.Parse with .ctor since it performs better.
Co-authored-by: Jose Perez Rodriguez <[email protected]>