Distribution | Windows | Linux | macOS |
---|---|---|---|
x64 | 2.1 - crossgen'ed | 2.1 - crossgen'ed | 2.1 - no crossgen |
x86 | 2.1 - crossgen'ed | NA | NA |
Arm64 | post-3.0 pending | 3.0 - no crossgen, not tested | NA |
Arm32 | 2.2 - not tested | 2.2 - no crossgen, not tested | NA |
Musl64 | NA | 2.1 - no crossgen, not tested | NA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
catch (Exception ex) | |
{ | |
if (ex is ICompilationException) | |
{ | |
throw SuppressStackTrace(ex); | |
} | |
if (ex.InnerException is ICompilationException) | |
{ | |
throw SuppressStackTrace(ex.InnerException); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> | |
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> | |
</PropertyGroup> | |
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> | |
<PropertyGroup Label="Globals"> | |
<ProjectGuid>23e3bc23-3464-4d9b-bf78-02cb2182bef0</ProjectGuid> | |
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace ConsoleApplication | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
if (FalseCondition() && AnotherFalseCondition()) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="TreatWarningsAsErrorsDuringRestoreIfUsingAllMetapackage" BeforeTargets="_GenerateRestoreProjectSpec"> | |
<PropertyGroup> | |
<TreatWarningsAsErrors Condition="'$(IngoreMetapackageRestoreErrors)' != 'true' AND '%(PackageReference.Identity)' == 'Microsoft.AspNetCore.All'">true</TreatWarningsAsErrors> | |
</PropertyGroup> | |
</Target> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Before linking (B) After linking (B) Size decrease | |
----------- ----------- ----------- ----------- | |
Total size of assemblies 79,254,296 51,613,136 34.88% | |
----------- ----------- ----------- ----------- | |
TestLinker.dll 8,704 8,704 0.00% | |
Microsoft.ApplicationInsights.dll 179,960 0 100.00% | |
Microsoft.ApplicationInsights.AspNetCore.dll 72,488 0 100.00% | |
Microsoft.AI.DependencyCollector.dll 77,568 0 100.00% | |
Microsoft.AspNetCore.dll 20,464 8,704 57.47% | |
Microsoft.AspNe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linux-x64 | |
libuv.so (462.42 KB) | |
Microsoft.AspNetCore.Antiforgery.dll (88 KB) | |
Microsoft.AspNetCore.App.deps.json (309.08 KB) | |
Microsoft.AspNetCore.App.runtimeconfig.json (164 B) | |
Microsoft.AspNetCore.Authentication.Abstractions.dll (35 KB) | |
Microsoft.AspNetCore.Authentication.Cookies.dll (88 KB) | |
Microsoft.AspNetCore.Authentication.Core.dll (60.5 KB) | |
Microsoft.AspNetCore.Authentication.dll (121 KB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\gh\tp\RequestTimeOutReproMultiPart\WebApplication1 [master ≡ +1 ~3 -0 !]> dotnet run --no-build | |
Using launch settings from C:\gh\tp\RequestTimeOutReproMultiPart\WebApplication1\Properties\launchSettings.json... | |
2018-03-08 11:41:40.8161 [1][HostingLoggerExtensions.Starting] DEBUG: Hosting starting | |
2018-03-08 11:41:41.0334 [1][LoggerExtensions.LocatedDevelopmentCertificate] DEBUG: Using development certificate: CN=localhost (Thumbprint: FF96545CF3D70873F55F6FFD24917F2699BD5C14) | |
2018-03-08 11:41:41.0836 [1][LoggingExtensions.UsingProfileAsKeyRepositoryWithDPAPI] INFO: User profile is available. Using 'C:\Users\johluo\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest. | |
2018-03-08 11:41:41.1052 [1][LoggingExtensions.ReadingDataFromFile] DEBUG: Reading data from file 'C:\Users\johluo\AppData\Local\ASP.NET\DataProtection-Keys\key-103c8dcb-51fa-41ba-9b4f-0e37db1abe17.xml'. | |
2018-03-08 11:41:41.1243 [1][LoggingExtensions.ReadingDataFromFile] DEBUG: Reading data fro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int ArrLen = 6; | |
const int MaxNum = 6; | |
public static void Main(string[] args) | |
{ | |
// initialize | |
var rnd = new Random(); | |
var nums = new long[ArrLen]; | |
for (var i = 0; i < ArrLen; i++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Microsoft.Win32; | |
namespace TestVersion | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion"); |
OlderNewer