Direct API POST method to another URL
Good morning, afternoon or night!! Dear all, I will need to be "listening" to an Access device that will be sending a Json in the POST Method. To do this, I created a (simple) API to do this monitoring and respond with a True or False. Problem:…
How to visit the views of carouselview different item ?
webview will display embed youtube video I need user webview.EvaluateJavaScriptAsync to control the video. Then, how can i visit the webview of different items ? <CarouselView Grid.Row="2" x:Name="cView"…
MAUI extensions not available on visual studio 2022
I have Visual Studio v 17.7.4 and Visual Studio Preview v 17.8.0 and have recently installed the MAUI suite.  I am not given the option to create multi-platform apps as I assume I would on VS or VSP. I have gone through previous iterations of the…
How to set up role based authentication in a Blazor Server app in Microsoft Entra ID
Hi, I have a Blazor Server app and I want to use role based authorization in Microsoft Entra ID. I created role for it and I added permission to it: Program.cs builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme) …
.Net core deployed application not supporting Chinese font in PDF.
I have chines font in my code when the app is deployed in app service and there is a logic to download the PDF file with the Chinese font, but the font is not visible.
Fail to upload .Net MAUI application on Apple appstore
We have developed an application in .Net MAUI, we tried this application on Android and iPhone device. It works properly on both platform. Now we are trying to upload this application on Apple AppStore, but fails. We generate ipa file from Visual Studio…
Unable to reuse the same layout in a new form
Unable to reuse the same layout in a new form. I've created a CustomControl inherited from ContainerControl and added items in it. However, I'm encountering difficulties when attempting to use it in another form. I want to use the below in a new form. …
Microsoft.Maui.Essentials packages
I have an razor class library and want to use Microsoft maui SecureStorage. In visual studio , NuGet interface, when select the latest Microsoft.Maui.Essentials packages, get the following…
How to calculate years from two different date in ASP.NET C#
I have Employee Admission Date which is stored in SQL table. In the ASP.NET click event, i want to calculate and find the years from the Admission Date and Current Date. For example, Admission Date : 10-MAR-2023 Current Date : 28-APR-2024 condition is…
NuGet package creation from multiplatform MAUI class library
I have created a multiplatform MAUI Class library that works on Windows and Android. Now I want to create a NuGet package in order to use it in multiple MAUI projects. Is it possible to create a single NuGet package, or do I need to create one NuGet…
Xamarin.ios integration with native ios sdk
Is it possible to integrate a native ios sdk (xcframework - swift) with xamarin.ios ?
How to copy big file 5g with task and within impersonation
Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,
An unhandled exception occurred while processing the request. ApplicationException:
Register.cshtml @page @model FaceAdminApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } @if (Model.IsPhoneNumberPresent) { <div class="container"> <div class="row…
How to set JDK path used by dotnet build command
Hello, We build our .NET MAUI app for android using the dotnet publish command on the command line. During the build, the wrong version of the JDK (Java Development Kit) gets picked. How can we specify the path to the JDK that should be used for the…
How to set up role based autorization for Blazor Server app in Microsoft Entra ID
Hi, I have a Blazor Server app and I want to use role based authorization in Microsoft Entra ID. I created role for it and I added permission to it: Permissions: And here is the…
Hotfix for Microsoft .NET Framework 4.0
Hello! I need this file please Hotfix for Microsoft .NET Framework 4.0 (KB2390372).
Application exception when trying to get response from server
Register.cshtml <button type="submit" class="btn btn-outline-primary btn-sm ml-4 mt-4" asp-page-handler="GenerateOtp" style=" width: 150px;"…
Localize application display name of iOS developed with .NET MAUI?
Display name is localized on android in "Resources\values" folder and it works as expected. However, I can't make it work with iOS. What has been done: My solution : In info.plist : In InfoPlist.strings : In csproj : When I…
Reuse legacy COM component in ASP .NET core Web API
I have a legacy COM dll which exposes business logic via COM objects. Its implemented using VC++. I am in process of modernising my application for web. Initially I wanted reuse this COM component without any change. A single instance of COM object only…
COM aggregation, "stabilization" AddRef/Release pair, necessary? (Don Box book)
To the excellent members of the COM team: I have one question with the “stabilization” technique introduced in Don Box’s book. In functions like FinalConstruct(), the outer object might create inner aggregation objects. These inner objects in turn…