16,404 questions with .NET-related tags

Sort by: Updated
1 answer

Issue Populating CollectionView with ObservableCollection in .NET MAUI

Hi, I am facing an issue in my .NET MAUI application where I am trying to populate a CollectionView using an ObservableCollection<LeaveSummary> in my ViewModel. The data is correctly fetched, and I can see the ObservableCollection.Count in a Label,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,978 questions
asked 2025-03-06T18:02:38.5266667+00:00
Arnab Mukherjee 80 Reputation points
answered 2025-03-07T02:05:48.8666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,526 Reputation points Microsoft External Staff
0 answers

How can I optimize a React-based recruitment website for Bing SEO and ensure proper indexing?

Optimizing a React-based recruitment website for Bing SEO presents unique challenges due to how search engines process JavaScript-rendered content. Here’s a step-by-step approach to ensure Skiltrak’s website (or any React site) is properly indexed and…

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.
22 questions
asked 2025-03-07T01:41:40.6233333+00:00
Bilal Munsif 0 Reputation points
1 answer

Knowledge check page is missing the submit button

https://learn.microsoft.com/zh-cn/training/modules/csharp-call-methods/7-knowledge-check Despite my attempt to close the browser and reopen the page, I still cannot see the submit button, and my course cannot be completed

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
20 questions
asked 2025-03-06T15:19:37.3466667+00:00
天禹 杨 0 Reputation points
edited the question 2025-03-07T01:36:20.4233333+00:00
Jiale Xue - MSFT 49,126 Reputation points Microsoft External Staff
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,978 questions
asked 2025-02-25T19:51:44.0133333+00:00
fbs419 46 Reputation points
commented 2025-03-07T00:02:38.43+00:00
fbs419 1 Reputation point
0 answers

How can I generate a parameter using switch against a datatype choice parameter with dotnet new templates?

While creating a template for dotnet new <template>, one of the required parameters is of datatype "choice". I am trying to then have a generated parameter with the generator of "switch" based on the choice parameter. When using…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,198 questions
asked 2025-03-06T22:00:22.3666667+00:00
Aaron Chun 0 Reputation points
1 answer

.Net 8.0.10 and 8.0.11 hosting bundle doesn't install components

I have downloaded and installed the .NET Core Hosting bundle for 8.0.10 on the windows sever 2019. In the past when installing this bundle it will install the following components: Microsoft .NET Runtime - version (x64) Microsoft .NET Runtime - version…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,198 questions
asked 2025-03-06T17:31:36.6633333+00:00
commented 2025-03-06T21:11:51.48+00:00
0 answers

Unable to do Production Build for iOS on Visual Studio

Whenever we try to build, we get the following error. The certificate 'Apple Distribution:… does not match … However the certificate exists on both the Windows Build Machine and the Mac Agent. This then results in the following error. C:\Program…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,978 questions
asked 2025-03-06T18:19:50.9233333+00:00
K T 0 Reputation points
2 answers

I need help with the NET. i can't fix it no matter what I have done.

I have followed the install progress and I cannot get the NET.installed or quit getting errors, Please help? I am using the quicken Medical Expense

.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
33 questions
asked 2025-03-03T15:09:21.3633333+00:00
William Relaford 0 Reputation points
commented 2025-03-06T17:03:38.8366667+00:00
William Relaford 0 Reputation points
1 answer

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(); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,978 questions
asked 2025-03-05T23:41:45.6166667+00:00
Eduardo Gomez Romero 1,315 Reputation points
commented 2025-03-06T16:06:36.8933333+00:00
Eduardo Gomez Romero 1,315 Reputation points
2 answers One of the answers was accepted by the question author.

flayout navigation - how to deal with rasing memory?

Hi, I used flayout navigation. when navigate beween pages it consume alot of memory. In net 8. Not relase the previous page. Does to use GC.Collect()? Is allowed ? Thanks, public void Navigate(string navigateTo) { if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,978 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 4,131 Reputation points
commented 2025-03-06T14:04:47.0266667+00:00
Dani_S 4,131 Reputation points
5 answers

Observable Collection OnPropertyChanged Performance Issue

While Updating Values to Observable Collection, OnPropertyChanged() takes a lot of time to load and render in UI. Because of this it's takes around a minute to update the list and taking lot of time for updating if few more list updating at the same…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,978 questions
asked 2024-08-01T12:03:13.92+00:00
Muhesh Kumar 0 Reputation points
answered 2025-03-06T12:33:33.4066667+00:00
Muhesh Kumar Nagarajan 0 Reputation points
2 answers

Maui Performance Issue while set Application.Current.Mainpage as My CustomPage

In Maui, when we set MainPage using Application.Current.MainPage right? there while I set my custompage as MainPage its take around 15 to 30 seconds to initialize page in UI part, apart from the loading custompage code for example: …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,978 questions
asked 2024-08-09T07:49:18.6566667+00:00
Muhesh Kumar 0 Reputation points
answered 2025-03-06T12:32:43.5533333+00:00
Muhesh Kumar Nagarajan 0 Reputation points
1 answer

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…

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.
22 questions
asked 2025-02-22T18:17:25.01+00:00
Raymond Starkey 5 Reputation points
commented 2025-03-06T10:55:27.3266667+00:00
Pradeep M 6,315 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,978 questions
asked 2025-03-05T19:39:18.5233333+00:00
Kalyan A 440 Reputation points
edited a comment 2025-03-06T10:18:43.4066667+00:00
Kalyan A 440 Reputation points
7 answers One of the answers was accepted by the question author.

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,175 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,327 questions
asked 2023-08-06T15:37:30.7133333+00:00
Dmtr_Grms 331 Reputation points
commented 2025-03-06T08:43:15.9966667+00:00
subbarayan C 0 Reputation points
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,978 questions
asked 2025-03-01T08:09:23.1033333+00:00
Eduard Kaufmann 291 Reputation points
accepted 2025-03-06T08:00:59.5966667+00:00
Eduard Kaufmann 291 Reputation points
3 answers

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

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-03T12:54:30.98+00:00
Bharathi Hattikal 40 Reputation points
commented 2025-03-06T06:54:46.27+00:00
Hongrui Yu-MSFT 4,840 Reputation points Microsoft External Staff
1 answer

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,978 questions
asked 2025-03-05T10:36:57.4966667+00:00
Paramjit Singh 191 Reputation points
answered 2025-03-06T05:30:29.6266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,996 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

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,978 questions
asked 2025-02-18T11:11:24.62+00:00
Chinmay Dole 220 Reputation points
commented 2025-03-06T05:26:03.6333333+00:00
Chinmay Dole 220 Reputation points
1 answer

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,978 questions
asked 2025-03-05T07:06:30.2066667+00:00
mc 5,166 Reputation points
answered 2025-03-06T03:19:37.2566667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,526 Reputation points Microsoft External Staff