16,395 questions with .NET-related tags

Sort by: Updated
3 answers

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…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
21 questions
asked 2024-06-07T11:18:52.7766667+00:00
FRED 10 Reputation points
commented 2025-03-05T17:03:23.87+00:00
jp McCoy 0 Reputation points
2 answers

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-02-25T19:51:44.0133333+00:00
fbs419 46 Reputation points
commented 2025-03-05T16:55:46.1+00:00
fbs419 1 Reputation point
2 answers One of the answers was accepted by the question author.

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 2024-07-16T11:05:41.7266667+00:00
Abhishek, Burra 30 Reputation points
commented 2025-03-05T14:43:23.75+00:00
Müller Matthias 0 Reputation points
13 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,490 questions
asked 2023-03-23T18:04:44.7966667+00:00
MJ Skeet 40 Reputation points
answered 2025-03-05T14:02:45.43+00:00
Jon Ellison 0 Reputation points
1 answer

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" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-03-04T20:12:08.7166667+00:00
Eduardo Gomez Romero 1,295 Reputation points
commented 2025-03-05T11:34:14.0033333+00:00
Eduardo Gomez Romero 1,295 Reputation points
2 answers

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-02-18T11:11:24.62+00:00
Chinmay Dole 200 Reputation points
answered 2025-03-05T10:52:03.5566667+00:00
Omkar Pawar 120 Reputation points
1 answer One of the answers was accepted by the question author.

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-03-04T10:34:35.9533333+00:00
Giorgio Sfiligoi 326 Reputation points
commented 2025-03-05T10:39:06.57+00:00
Giorgio Sfiligoi 326 Reputation points
1 answer

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" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-02-27T13:54:46.6666667+00:00
Sreejith Sreenivasan 961 Reputation points
commented 2025-03-05T08:31:03.0866667+00:00
Sreejith Sreenivasan 961 Reputation points
1 answer

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-02-25T18:00:48.0266667+00:00
Sreejith Sreenivasan 961 Reputation points
answered 2025-03-05T08:16:34.03+00:00
Sreejith Sreenivasan 961 Reputation points
0 answers

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?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-03-05T07:06:30.2066667+00:00
mc 5,166 Reputation points
edited the question 2025-03-05T07:09:50.31+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,521 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-03-01T08:09:23.1033333+00:00
Eduard Kaufmann 291 Reputation points
edited a comment 2025-03-05T07:01:29.72+00:00
Eduard Kaufmann 291 Reputation points
1 answer One of the answers was accepted by the question author.

How to detect the flyout Open and Close in MAUI

I would like to detect the flyout open and closing event

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-03-04T16:58:37.46+00:00
Vaibhav Methuku 100 Reputation points
accepted 2025-03-05T06:26:07.9433333+00:00
Vaibhav Methuku 100 Reputation points
1 answer

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,…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
19 questions
asked 2025-03-04T23:44:06.1766667+00:00
Mohammad Raza 0 Reputation points
answered 2025-03-05T05:46:10.7333333+00:00
Pradeep M 6,315 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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)

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-03-04T17:00:23.4066667+00:00
Vaibhav Methuku 100 Reputation points
accepted 2025-03-05T05:23:45.7066667+00:00
Vaibhav Methuku 100 Reputation points
2 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
asked 2024-07-11T03:04:05.8466667+00:00
Nam Nguyen 0 Reputation points
commented 2025-03-05T02:35:46.0266667+00:00
Kevin Kuang 0 Reputation points
1 answer

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…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
21 questions
asked 2025-03-04T04:51:04.4266667+00:00
Aima Maqsood 25 Reputation points
answered 2025-03-05T01:37:37.34+00:00
Zhi Lv - MSFT 33,146 Reputation points Microsoft External Staff
2 answers

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-02-19T06:38:28.09+00:00
Sreejith Sreenivasan 961 Reputation points
answered 2025-03-04T15:50:15.4733333+00:00
Sreejith Sreenivasan 961 Reputation points
1 answer

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 =…

Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
7 questions
asked 2025-03-03T23:58:47.7366667+00:00
Humza Manzoor 0 Reputation points
commented 2025-03-04T15:20:13.28+00:00
vivian musyoka 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-03-01T15:05:30.2233333+00:00
Kalyan A 420 Reputation points
commented 2025-03-04T11:20:25.4233333+00:00
Kalyan A 420 Reputation points
1 answer One of the answers was accepted by the question author.

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 …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,973 questions
asked 2025-02-24T16:33:00.5866667+00:00
Sreejith Sreenivasan 961 Reputation points
accepted 2025-03-04T10:21:47.4+00:00
Sreejith Sreenivasan 961 Reputation points