I am logging with Serilog and have a (text) file sink with an output template and a console logger. The output template of the text file logger: T ...
I am logging with Serilog and have a (text) file sink with an output template and a console logger. The output template of the text file logger: T ...
I built an Azure Function and the Target framework was 3.1, so i change it to 5, as follow:- but after doing so, i start getting this error:- ...
I was using Anchor tag helper in .net5 but it is not producing expected href. I have tried to ask many people but no help. <a asp-controller="home ...
I'm writing a .NET5 routine to check a signed XML File. The file had this "http://www.w3.org/2002/06/xmldsig-filter2" as transformation Alghoritm. So, ...
One of the biggest hurdles when migrating from .NET Framework to .NET 5+ is having to convert all csproj's to the new SDK-style format. There is no to ...
I'm sometimes having RegexMatchTimeoutException when parsing a short (less than 100 characters) string. The parse itself is inside a function in a lis ...
To connect to an ldap-Server i want to use Directory Services in a c#-console application. The services are available in dotnet-7.0 Therefore i ...
I'm trying to seed my DB in my DbContext and I don't have any problem but it's more of a logic problem here, I have my seed data as such: and I'm t ...
I have entity class: I use PostgreSQL. In database Date column have type date. And without this attribute ([Column(TypeName = "date")]) column have ...
I am exploring Blazor's QuickGrid source code and found one interesting spot here. On the 45th line Steve Sanderson left a TODO with a potentially be ...
I have an ASP.NET Core 5 Web API. How can I return the results from all my controllers in a Result object, regardless of the return type of controller ...
I use Mediatr for my CQRS and EF Core for DB access and entity configuration in my API. I gave my Spending entity a configuration as such: When I ...
I have Startup and IHosterService in witch I want to add a service to IServiceCollection. Problem is, after I add my service to IServiceCollection I c ...
though the docs here (https://learn.microsoft.com/en-us/graph/api/chat-hideforuser?view=graph-rest-1.0&tabs=http) said we could use them, with c# ...
I have a simple code below. I want to access the variable x in the class Program. As x is a global variable, I should be able to access it, Is there a ...
I need to build and run a .NET 5 project in Mac using Visual Studio for Mac or Jetbrains Rider. In csproj file of one of the projects in the solution ...
I am creating a PDF thru an ASP.NET Core MVC controller using a DataTable and NewRow. However I would like to create a multiple rows in one column com ...
I working on an ASP.NET Core 5 MVC app. I have a table cinimas with 5 rows. My issue I can't display these 5 rows in my custom view model. I try but ...
Sorry this is a bit new to me so I don't quite 'get it'. I already have a logging provider I am using the package NReco.Logging.File to define Add ...
I am attempting to deserialize an xml string into an object, nothing strange about that. Everything was fine until I upgraded my project to .Net5. In ...