Category ".net-core-3.1"

Why is it valid to pass static types in and out of interface methods in C#?

I noticed that the following code seems to compile just fine, when I would've expected multiple errors: public interface ITest { Math Foo(MathF x, ref Conso

Calculate number of pages in docs file by dot net and C# and Syncfusion.DocIO.Net.Core Package

I have a .net Core 3.1 webapi. I want to get the number of pages are in docs and doc file. Am using the Syncfusion.DocIO.Net.Core package to perform operation

ASP.NET Core 3.1 MVC: setting IgnoreNullValues to true in Startup still renders NULL properties

I have an ASP.NET Core 3.1 project. I am using .AddJsonOptions() in startup with and setting IgnoreNullValues to true. I've created a simple test, and it still

Where is the Class Library for .Net Core template in Visual Studio Community 2022 or Visual Studio Community 2022 Preview?

As the title asks, I can't seem to find this template. Help please. TIA

Update only two columns of table in razor pages

I have a razor page configuration that returns a a partial view with an entire table in it: <div class="col-12 border text-left p-3 mt-3 d-flex"> <

How can I use a built Expression in an Include .Where() to apply an Include Filter when it expects Expression but only allows Func?

I'm getting some errors trying to build expression trees on nested collections. I have classes: // not DB entity public FilterTerm { public string Compariso