How to secure web api in asp.net c# (offboarding and crossboarding users.)
Hi , How to secure web api in asp.net c# i want to secure the web api for offboarding and crossboarding users. Example-offboarding : we have created one api, so we want to secure those api. suppose if a employee has left the organization and he knows the…
Help fixing my .NET framework
I have a problem with my .NET Framework, whenever I run programs like Discord, it gives me this error message: Clicking "Yes" forwards me to the installation page, which after running the installer, I am told that the .NET framework already…
Transparent flyout items
I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …
How to Prevent login redirect to 'login.microsoftonline.com' when user accesses secure page.
Hello, I am trying to have any user redirected to my login page, which has a login for ASP.net 4.8 Identity, and a button for Microsoft AD login which sends them to their company login page. Currently it words great, but if they access a page directly…
FCM V1 notifications are not delivered from Azure Notification Hub
I am following this Microsoft Guide to migrate from GCM/FCM notifications to FCM v1. From the guide, I - Configured the Firebase Service Account Credentials in Azure Notification Hub Updaeted backend and app (Xamarin) to use FCM v1 platform during…
Is there a way to minify or bundle or pack blazor wasm js?
Is there a way to minify or bundle or pack blazor wasm js? For example all of these files that get downloaded, some of them are third party libs but I want a generic "pack any js" into one file library.
What could be the potential impact of changing the registry value Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SystemDefaultTlsVersions from 0 to 1. Could it have any negative impacts for other applications, tools, etc...?
User was unable to login to Power BI the login window was not appearing. But after changing the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v4.0.30319\SystemDefaultTlsVersions registry value from 0 to 1 on my machine. It seems to…
Issues with using EventToCommandBehavior in .Net Maui
The issue that I am having is that the Name property length is always 0 no matter how many characters I type in the Entry Control. The TextChanged event is firing because when I type a character execution breaks at the NameChanged RelayCommand, but again…
Cannot access a disposed object when Upload file in Background Service
This is the error I am facing: Error occurred executing workItem. System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.String'. at…
How to debug and fix 'Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)' error on MAUI Android app
I have an Android app published in 'open testing' in Play store. And I am seeing 2% crash rate with this error. I have got the logcat file for 2 crashes, but not able to figure out any source/reason for crash. I am really looking for some help to make…
Selection Rectangle not moving along with datagrid content during scroll.
I am attempting to replicate the selection behavior of Windows File Explorer within a WPF DataGrid. Specifically, I aim to implement a selection rectangle that mimics the functionality of File Explorer's selection mechanism. Currently, I have created an…
.Net 6 Ubuntu jammy 22.04 base image upgrade. GSSAPI NTLM error
We are planning to upgrade from .Net 6 to .Net 8 version. To prepare for that upgrade we first upgraded from ubuntu 20.04 to ubuntu 22.04. We target ubuntu 22.04 version jammy tag with amd64 architecture. This is our base image in the Docker file and the…
How can pass from Datatable Data To Controller IActionResult
I want to insert some data from my datatable into another table. The checked data in my datatable is the result of the controller's action through I ajax I want to send array as parameter. Thanks in advance for your help. var table =…
Moving xamarin.ios to new SKD style issues
I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods. I am following the steps at https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0 But I get multiple…
How to exit from this function
Hi, How to exit from : public async Task Execute(IJobExecutionContext context) { return; }
after installation of VS2022 community, i have create a new MVC core project but after creation project is not loading under solution
after installation, i have create a new MVC core project but after creation project is not loading under solution i have tried with repair, modify and also with new instillation but no luck
iOS Splashscreen not showing up
I am upgrading a Xamarin.Forms project to MAUI. I have a splash.png image in the Resources\Splash folder. It is 414x720 in size. I have the correct entries in the project file as shown on this…
Could not load file or assembly "System.Runtime" on Windows Server
I migrated a WPF project from .NET Framework to .NET 6 which builds fine on my local system (windows 11). However when I moved forward to Azure pipeline, we got this error and it can be replicated on a Windows Server 2022 VM. There are multiple .NET…
How can i get current user groups from Azure AD using claims in dotnet core?
I have a dotnet core web application and this app authorisation is working based on azure AD. Question: How can i get all the groups name related to login user? do i have to make any changes in my azure app? I have already added this setting in…
Docker changes for Building .Net 8 application targeting Ubuntu 20.0.4 for amd64
Hi, We are upgrading from .Net 6 to .Net 8. I am trying to update the docker file for building the .Net application and specify .Net 8 version and target Ubuntu 20.0.4 version with amd64 architecture. Here is the code snippet at the high level FROM…