16,448 questions with .NET-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

How to upload pictrue or image file from directory where client saved

@page "/view-page" <h3>Blank View Page</h3> @for (int i = 0; i < tshirtItems.Count; i++) { <div class="tshirt-section"> <img src="@tshirtItems[i].ImagePath" alt="T-Shirt Image" /> …

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.
23 questions
asked Mar 10, 2025, 3:20 PM
MIPAKTEH_1 565 Reputation points
accepted Mar 19, 2025, 3:41 AM
MIPAKTEH_1 565 Reputation points
1 answer One of the answers was accepted by the question author.

What to do; When load web appear menu "Item" right hand and click menu show picture left area We use Blazor Assembly standAlone.

1.TShirtItem.cs namespace TestBlazorApp.Models { public class TShirtItem { public string Name { get; set; } public string ImagePath { get; set; } } ```} 2.TShirtItem.razor @page "/tshirt-items" @using…

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.
23 questions
asked Mar 10, 2025, 3:48 AM
MIPAKTEH_1 565 Reputation points
accepted Mar 19, 2025, 3:40 AM
MIPAKTEH_1 565 Reputation points
0 answers

Publish - Move to Framework Independent did not work

Hi, I have MAUI app in .NET 9. When making setup with installshield i first install dotnet runtime 9. and later include Maui app + WPF app + stand alone app- log decoder in one setup. The app call in runtime to WPF application using Process Info…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 17, 2025, 11:05 AM
Dani_S 4,271 Reputation points
commented Mar 19, 2025, 2:58 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
1 answer

MAUI: How to update the webview height after loading new content

I want to implement the below UI in my MAUI application (header and footer sections are not added): Below is my code (header and footer sections are not added): Webview to show HTML content(with a background image), Audio frame with previous, play and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 16, 2025, 9:44 AM
Sreejith Sreenivasan 961 Reputation points
answered Mar 19, 2025, 2:45 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,536 Reputation points Microsoft External Staff
0 answers

Publishing MAUI Project on Windows: Grayed Out Option

I want to publish my MAUI project on the Windows platform, but the publishing option is grayed out. What steps can be taken to resolve this issue? Here's my C# project configuration: <Project…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 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,335 questions
asked Oct 5, 2024, 2:00 PM
Smith Tom 65 Reputation points
commented Mar 19, 2025, 2:37 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,536 Reputation points Microsoft External Staff
1 answer

Blank space is showing after webview when loading new content in MAUI

I want to create a UI with a Label(title), image(saint image) and a webview(to show HTMl content). When scroll I want to scroll the entire item, not the webview contents only. After all these I need a section to show the audio player with previous, next…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 16, 2025, 9:40 AM
Sreejith Sreenivasan 961 Reputation points
commented Mar 19, 2025, 12:50 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,851 Reputation points Microsoft External Staff
3 answers

I'm experiencing problems with EF and SQL Server when running on Azure Webservice. The same code runs fine from VS with same db.

If I turn debugging on and connect my VS to the process, the error doesn't occur. Also I can run the code just fine from Visual Studio towards the same database. I do not Lazy Load. All Queries ens with ToFirstAsync() or ToListAsync() and has a Select to…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
Azure SQL Database
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,477 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
637 questions
asked Feb 15, 2025, 10:00 AM
Tomas Ekenman 0 Reputation points
commented Mar 19, 2025, 12:00 AM
Siva Nair 810 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

Optimizing WPF Application Startup Time on Shared Network Drive

My team is facing an issue when publishing the application on a shared network drive. When an end user opens the program for the first time after starting their computer, it takes significantly longer compared to running it from the local C drive (18…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,842 questions
asked Jan 7, 2025, 3:15 AM
Knot 0 Reputation points
accepted Mar 18, 2025, 4:02 PM
Knot 0 Reputation points
1 answer One of the answers was accepted by the question author.

NAVIGATION WITH WINDOWS MACHINE

I have a program where the MainPage contains a menu: <TableView Intent="Menu"> <TableRoot> <TableSection> <TextCell Text="Welcome" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 17, 2025, 5:51 PM
Giorgio Sfiligoi 326 Reputation points
accepted Mar 18, 2025, 12:14 PM
Giorgio Sfiligoi 326 Reputation points
1 answer

.NET MAUI iOS Release Build Requires Developer Mode to be Enabled on Physical Device

I have developed a .NET MAUI iOS application and successfully created an .ipa file using a release certificate and provisioning profile. However, when attempting to install the app on a physical device, I encounter the following error: "This app…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 18, 2025, 6:47 AM
Aayush Rawat 0 Reputation points
commented Mar 18, 2025, 9:48 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Dirty log in login

Hi, I used log4net. When login I got this errors in the log, what it come from? Thanks. 2025-03-12 15:25:00,516 [1] ERROR GssdDesktopClient.Maui.ViewModels.LoginViewModel - LoginCommand System.InvalidOperationException: PlatformView cannot be null here …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 12, 2025, 1:28 PM
Dani_S 4,271 Reputation points
commented Mar 18, 2025, 9:29 AM
Dani_S 4,271 Reputation points
1 answer

Selected Item Binding is not working for the Picker.

Hello, I had picker, I want to explicitly bind the selected item. I mean before the user selection iteself i want to display an item in the picker. here is my picker. <Picker x:Name="languageSelectionPicker" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 18, 2025, 4:46 AM
Vaibhav Methuku 120 Reputation points
commented Mar 18, 2025, 6:25 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,851 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Picker.Focus() Not working in Windows - MAUI

Hello, I had a layout, Basically on tapping on that layout, I want to focus my picker. Unfortunately. picker.focus() is not working. Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 13, 2025, 7:31 AM
Vaibhav Methuku 120 Reputation points
accepted Mar 18, 2025, 6:17 AM
Vaibhav Methuku 120 Reputation points
1 answer

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.
4,013 questions
asked Mar 4, 2025, 4:58 PM
Vaibhav Methuku 120 Reputation points
commented Mar 18, 2025, 5:24 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Unable to debug in Mac in Code

I have a Macbook with OS Sequoria. Xcode version 16.2. When I tried installing MAUI .NET 9.0.200 and tried debugging in VS Code. I got the below error: System.UnauthorizedAccessException: Access to the path…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 13, 2025, 9:00 AM
Chinmay Dole 245 Reputation points
accepted Mar 18, 2025, 4:19 AM
Chinmay Dole 245 Reputation points
0 answers

. net maui uses Microsoft Data.SqlClients encountered an exception when directly connecting to SQL Server

Microsoft.Data.SqlClient.SqlException (0x80131904): Successfully established a connection with the server, but an error occurred during the login process。 (provider: TCP provider, error: 0 - Success) HttpClient can be accessed normally SQL Server has not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Feb 21, 2025, 12:38 AM
Fans 0 Reputation points
edited a comment Mar 18, 2025, 2:32 AM
Fans 0 Reputation points
1 answer

Operations on files obtained by Directory.EnumerateFiles never finish

【概要】 .netFramework 4.7を利用したプログラムにおいて Directory.EnumerateFilesで取得したファイル一覧に対して FOR文によるファイル操作を実施した場合に、処理が終わらない事象が発生しております。 既知事象の有無及び、改善策があればご教授頂けないでしょうか。 【実行環境】 OS:Windows Server2022 【処理詳細】 処理の詳細は以下の通りです。  ①Directory.EnumerateFilesメソッドを利用  …

.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,199 questions
asked Mar 12, 2025, 10:35 AM
OHASHI RURI(大橋 瑠璃) 0 Reputation points
commented Mar 18, 2025, 2:14 AM
Jiachen Li-MSFT 33,866 Reputation points Microsoft External Staff
1 answer

Error loading font 'Assets/Fonts/Segoe UI.ttf'. on log

Hi, I have this error when running the MAUI as exe. I do not have this fonts on my app in RESOURCES/FONTS and not resister it. 2025-03-13 11:57:26,921 [1] ERROR Microsoft.Maui.FontManager - Error loading font 'Assets/Fonts/Segoe…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 13, 2025, 10:01 AM
Dani_S 4,271 Reputation points
commented Mar 18, 2025, 2:03 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,536 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Microsoft Visual Studio Professional 2022 (64-bit) - Preview Version 17.14.0 Preview 2.0 will no longer compile my MAUI app

After upgrading to preview 2, I cannot build my MAUI app. Visual Studio Output says: To build this project, the following workloads must be installed: wasm-tools-net8 To install these workloads, run the following command: dotnet workload restore But…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,013 questions
asked Mar 12, 2025, 1:00 AM
Steve Frase 65 Reputation points
accepted Mar 17, 2025, 3:57 PM
Steve Frase 65 Reputation points
0 answers

Intermittent SSL/TLS Failure in .NET 6: "Could Not Create Secure Channel"

I am developing a .NET application and facing an issue where my API calls intermittently fail with a HttpRequestException. The error message states, "The request was aborted: Could not create SSL/TLS secure channel." This happens randomly, even…

.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.
36 questions
asked Mar 17, 2025, 1:54 PM
Jamesh 0 Reputation points