public async Task<IActionResult> SendOrders() { try { RecurringJob.AddOrUpdate("powerfuljob", () => _lab.SendOrders("
the command dotnet myapp.dll -- [4, 3, 2] throws the exception System.FormatException: Input string was not in a correct format. I do not know the syntax. How s
I have implemented the answer from this (rather old) question https://stackoverflow.com/a/31732029/4180176 but it doesn't seem to work for me and I can't figure
Say I create a DateTimeOffset value like this: var dt = DateTimeOffset.UtcNow; And I want to store this value in SQL Server using EF Core code-first. How do I
I am getting the net::ERR_CERT_AUTHORITY_INVALID error in ASP.NET Core when I try to request my Web API from an SPA. The first solution to fix the issue was to
I want to know what is default maximum request length in a .net core application. I read from few links that the default limit is 4 MB for asp.net applications
Using Serilog and F# how to use .ForContext with functions? it appears it only accepts type classes: type A()= log = Serilog.Log.ForContext<A>() // c
I am attempting to load a partial view into an iFrame and receiving the below error. When loading the same partial not inside of a iFrame, there is no issue. Lo
I have a custom font. The font contains symbols at specific addresses. I want to display one of the symbols in a TextBlock. The font (ttf-file) is located in my
Is there a way for EF Core to intercept the pre insertion, pre update, pre delete, post insert, post update and post delete events of an entity? EF core support
I am facing quite an interesting error. I have services hosted on IIS, on a server which is an application server. I have two services in focus. 1 - One is a pu
I'm using NodaTime to manage dates and time zones in a .Net Core WebApi. One of the type in the library is OffsetDateTime, which is very similar to DateTimeOffs
While CORS is a big issue when working ReactJS in combination with ASP.Net-Core I figured out how to enable CORS so when accessing my UI (http://localhost:3000)
I wanted to add toast notifications to my wpf app. I've followed the Send a local toast notification from desktop C# apps from Microsoft, but I'm stuck on the s
I'm using gRPC in C# (NETCore). I would like to log each single method call, and I expect to have some way of intercpt each call at once, instead of putting a l
Testing a bit TPL. I use this code and it works: async void button1_Click(object sender, EventArgs e) { MyClass2 mc2 = new MyClass2(); la
Following SQL statement returns data when executed in Oracle SQL Developer: SELECT TC_GUID FROM TBLBUF WHERE TC_DEST = 'aaaaaaa' AND TC_STATE <= 20 but when
I received a task in college to compare execution time for calculating SHA256 in C# and assembly. It is supposed to be a simple WPF app with file input and 2 bu
I am doing an http get call and I can see that Headers.ContentLength always returns null whereas I can see that in fiddler a value: This is my code string url =
Set-GPPermissions -Guid <Guid> -TargetName "Authenticated Users" -PermissionLevel None -TargetType Group -Replace -Confirm:$false Used to work fine, but