In my .NET 5 aspnetcore application, NLog is mostly working except for loading the Instrumentation Key from appsettings.json for the logger. It seems to be load
I'm using a tool I wrote that makes a call to the following line in order to inspect a few things, including the assembly version: var assm = System.Reflection.
I use datatablejs server-side in my MVC project. When I click to a column it sends the column name to server and I take the column name after all I order the ta
Does anyone know how to make a big button with subtext and a picture in a navigation panel (using xaml)? Like in the Windows 11 settings app. Like this...
Considering I have 2 list (firstList and secondList), both with same properties, but with diffent values. I need the result merge both lists, but it must consi
I have an ASP.net web-site hosted on IIS, and the code calls: System.Diagnostics.Trace.WriteLine("test"); Reminder: You use Trace, rather than Debug, because D
I am building a web api and want to fetch all the products from product table I have in my database and I also want to include the category and subcategory whic
I am using MS Access as database and using OLEDB. In database I am storing dates as strings. I can't change them in date type (I know it would be easier to work
After adding and altering columns in the SQL database, I've refreshed the Entity Model (Entity Framework 6) and deleted all controllers and views, to generate t
I'm trying to disable read-only alerts when opening word files in C#. I initially tried app.DisplayAlerts = false. This did not work and I believe it's because
we want to write unit-test for servicebus message trigger. we are using Azure.Messaging.ServiceBus nuget package [FunctionName("serviebustrigger")] publi
I'm developing an AR app using unity but I don't have an android mobile so I decided to work on an emulator and I read all documentation about it but it didn't
When trying to add record in child view, it require to save the parent record. how can i stop this behavior? Look into the photo
I get the input as a second from the user and I want to show it as minutes and second in the Grid. I know I have to use a method but I don't know how. **Seizure
.NET 6 offers boilerplate-removal in console applications Startup class. I try to run this simple test code: Console.WriteLine("Hello, World!"); static void Te
I am new to dotnet, trying out dotnet 6 minimal API. I have two models: namespace Linker.Models { class Link : BaseEntity { [MaxLength(2048)]
I try to do the following: at the bottom of the screen there is a small window for drawing a line, in the center of the screen there are objects that line up in
We are using Blazor Server for our application. Some of our users have intranet rest web api's in their local environment that is not accesible from outside wor
I am trying to deserialize xml into c# classes. I followed some documentation and generated some c# classes using the commands xsd foo.xml & xsd foo.xsd /cl
I have this link <a asp-action="goPay" asp-route-id="@item.Appid" asp-route-mem="@item.Memid" asp-route-amt="@item.Areq" asp-controller="Withdraw" class="btn