Skip to content

Vettvangur/Net5Backport

 
 

Repository files navigation

Vettvangur project aim

To backport Net5 X509ChainTrustMode.CustomRootTrust feature to Net472 the intent is to allow users to create X509Chain and build with a custom root Use case: Azure app services

Vettvangur changes

namespace find replace using find replace move linked files to project directory exclude from project unused code Work around lesser span support .CloneByteArray() -> .Clone() + cast Similar to Net5 CloneByteArray source code ToArray since string constructor doesn't yet support spans refactor C# 8.0 features such as remove all nullable reference code (find replace ? and !) inverse switch inline static functions

ToLpstrArray code inlined from Net5 source and use MemoryMarshal.GetReference in place of GetNonNullRef

Notes

Can't exclude x509certificate2, need to access internal member pal proj only includes windows Pal code

Need Net472 for SafeNCryptKeyHandle Maybe we can go further and grab it's source but this will do for now

.NET Runtime

Build Status Gitter

This repo contains the code to build the .NET runtime, libraries and shared host (dotnet) installers for all supported platforms, as well as the sources to .NET runtime and libraries.

What is .NET?

Official Starting Page: https://dotnet.microsoft.com/

How can I contribute?

We welcome contributions! Many people all over the world have helped make this project better.

Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

Also see info about related Microsoft .NET Core and ASP.NET Core Bug Bounty Program.

Filing issues

This repo should contain issues that are tied to the runtime, the class libraries and frameworks, the installation of the dotnet binary (sometimes known as the muxer) and installation of the .NET runtime and libraries.

For other issues, please use the following repos:

Useful Links

.NET Foundation

.NET Runtime is a .NET Foundation project.

There are many .NET related projects on GitHub.

  • .NET home repo - links to 100s of .NET projects, from Microsoft and the community.
  • ASP.NET Core home - the best place to start learning about ASP.NET Core.

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.

General .NET OSS discussions: .NET Foundation forums

License

.NET (including the runtime repo) is licensed under the MIT license.

About

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 79.4%
  • C++ 10.1%
  • C 8.9%
  • Visual Basic .NET 0.4%
  • Shell 0.2%
  • Assembly 0.2%
  • Other 0.8%