'The instance of entity type 'Book' cannot be tracked' Error in Entity Framework and Displaying Uncommitted Changes in the UI
Hello, I encountered the following issue while working on my C# WPF project: I make updates to an entity on the UI side but do not send these changes to the database. Later, when listing the entity objects I updated on the UI side, I noticed that…
What change does the keyword "await" make?
Hello, Without "await" keyword FileStream.ReadAsync return "Task<int>". With "await" keyword FileStream.ReadAsync return "int". Could you please why this happened? What happens behind the scenes?
Internal server error when uploading Customer List or Customer List Item.
I am currently uploading the csv file with the contents below Type,Status,Id,Parent Id,Client Id,Modified Time,Name,Description,Scope,Audience,Action Type Format Version,,,,,,6.0,,,,,, Customer…

How can I create Ai which can at least identifications of my learners
How can I create Ai which can at least identifications of my learners


How to drop attachment from new Outlook to my app (process IDataObject)
I have an application that allows Drop of attachments in NEW Outlook email. How do I process the contents in IDataObject, {"itemType":"attachment", "attachmentFile": …
WPF: Why BackgroundWorker.RunWorkerCompleted Event() throw an exception and main thread does not receive it?
Our WPF application targets .NET 4.8. The AbortableBackgroundWorkder class inherences from the BackgroundWorker class and used as following. there are two background workers: _protocolProcessorBackgroundWorker..DoWork() will call …
How to programmatically set an icon that is in resources in C#
I'm trying to programmatically set my program's icons in code using an icon in the resources in C#. This code here doesn't work: System.ComponentModel.ComponentResourceManager resources2 = new…


Detecting Microsoft patch updates
Hi All, I am looking for detecting Microsoft patch updates programmatically using C#. The idea is to know the patch update time on the windows machines. Any help is much appreciated. Regards, Pradeep Pasam
Microsoft Extensibility SDK for C# for SQL Server
https://learn.microsoft.com/en-us/sql/language-extensions/tutorials/search-for-string-using-regular-expressions-in-c-sharp?view=sql-server-ver16 As mentioned in the above link carried out all the steps. However when I execute below command I am getting…
InputTransparent not working on a BoxView?
It appears the InputTransparent is not working properly? I set it to false, yet any controls underneath still receive taps. <AbsoluteLayout VerticalOptions="Fill" BackgroundColor="#5774ED"> <ActivityIndicator…
Ho to control "Microsoft.Azure.WebJobs.Script.WebHost.Middleware.SystemTraceMiddleware" logs being sent to my Datadaog?
We have integrated the datadog for capturing the azure function application insights logs. Its taking too much of our datadog resources. How to control that? I tried many methods like putting different values in the host.json, But nothing is…
problema con el designer de vs2022
Hola Buenas. Yo soy un joven programador que usa vs studio para sus proyectos de c# y tambien uso el ayudante copilot del vs, y quisiera saber porque me da un error en el diseño cada vez que edito el codigo con el ayudante
Entity Framework Eagerly Loading Related
Hi there, Which of the following two is better for performance? Requisition req = _context.Requisitions.Where(r => r.Id == id).Include(r=> r.Beneficiary).Include(r=> r.RequisitionStatus).FirstOrDefault(); Requisition req =…
How to upgrade MySQL library in a C#program that works with Enterprise Library 6.5
Greetings. I have a web site program, programmed on C#, MVC, with Enterprise Library 6.5, but it works as database with MySQL 5.7.22. I want to upgrade the MySQL library to the latest one (8.0.41), but during compile process I got an error due…
Troubleshoot Azure app service API from Kudu debug console cmd
HI Team , I have published Angular + Dotnet core API in azure app service . When i try to access my API using https://{{}servername}.azurewebsites.net/API/swagger/index.html , I am getting below message "The page cannot be displayed…
Method AppInstallManager.StartProductInstallAsync() not working on a service in release mode
Hi team, I’m trying to download a product using the method appinstallmanager.startproductInstallasync() on my service, but it seems to not be working. Actually, when I use it in debug, it works properly. But when I generate an msix and run it in release,…
Settings.Default.Upgrade does not copy over the user settings to new release
Hello, I'm writing a console app in Winform with Visual Studio 2019. I want the user settings to persist every time I release a new version. I'm using this piece of code to do that. if (Properties.Settings.Default.UpgradeRequired) …
How to create Excel file with Visual Studio 2022 and C#
I'm working with Visual Studio 2022, Project WPF C# with .Net 6.0 and Entity Framework Core. DataBase MS SQL Express.I have also a valid and active licence Microsoft Office 365. I try to Create an Excel File but I have different error msg (see…
Announcing Control Changes for Screen Readers in My WPF Project?
Hello everyone, In my WPF project, I want to implement screen reader support, particularly in registration forms, for visually impaired users. My goal is to ensure that changes in controls (e.g., textboxes, comboboxes, checkboxes, etc.) and error…
Way to retreive the mails
Hi, Is it a good way to use SmtpServer and retrieve all of the mails (of a period) to one mail account? And get all of the details of the mails?