Content
MVC CORE GET API FAILS
Call to api https://visitsapi.azurewebsites.net/api/Auth/ fails getting 404 error Please visit here for github code https://github.com/KalyanAllam/JWTApiCall/ The source code for https://visitsapi.azurewebsites.net/api/Auth/…
MAUI: Listview isvisible property is not working from the code behind?
I am trying to show the selected image or file on my UI on a listview. So initially the listview's IsVisible I set to false and after picking item I set the IsVisible property to true. My problem is after picking item the listview is not visible on the…
WPF Tabcontrol Resizing Issue
Hi All, I have a Tabcontrol inside grid which is inside WPF page. I want Tabcontrol to resize to complete width and height of page. I have set grid height and width to "*" and horizontalalignment and verticalalignment of tabcontrol to…
A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI
Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…
Finding parent form and tablelayoutPanel
hello , private void TDlloading_error_Load(object sender, EventArgs e) { HideButtonsInParentFormTableLayoutPanel(); } private void HideButtonsInParentFormTableLayoutPanel() { // Access the parent…

App permissions denied, even when manually set
I have been updating my app to comply with Googles requirements of API level, and permission use. It seems that no matter what I try, I cannot get any permissions in my app. I have tried two different methods (code below). I am never prompted to approve…
How can I do a [MemberNotNull] for an Entity Framework IncludeAll() method I wrote?
I have the following helper method. This includes all complex properties in my Event DbSet (actually there's 9 properties but I reduced it for clarity): public static IQueryable<Event> IncludeAll(this IQueryable<Event> source) { return…


I'm going nuts over this. I can write to a cookie, and then read it again. But at some point, i want to update the value it holds. Whenever i get the cookie again, i get the initial value, not the updated one. Below is the code i use for write/update and
cookies are not updating hwen i update the clain or updating a permission in do net 6 public class UpdateCookieAuthenticationEvents : CookieAuthenticationEvents { public override async Task…
The download links in this article doesn't work: https://support.microsoft.com/en-au/topic/microsoft-net-framework-4-8-language-pack-offline-installer-for-windows-4bee217e-4096-6922-eba9-3e3c27342ff6
I click the links provided in this article: https://support.microsoft.com/en-au/topic/microsoft-net-framework-4-8-language-pack-offline-installer-for-windows-4bee217e-4096-6922-eba9-3e3c27342ff6 but none of the language pack works for me. Please advise.
How to get the data from start date to end date
How can I find data from database between two dates. Problem-1. How can I find the data from the database between the two dates if I consider the parameters. Problem-1. If I use date as parameter then my datatable doesn't show data. Problem-2. I want to…
Opening the new form and closing the previous
Hi , In my project i am stuck at a point and can not figure out how to open a new form inside a panel of already opened form . So there is a form named father and it has a panel . i am using this panel to open all subsequent forms (children) . there are…
How to fix - You must install or update .NET to run this application
root@ubuntu:/etc/systemd/system# /usr/bin/dotnet /var/www/MinAPI/WebApi.dll You must install or update .NET to run this application. App: /var/www/MinAPI/WebApi.dll Architecture: x64 Framework: 'Microsoft.AspNetCore.App', version '5.0.0' (x64) .NET…
How do I programmatically "restart" an Android app in.Net maui?
How do I programmatically "restart" an Android app in.Net maui? I have been trying to restart the application when the system reboot in .net maui app AndroidManifest.xml BootBroadcastReceiver.cs using global::Android.App; using…
How can I create a Complex View Like this one in WPF DataGridView C#?
I created this Example and Tried to make it as Simple as Possible so that you can Understand Clearly. I have SQL Server Database Named EmployeesDB that contains 4 Tables as following: 1. Employees Table which is the Parent Table in this Example. 2.…
Help with Microsoft.Graph upon upgrading from version 4.x.x to 5.x.x
I understand that Microsoft Graph Client Library, Microsoft.Graph, API is quite different when upgraded from 4.x.x to 5.x.x. I use this library for accessing OneDrive files. I have no problem with MSAL authentication that precedes file access but would…
Property not being set
Hi In my MAUI app I am calling OnItemTapped method from a command. I have implemented IsBusy logic in OnItemTapped to avoid it being executed again until it is done. At the end of OnItemTapped method I am setting IsBusy to false. However IsBusy…
Call Webapi JWT
I created API with JWT Token https://github.com/KalyanAllam/VisitsApi Where Auth Controller generates the…
I have performance issue when i get int value from redis cache
I use Azure Redis cache in the .net core 7 project and I have an INT value and try to get it in the .net core 7 project. but my problem is that getting the value from the Redis cache takes too long like 500 milliseconds, is there any reason for…
c# Graph Api > 5..0.15 Content.GetAsync() not working any more
// https://learn.microsoft.com/en-us/answers/questions/1025116/how-to-download-a-mail-graph-api-c?orderby=oldest Stream mimeContentStream = await _graphClient.Users[{someUseriD}].Messages[{aMessageId}].Content.GetAsync(); string mailFile =…
How to bind Command in ContextMenuItem
Thanks to @Hui Liu-MSFT and @Peter Fleischer (former MVP) ,now I am able to operate my TreeView and do Drag&Drop on it. Also I can ONLY display ContextMenu by right click on the first level of TreeViewItem, which is required. You can see the…