Content
B2C application unable to retrieve roles assigned to a user
Hello, In my B2C app, I have a user that has been assigned multiple administrative roles. I've created a policy for the administrator role but am unable to retrieve any roles for this user. I'm using dotnet 7.0. I have two problems:. Assigning the Admin…
Can a child element pass validation issues up to the <DataAnnotationsValidator> in the parent
I'm reducing this down to the essentials. If I reduced too much, please ask for detail. I have a razor page as follows: <EditForm> <DataAnnotationsValidator /> <AddressForm @ref="_addressElement" …


.net maui change Android and iOS overview icon
In .net maui Android when the "Overview" button in clicked an Icon is shown. How do I change that icon ? On iOS how to change the ".NET" to something else ?:


Getting build error when trying to upgrade Android 8 to 10 and switching from VS17 to VS 22
Hello, I have a Xamarin.Android project developed for Android 8.0 using Visual Studio 2017. Now I would like to upgrade the Android version from 8 to 11 and open it in VS 2022 at the same a time. As soon as I do that I get several error messages.…
Localisation send email attachment- email not sent
Hi I have written code in mvc to send email. I have localisation for website. When i send an attachment in French .example file name HDFC po 2341. The email is not sent. Getting status as false. Used mailmessage. Need help


Margin not working with ScrollView
I have the following XAML: <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" …


Blazor loads too many dlls in the background
Hello, Blazor is loading too many dlls in the background and therefore the opening speed is slowed down, can you help me how can I prevent it? Uploaded files : Client Side Csproj :


How to use .net 6.0 library in .net framework 4.7.2 project
My project based on .net framework 4.7.2, and I have to use a .net 6.0 library in my .net framework 4.7.2 project. My questions is how to use .net 6.0 library in .net framework 4.7.2? The .net 6.0 library used other .net 6.0 library, I don't know if…


Cannot Copy a file on a path with .NET Core in MAC
Hi Guys, We are developing a worker service in .NET Core on MAC machine. On the start of service we are copying some of the necessary files on the given path. Its all working fine in Windows machine in release mode and working great and deployed on the…


I want add validation with phone and email
If the user wants to register with the same email and phone, I want to get a warning that this email and phone have been registered before. I tried a lot of Ajax code about this, but I was not successful. Can you help? @model…


Unable to load DLL 'Microsoft.Data.SqlClient.SNI.x64.dll'
I have two published environment, Staging and one for live. my published project works in test env. without any issue, but as soon as I deploy it on live env. I also should mention that Microsoft.Data.SqlClient.SNI.x64.dll exists in \bin after…


How to get authorization code dynamically depending on tenant ID using blazer Webassembly
I am looking to dynamically create a Microsoft graph client at runtime where the tenant ID is changed dynamically every time it is created. I need to get a authorization code that is dependent on the tenant ID at runtime but I can not seem to make it…


IOS TableView have more than 2 ViewCell , app come back from background, tableview will not display ?
IOS TableView have more than 2 ViewCell , app come back from background, tableview will not display ? Only IOS and more than 2 viewcell have this problem. <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …
remove IconTint for multicolored icons on tabbedPage
Hi all, I just want to add an multicolored icon on my tabbedPage but my tabbedPage display the icon with one color like IconTint thanks for ur help


Net Maui carouselview time span problem
All working fine but check and please correct the first image show and quickly passing second image must be same as the others time span .. how we can solve it? Thanks public Carousel() private void Carousel_Loaded(object sender, EventArgs e) { …
How to install C# and .NET on Linux Mint 21.1
dotnet --version The command could not be loaded, possibly because: * You intended to execute a .NET application: The application '--version' does not exist. * You intended to execute a .NET SDK command: No .NET SDKs were found. What does…


how to fix this errorFailed to launch 'myapp:show?username=abcd@gmail.com&password=******&id=xxx' because the scheme does not have a registered handler.
I have my Windows application which opens by clicking a link on the web page I have added the registry details in the nsis script file after that I created an exe file for testing the same When I click the link mentioned above in the heading it is…


Xamarin Forms: Issue with downloading image to device
I follow this blog to implement downloading image from URL and saving it to device. My code: IDownloader.cs public interface IDownloader { void DownloadFile(string url, string folder); event EventHandler<DownloadEventArgs>…


How do I make a VB webhook listener?
To receive notifications from a service, I want to utilise Visual Basic to build a webhook listener. The service is not listed under Microsoft in Nuget.AspNet.WebHooks.Receivers.*. An SSL certificate from a recognised root authority is necessary for the…


VS Community 2022 - ASP.NET 4.8 - Publish has encountered an error. Copying file 'x' to 'y' failed.
Hello, I'm getting a really frustrating error which is really holding me up. The error is: Copying…

