I got the following error while trying to add an object of type class to the JArray. Could not determine JSON object type for type "Class" Here is my code: pr
so I have a razor form and I want to disable a button during ajax request. Also I want to be able to send only one request to controller - (disable any flood a
screenshot 1: screenshot 2: BACKGROUND: Currently I am searching for a word in the subject of email in VSTO add-in. My syntax is: string filter = "urn:sc
We've created a Web API using .NET Core 6 and EF Core 6. In development environment all works good but when I do the publish application fails with an error Sy
I have installed C# extensions, my .NET framework is updated, I just can't fix it.
I have ASP.Net MVC application, one part of it is compiling razor views to string. The code is very similar to this example: https://long2know.com/2017/08/rend
I want to write Macros/Programs for Catia V5 with the programming language C#. How is it possible to access the Catia applicataion via c#(and Visual Studio). I
In this article, How to detect Outlook Events ..., Dmitry Streblechenko outlines how to subscribe to Outlook Events not listed in the TypeLibrary. Would these
If I write this line of code, services.AddMvc().AddRazorRuntimeCompilation(), in startup.cs and while publishing the project from Visual Studio 2019 on Azure, I
I have a query using Entity Framework. It has many different operands and I am confused with its priority. I am getting the wrong result. I need all records tha
I have a table of records in Index.cshtml, once a user clicks on a record to view the details it will take them to Details.cshtml. The issue is, there is a lot
Using C# .net core I am updating existing excel template with Data and formulas using EPPlus lib 4.5.3.3. If you see the below screen shots all formula cells ha
I'm following an RPG c# tutorial, and have come across this error. It is not explained in the tutorial, and I'm unsure what i did wrong. Here is the class: usin
I'm working on a project using ASP.NET Core 2.1 and EF Core 2.1. Although most of queries and commands use EF, some units needs to call stored procedures direct
As described in the docs, Microsoft.AspNetCore.OData 8 uses a convention to tie a controller to an entity set. They also provide a sample that demonstrates this
Message: "System.NotSupportedException was unhandled Message: An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll Additional
I would like to cache some responses from CommandsHandlers. I Already did this using IPipelineBehaviour, but only 5% of my requests really must have cache, and
I'm looking to convert an Image (PNG, JPEG, GIF), in the form of a byte[] to a PDF. I'm currently using this function, which works, but cuts off the bottom of i
I have multiple domains for a website: http://example.com http://www.example.com http://www.example.co.uk In production, I want the primary domain to be htt
I've recently been working on a little side project to see if I can get a little memory editing to work with PowerShell. I put together a small script in C# tha