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/…
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…
how to fix To prevent possible data loss before loading the designer, the following errors must be resolved: ?
|Here is the call stack:at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.CreateVariableKindUnknownException(XmlElementData xmlElement, String name)at …
Server 2022 - Maui app with net .7 is not working
Hi, I installed Maui app on server 2019 with this command and its works but on server 2022 its not work: dotnet publish -f net7.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…
Message handler called outside of the Windows message loop. Please explain.
Initial conditions: Simple Windows Forms application (c#, .NET 4.6.1), dialog box containing among other controls, a combo box. The combo box contains several items. On using a certain control on the dialog's surface (e.g. pressing a button), the…
Maui Hybrid Power Bi embeded report ios issue
What is a proper way to configure power bi reports on ios for Maui blazor hybrid app. My current solution works in web, win, android but not in IOS, on IOS it opens power bi report iframe in safary(instead of rendering in app web view) and does not show…