MS Graph Throttling
I have a GraphServiceClient call. I am having throttling issues and am trying to access the header information that contains the information about the remaining Rate-limit. It seems as though this header does not exist in a…
How to exclude matching records in EF Core Database
I've been working on a project from a gentleman that is no longer on my team. We want to have the below code running as a Windows Service, running every 5 minutes (easy for me to do the Service). However, if we run the below code in our API, manually…
Unable to add data source to chat client with C# 7.3
I am working on a UWP application that interacts with Azure OpenAI chat client. I have been using the latest Nuget package (2.0.0-beta.2) and have had some success creating and using a chat client. I am now trying to add a data source to my chat client,…
Filter on Guid for AppRoleAssignedTo.PrincipalId does not seem to work as expected
See: https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2306 Describe the bugUsing C# SDK nuget package Microsoft.Graph 5.40.0. Any time we try to create a filter like var userId = "<GUID VALUE>"; if(!Guid.TryParse(userId,…
How to design patterns from scratch using C# asp.net MVC
I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…
How to achieve key/value pair max accurately with simple string using c#
I have simple string value line which contain below content. logo Name raj mobile 9038874774 address 6-98 india bill auto generated Now I am trying key/Value pair to achieve my detail and the pair value output expecting like below [0] Key: Name …
How to achieve Named Entity Recognition (NER) using C# asp.net
When we read a text, we naturally recognize named entities like people, values, locations, and so on. For example, in the sentence “Mark Zuckerberg is one of the founders of Facebook, a company from the United States” we can identify three types of…
My EmailConfirmed is not working
Hi, I'm new to this, so I'm not so good, your help is my pleasure, thank you. I am having a problem with login, the API emailConfirmed still works when I give it token and userId. As far as I know, the EmailConfirmed doesn't confirm itself. I think I…
GetRowCount question
Hello I just found something here: https://learn.microsoft.com/en-us/dotnet/desktop/winforms/controls/selection-modes-in-the-windows-forms-datagridview-control?view=netframeworkdesktop-4.8&source=recommendations You can retrieve a collection of the…
How to fix mediaInitializationFailure: Media platform failed to initialize and 'Could not find a matching certificate for thumbprint'
Hi I am trying to run https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/PublicSamples/EchoBot locally using ngrok free account. Since we need to tunnel both HTTP and TCP ports so used cloudfare. Using cloudfare created…
Save All GridView PageIndex Rows showing Duplicate rows in Database
Please help. How to Browse all 3 GridView Pages above and INSERT all rows into DB on Save Button click. Using below code is showing Duplicate row on last gridview page which is having only one record in its page 3. Thanks public void SaveButton(int…
How to reference global resources in user controls in wpf class library projects
I created a WPF class library, and then added a UserControl "Card.xaml", and a resource dictionary "GlobalRes.xaml", I hope to use the style resources in GlobalRes in the Card control. As shown…
Handling MRNs (Medical Record Numbers) with Compensating Transactions in .NET Core Micro services using the Saga Pattern
In a hospital management system built with micro services using .NET Core and Entity Framework, how can we ensure data consistency when generating Medical Record Numbers (MRNs)? Since MRNs cannot be deleted, how can we handle situations where a…
Getting error while passing ajax control date (dd/MM/yyyy) as parameter in ASP.NET
I am using AJAX Calendar control inside the gridview control. I have set the date format as "dd/MM/yyyy" and my SQL column as "DOJ" field data type is nvarchar(10). End user want always the format like "dd/MM/yyyy". I am…
Why am I getting a "D2DERR_WRONG_FACTORY" error in this code when I use a list?
I'm attempting to use Sharp DX to display a dxf file and I'm getting a "[D2DERR_WRONG_FACTORY/WrongFactory]" whenever I render using the below code: public override void Render(RenderTarget target) { target.Clear(new RawColor4(1.0f, 1.0f,…
Concurrency Handling in Entity Framework Core with Transactions and Master Data
Question: We have two tables: Orders (transaction table): Stores order details and references a customer using CustomerID. Customers (master table): Stores customer information. The Orders table has a RowVersion column for optimistic locking. The…
What is the best way to sending mail from gridview check box checked row
I am using gridview and it contains checkboxes. when i click submit button, i am sending mail to the customer for every checking record. if i save record without mail, data will be saving more accurate and fast. But, when i send mail for every records…
How to organize icons on navbar using Bootstrap in a Blazor WASM app with .NET 6?
I'm working on an e-commerce app and I want to properly organize the icons on my navbar using Bootstrap 5 CSS. Specifically, I want to display the icons side by side, with equal spacing, and have the username appear right under the green login icon. Can…
The sign-in name or password does not match one in the Microsoft account system
This is my console app project. Previously it was running perfectly but last week it suddenly cannot run. When I try locally, it shows me this error: "The sign-in name or password does not match one in the Microsoft account system". What I…
how to make a telegram game in c#?
hi I have a question about telegram games. can we make a game like hamster kombat and etc in telegram with c# language?