Content
If we delete WitnessClientAdmin.log from the event logs, what activities are deleted?
Hello World, I've seen an event ID of 104 from the system, which states that The WitnessClientAdmin log was cleared. I've looked in other resources but haven't been able to find out more about it, therefore I'm curious as to what other actions or…
Inserting data in many to many relation ship in EF core
i have two tables 1-Employees (ID ,EmpName) 2- Project (ID,ProjectName) data is already inserted in boh tables ,there is many to many relationship between these two so middle table created in table i.e EmployeesProject now i want to insert data (keys of…


How to bind asp-items to the model in a select element appended by js dynamically?
$("#List").append("<tr>" + "<td> <select name='dm' asp-items='"+Model.dmdata+"'>" + "</select></td>" …


Possible Handle Leak on Azure App Service App
We have an ASP.NET 4.8 application hosted in Azure App Service. At times we see a spike in latency in usually a single instance which also shows spikes in CPU time, TCP connections, Thread Count and Handle count. The average thread count and and average…


How do I make a VB webhook listener?
To receive notifications from a service, I want to utilise Visual Basic to build a webhook listener. The service is not listed under Microsoft in Nuget.AspNet.WebHooks.Receivers.*. An SSL certificate from a recognised root authority is necessary for the…


Blazor refresh route 404 error when moved _Host
I have a new Blazor Server project, I set up some new pages and placed them in an Areas/ subfolder. I move _Host to Areas/General/Pages as well and so have to specify this in Program.cs via: app.MapFallbackToPage("General",…


Why is Select().Contains() ok while Any() is not?
Hi all; I first tried the following code: var statesIndirectDelete = await States .Where(s => deletedCountries.Any(c => c.Id == s.CountryId)) .ToListAsync(); and that gave me the error: System.InvalidOperationException The LINQ expression…


Would it be possible to add this to ASP.NET?
Hi, I use a .NET application at work that allows to do the following in sequence, select a group of files via a file picker with a small preview pane. https://www.dropbox.com/s/w5aq6t8yeffvcfp/Screenshot%202023-06-05%20081505.png?dl=0 Once…


Problems with VS 2015 project
Hello, I have an asp.net 4.5 project with visual basic 2015, in this project a group of 3 programmers work, we use the TFS with source code control, at the beginning I could load the project, debug without problems, for some time both processes take…


Need help to understanding the code
Hi, This is part of a tutorial for OpenAI development: https://www.c-sharpcorner.com/article/building-ai-chatbot-app-with-chatgpt-api-and-blazor-a-step-by-step-guide/ Can you please help me to understand this part of the code: Content = new…


Can I remove the Trusted installer from Inetpub\wwwroot folder
For server hardening, our admin team wants to remove users and trusted installer from inetpub\wwwroot folder. Is that ok?


Using MS Graph to send email from singe predefined/pre-set mailbox within .net web application
We need our application to send emails via MS Graph using a set single mailbox. I have the following, but this is not working, with the following: 'Exception of type 'Microsoft.Graph.Models.ODataErrors.ODataError' was thrown'. Digging into the details…


Conditional Formatting with formula for expiry dates
Hello, I am trying to conditional format my worksheet to have a formula that highlights the cell 90 days before it is about to expire, all expiry dates in this case would be 3 years or 1095 days from certification. Please and thank you,


using controls created in c# page forward an aspx page webform
sirs, my problem is about the creation of controls in c# page using forward an aspx page as dynamically controls. the textbox and button controls created had sent to the aspx page and the showing is ok. but the problem is that when i want to used these…


How to Use fonts in .NET MAUI android
Hello, I am new in .NET MAUI, I am having a problem of using fonts when deploying on android devices. The fonts have been registered in the program.cs, however in android device they do not work.


Failed to Publish API
api_deploy.txt Hi, WhyI am suddenly not able to publish Web API to Microsoft Azure? I am getting failed as you can see in the attached log. Kindly help.. THanks, Jassim


How to fix error "No webpage was found for the web address:" when I am opening the url for my app service.
Hi community, I have created one dotnet core web app. Pushed it to repos in azure devops, created a pipeline and deployed it on azure web app services. After creating the release and publishing it on web app, when I am trying to open the URL of web app,…


How to fetch system installed fonts ttf on demand based on the XForms platforms
We need to fetch the system installed font files(.ttf) in our app, which are huge in size. How does fetching font file ttf on demand to reduce the initial download size of the app in XForms platforms?


No forms appearing in custom template VS 2022 Mac or PC
I have been looking over the material for the new templating engine, https://learn.microsoft.com/en-us/dotnet/core/tutorials/cli-templates-create-item-template and https://github.com/dotnet/templating/tree/main, and have created a .template.json file…


How to check if the record exist with same value in the database before insert
Hi, In my Blazor Server application, I am inserting a list of data into a database as follows; public async Task AddStockAsync(List<GameBank> gameBank) { await _oyunPalasContext.GameBanks.AddRangeAsync(gameBank); await…