Is it possible to create and set styles and/or template for combobox in c# only?
Hi, I'm trying to setup a app frontend in C# only. I'm more practiced with c# then XAML, but also have the feeling that I can make the app windows/pages more parametric in this way. Thus far I'm succeeding in this, however when I tried setting up…
How to reference/consumme assembly manifest based on CPU in WPF C# Application project?
I want to reference an older Win32 assembly from a Wpf C# application. I do have both x86 or x64 versions of the Win32 assembly but I don't see how to reference based on selection target CPU.I can only specify either one. The Visual Studio C# project…
Mac question
I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…
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…
How to create a alert in MAUI - Platform specific - Android.
Hello Team, I want to reuse the existing alert which is created in Xamarin-Android, When I'm trying to access that. Facing this exception. Please find the below code: Device.BeginInvokeOnMainThread(() => { AlertDialog.Builder dialog = new…
A weired error about HTTP 500 !
I created a web user asp.net 8.0 mvc without ef. When I modify the stucture of oracle datebase table ,such as add a field ,then the web related to the table report a error about HTTP 500 . But after I restart the iis,it works well without doing anything…
Unable to publish App to Apple store
Hi, I'm new to Mobile App Development. I have developed a login page App and trying to deploy the App to Apple store and got this error when running the deploy command. Will you please review the errors and guide me in resolving the issue. dotnet…
Binding Errors in a Simple Project
I have carved out a simple project from a larger one to demonstrate the binding errors I am getting so the names I use might seem ... odd. The following is the ENTIRE project: Window…
How to debug MAUI.iOS app from VS Windows 2022
Hi, I'm trying to debug the MAUI.iOS app from VS Windows 2022. I connected to the remote mac successfully. This Mac mini is using Xcode 15.2 and have VS Mac 2022 installed. When I ran, I saw it deployed successfully to the Mac, and the app also opened…
Xamarin Cross-Platform MSAL Authentication: Invalid keystore format
I followed this guide "https://damienaicheh.github.io/azure/xamarin/xamarin.forms/2019/07/01/sign-in-with-microsoft-account-with-xamarin-en.html" for setting up authentication for Xamarin android and ios msal. Everything seemed to going fine…
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…
Compatibility Issues with SQLClient Libraries After Migrating to .NET 6 from .NET Framework 4.8
I've encountered issues with Microsoft sqlclient packages after upgrading a set of C# projects from .NET Framework 4.8 to .NET 6.0. The setup consists of a primary C# calculator application, a C# bridge for external integration, and a C++/CLI wrapper.…
[MAUI] How to set the icon of a new window in MAUI? Including Android and Windows platforms
I need to open a new window on my Android device and set its icon, similar to a WeChat mini program, but I haven't seen any API documentation related to it in the official documentation that allows me to set its icon, so I want to ask if this is possible…
does razor pages support aot?
razor pages support AOT?
Azure B2C sign in page does not display company branding images on .NET clients only
We are using MSAL.NET with B2C to authenticate our users. We have a custom company logo and background image that we display when the user signs in to our application. In our Angular-based web portal, the sign in page displays correctly, but in our .NET…
How to mitigates Cross-Site Scripting (XSS) Attacks using msal-browser and msal-angular on production?
Implementing a login solution using the Microsoft Identity Provider with OpenID Connect (OIDC). Is it safe to use the msal-browser and msal-angular libraries in an Angular application on production? How can Cross-Site Scripting (XSS) Attacks be…
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…
Download captured HTML Div as PDF and also send as PDF attachment to email
I want to achieve 2 things: Capture HTML, convert to Image and download as PDF Send the captured and converted HTML div as PDF attachment to email When I tried capturing the entire div and convert into image and download as PDF but it appears the…
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}" …
Deployment problem - error MSB4186: Invalid static method invocation syntax
I've got a .net core 8 app being deployed to a windows box and I'm getting the following errors no matter what I do after the pipeline completes successfully: MSB4186: Invalid static method invocation syntax:…