adamsitnik on master
Sorting parameter columns with … (compare)
While migrating webapplication from .netcore 2.1 to .netcore 3.1, I am getting runtime exception as
System.InvalidOperationException: 'The CORS protocol does not allow specifying a wildcard (any) origin and credentials at the same time. Configure the CORS policy by listing individual origins if credentials needs to be supported.'
How to resolve System.InvalidOperationException?
I just tried to create a couple of benchmark tests, and....I got this error:
error MSB4086: A numeric comparison was attempted on "$(LangVersion)" that evaluates to "latest" instead of a number, in condition "'$(LangVersion)' == '' Or '$(LangVersion)' < '7.3'".
I've never seen that one before :). Any ideas why I'm getting this, and how to get rid of it?
BenchmarkDotnet
do bisect
so that we could detect threshold in the code, [BisectParam]
public ValueTuple<int, int> RequestSize = (8, 4096)
[Benchmarck]
[BisectPivot(MemoryDiagnosterResult.Gen0)]
public void Foo()
{
//Code will run with
// 0 => Alloc ?
// 4096 => Alloc ?
// (4096-0)/2 => Alloc ?
// ....
}
c:\.......\myapp.exe
and I got the following error: Generate Exception: Access to the path 'C:\WINDOWS\system32\LogFiles\WMI\RtBackup' is denied.
. What am I missing?
var summaryStyle = new SummaryStyle
{
PrintUnitsInHeader = true,
PrintUnitsInContent = false,
SizeUnit = SizeUnit.B,
TimeUnit = TimeUnit.Nanosecond
};
config = config.With(summaryStyle);
LangVersion
is set to preview
? I want to test some stuff I'm writing for .NET 5.0 and I need to use C# 9 features, but when I have preview
in play, I get:error MSB4086: A numeric comparison was attempted on "$(LangVersion)" that evaluates to "preview" instead of a number, in condition "'$(LangVersion)' == '' Or '$(LangVersion)' < '7.3'".