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…
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 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…
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" …
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…
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 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?
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…
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)
Error message Windows media player 10 or higher required for media element in WPF
When trying to use the media element in WPF to play an MP3 file, nothing happens when running the project. An error message says that Windows Media Player version 10 or higher is required, but Windows Media Player version 11 is already installed on the…
Managing Blazor Server Page State
Hi, I want to know about is there any method or technique available through which we can store our significant variables/maintain the page state in sessions under Blazor Server Pages? We are developing a high level blazor server application which needs…
Dynamically Setting WebView Height in .NET MAUI for Varying HTML Content on iOS Platform
I am using a custom WebView in my .NET MAUI application to display dynamic HTML content on iOS. The HTML content changes daily, and I need to adjust the height of the WebView accordingly. Custom WebView Renderer (iOS) Here’s my custom WebViewRenderer…
CosmosQueryableExtensions method FromSqlRaw returning 0 results when passed parameters
I am working with EntityFramework.cosmos and due to some requirements, I have to use this extension method, FromRawSql(), to pass the raw query. Guid partnerId = new Guid([myPartnerId]) // string Interpolated Query var queryString =…
Upload .csv file to HTML table MAUI BLAZOR
I am getting .csv file from https://www.nseindia.com/reports-indices-historical-index-data and I want to show it in a table in .NET MAUI BLAZOR C# @page "/Forecast" @using NSEBlazor.Models namespace NSEBlazor.Models; @inject CsvService…
MAUI: Keep audio playing when navigating to a new page
I am using Webview for playing audio and when I navigate to a new page the audio stops playing. I want to play the audio in background when navigating to new pages, or switching app or locking device. My Code: <WebView …