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…
.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…
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…
Xamarin navigate to page throws "Object reference not set to an instance of an object."
I'm trying to navigate and pass data to an edit page when I select a row. I select a row in the checklistpage and what to pass that rows data to the treeinfopage. (has two points of entry 1 from menu and 1 from ChecklistPage) the page structures are as…
Trying to figure out why ocx file wont load form.
Program is able to run perfectly fine, but when trying to edit the form you get: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not…
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 =…
I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board
When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…
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 exit from this function
Hi, How to exit from : public async Task Execute(IJobExecutionContext context) { return; }
Multiple forms with common buttons
I need to create multiple winforms in an application with two buttons previous and next. When I click on the next button in a form the next form should open up. Similarly when I click on previous button previous form should open up. I don't want to…
how to check user data
Hello In asp.net textbox if user enter something like this with special charater i need to show alert check data For example APPLE /45 it has auto correct like this APPLE /45 MFLOW +/ CURRENT it has to auto corrrect like this MFLOW / CURRENT HELLO…
Edit directly in Grid on WEB Page in Razor
I have a table that I populate in Razor pages using stored procedures. I populate table in a loop on the Razor pages. I want to put a button on the grid and when you click on the button you can edit the values directly in the Grid and Save it back to the…
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…
How to render a razor page to another razorpage based on its conditions to login
Blazor syntax - @if (IsPhoneNumberPresent) { <RegistrationForm LoginModel="new OtpRegisterVm { Username = LoginPhoneNumber, CountryCode = CountryCode}" /> } else { <RegistrationForm /> } Razor syntax- <div class="px-6…
How to implement layered architecture?
Hello I started working on layered architecture to write some more professional code in C#. As a result of research on the internet, I saw that each person implements layered architecture differently. This caused confusion. I use the MVVM pattern in my…
Getting the following error when deploying a Blazor Server App using Deployment Center: Azure Repos
error MSB3644: The reference assemblies for .NETFramework,Version=v8.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. My application runs fine locally and was…
need to render a page to another through loginform
Register.cshtml @page "/register" @using FaceAdminWebApp.ViewModels @model FaceAdminWebApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } <h1>Register</h1> @if (Model.IsPhoneNumberPresent) { …
how to render razor page to another based on provide logic to login
<MudPaper Class="px-6 pb-8 pt-3 rounded-t-0"> @if (IsPhoneNumberPresent) { <RegistrationForm LoginModel="@(new OtpRegisterVm { Username = LoginPhoneNumber, CountryCode = CountryCode })" /> } else { …
Maui app crach
Hi, App fall after runing one week, what is the reason ? Fault offset: 0x00000000000fc1b9 Faulting process id: 0xf34 Faulting application start time: 0x01da8671c6d536eb Faulting application path:…
When running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator, an error is reported: Error adding record: MissingEntity
An error is reported when running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator. The error is [Error adding record: MissingEntitlement]. Is this not a permission in IOS? How should it be set?