Cannot parse "7,345.55" to 7344.55 maui blazor
I am not able parse Close value example close has "7,324.55" its is giving as 4550. string clsd = columns[8].Replace("\"", ""); bool isCloseParsed = false; var close = 0.0f; if…
How to fix a cryptographic keys error
I have recently upgraded the my web app to .Net9. I am now getting this error message from a call to CosmosDB to get a specific record... System.Security.Cryptography.CryptographicException: The key {92c2f09a-14ff-4cea-8f15-e09dcec74987} was not found in…
How to create Excel file with Visual Studio 2022 and C#
I'm working with Visual Studio 2022, Project WPF C# with .Net 6.0 and Entity Framework Core. DataBase MS SQL Express.I have also a valid and active licence Microsoft Office 365. I try to Create an Excel File but I have different error msg (see…
how to disable AOT in Maui
how to disable AOT in Maui My MauiApp runs ONLY in 'debug' mode! According to the .net, VS, Maui community I found many recommendations to disable AOT. Although, I never got an error msg to this direction! In .csproj I tested with 'all' combinations…
flipping card update
I create a live tile using System.Diagnostics; namespace LiveTileControl.Controls; public partial class LiveTileControl : ContentView { private bool _isFlipping; public LiveTileControl() { InitializeComponent(); …
I have a scenario where I need to read/write from the primary database for normal operations but for some operations I need to read from an alternate server (a replication target that's read only that we use for reporting). With the way the new Core API
public class ReadOnlyContext : BaseDbContext { public ReadOnlyContext(ITenantInfo currentTenant, DbContextOptions<ReadOnlyContext> options, ICurrentUser currentUser, ISerializerService serializer, IOptions<DatabaseSettings> dbSettings,…
Entra ID integration in .NET Maui App
For the 3 separate cross platform apps (.NET Maui) with 2 of them having the need for passwordless authentication and one need to have email password with MFA authentication. Can I integrate authentication in mobile apps without Browser by using the…
Excel is not visible for Android
Hello, I have created a test project to show Excel using web view. Here is the GitHub URL TestWebVeiw. I am trying to open the Excel file using WebView. The Excel is visible on the iPhone, but it shows a blank page when I try to run it on Android. I…
Android app nowgetting "requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified" crash
I have a Visual Studio 2022 Xamarin Android app (I know it's now unsupported) that has worked fine for many years. It uses NuGet packages for Firebase, etc. After November 4 (probably the Firebase November 15 release), when the app is in the…
how to translate matrix in .net.android?
I want to use canvas in .net.android and want to draw cube on it. I create custom view and rewrite ondraw how to draw one cube using canvas? if there is x,y,z and width height how to draw it?
windows phone live tile replica don't work
Hello, I am a big fan of Microsoft live tiles (Windows phone days) So I made my own <StackLayout Padding="0"> <control:LiveTileControl Title="My live tile" …
No templates or subcommands found matching: 'blazorserver'
Question Under "Create Blazor components" Section There is a dotnet command for creating a Blazor app by using the blazorserver template in CLI, it doesn't work anymore. The command is below: dotnet new blazorserver -o BlazingPizzaSite -f…
How to invalidate ".AspNet.Cookies" cookie on logout?
I have a .net application deployed to Azure. A penetration test finding called "Session Not Invalidated After Logout" is found. When an API Get request is sent along with .AspNet.Cookies while user is logged in, a successful response is…
SQL Server 2022 install on Windows 10 fails with error that .NET is not installed, but it is installed and up to date
I have installed SQL Server 2022 Developer edition successfully on a Windows 10 and 11 virtual machine. The issue is that I cannot install it on a physical machine. During the install, I get the following fatal error. I have tried to install the latest…
ACCESS ONEDRIVE
I have an MS account and use OneDrive. I am developing a .NET MAUI (8.0) app that should be able to access a specific folder in my OneDrive and download/upload files in this folder. The only authorization required should be my MS account. This task seems…
MAUI: Blank space on the UI in between the contents and font style issue
I have a label, image and a webview on the UI. My XAML: <ScrollView Grid.Row="0" Orientation="Vertical" VerticalOptions="FillAndExpand"> <VerticalStackLayout Grid.Row="0" …
How to Stop Previous Audio When Playing a New One in .NET MAUI
In my .NET MAUI application, I am using MediaElement from the .NET MAUI Community Toolkit and WebView to play audio files. However, I am facing an issue where if I play audio on one page, it continues playing even when I navigate to another page and play…
How to detect the flyout Open and Close in MAUI
I would like to detect the flyout open and closing event
BinScope Tool Compatibility for .NET Applications
Dear Microsoft Support Team, I have a query regarding the BinScope tool. It is my understanding that this tool is used to check compiler protection for C/C++ applications. Could you kindly confirm whether BinScope can also be used for .NET applications,…
Will data will in Preferences and SecureStorage after updating the app.?
I'm updating the application, I would like to know will the preferences and secure storage will be cleared after updating the application (Android or iOS)