26,482 questions with .NET-related tags

Sort by: Updated
1 answer

VS2022 Publish is disabled

I am trying to create msix file for Windows but Publish is disabled please suggest.publish.gif I am using VS 2022 and recently upgraded. Thanks, Kalyan

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
asked 2024-12-19T19:47:36.7166667+00:00
Kalyan A 335 Reputation points
edited a comment 2024-12-24T14:30:32.0766667+00:00
Kalyan A 335 Reputation points
1 answer One of the answers was accepted by the question author.

How to query System generated columns on Developer Edition

We are using EF 8.0 to manage data, one of the recent challenges is that the query on SQL Server Developer Edition and Enterpise Edition returns different results. i.e., two columns StartTime/EndTime are generated like entity.Property(e =>…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
767 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,213 questions
asked 2024-12-23T22:26:13.1633333+00:00
Zhang, Li 0 Reputation points
commented 2024-12-24T13:59:37.1733333+00:00
Zhang, Li 0 Reputation points
0 answers

Issue with DataGrid Selection in WPF Application

A WPF application has been developed using .NET 5, which includes a DataGrid and a button. The following is the code for the button's click event. The issue encountered is that the index and selectedRow values of the DataGrid are only correctly stored…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,003 questions
asked 2024-12-23T11:22:35.7+00:00
Kamyab Faghih 65 Reputation points
commented 2024-12-24T13:13:35.4066667+00:00
Kamyab Faghih 65 Reputation points
0 answers

Android Apk not installed

dotnet publish -f:net9.0-android -c:Release /p:AndroidSigningKeyPass=math@24 /p:AndroidSigningStorePass=math@24 When I try to install apk file "on my Android phone I get below error "App not installed as app isnt compatible with your…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,635 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
asked 2024-12-23T21:42:31.97+00:00
Kalyan A 335 Reputation points
commented 2024-12-24T12:48:07.1366667+00:00
Kalyan A 335 Reputation points
2 answers

Blazor 8.0 NavigateTo throws an exception

Hello, I have a language selector that calls the following code and it works like a charm. On other hand, I want to change the language from within the MainLayout on Initialized event (async) but then the very same code throws an exception of type…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,701 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,635 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,147 questions
asked 2024-12-19T08:59:18.7133333+00:00
Kuler Master 306 Reputation points
commented 2024-12-24T11:56:19.91+00:00
Kuler Master 306 Reputation points
0 answers

FirebaseApp Initialization Error in MAUI .NET 8

Hello, I am encountering an issue with initializing Firebase in my MAUI Android and iOS projects. The error message I am receiving on Android is: [mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: Java.Lang.IllegalStateException: Default FirebaseApp is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 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,147 questions
asked 2024-12-24T11:32:28.0366667+00:00
Omkar Pawar 20 Reputation points
1 answer One of the answers was accepted by the question author.

Tooltip look transperant

Hi, I'm using NET 8 and tooltip in some computer look transparent. How is can be solved ? <Label Text="{Binding Name}" VerticalTextAlignment="Center" ToolTipProperties.Text="{Binding}" />

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
asked 2024-12-16T09:45:56.1466667+00:00
Dani_S 3,886 Reputation points
commented 2024-12-24T11:14:25.0766667+00:00
Dani_S 3,886 Reputation points
0 answers

What is alternative of App center as it is going to deprecate by March 31, 2025?

I am using App Center Analytics, App Center Crashlytics, and App Center Distribution for my .NET MAUI application. Are there any alternative options available for all three of these services? If so, which ones are considered good alternatives? App…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
asked 2024-12-24T10:35:22.9566667+00:00
Shingala A 25 Reputation points
1 answer One of the answers was accepted by the question author.

Error After Upgrading the Blazor Project WASM to .Net 8 to .Net 9

I got this errors While Upgrading my Blazor Web assembly Project to .Net 8 to .Net 9 Error Message=   Source=   Stack Trace:   at https://localhost:7123/_framework/dotnet.runtime.o8gq1i8bk6.js:3:96088 This Error  I got in console MONO_WASM:…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,635 questions
asked 2024-12-24T05:47:54.8166667+00:00
Satyasai Gunnam 20 Reputation points
accepted 2024-12-24T09:54:09.16+00:00
Satyasai Gunnam 20 Reputation points
1 answer

How to Debug WCF Project Using Visual Studio as Non Administrator

When I open Visual Studio 2022 as Admin, I can able to easily run our WCF Project which is having Net Tcp Binding, but when opened VS 2022, as Non Admin and Run this Project, I am getting the below exception. "'The service endpoint failed to listen…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,003 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,012 questions
asked 2024-12-20T17:00:57.7366667+00:00
Ali basha Syed 20 Reputation points
commented 2024-12-24T09:36:45.19+00:00
Anna Xiu-MSFT 30,311 Reputation points Microsoft Vendor
0 answers

js Static web assets in .net9 appera blank in the browser

I can navigate to my file from the browser but the file is blank. the reference in the obj folder is correct, and the file generated inside the .nuget folder is also correct and has all the methods, but when accesing the file from the browser it appears…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,635 questions
asked 2024-12-22T15:37:39.5833333+00:00
William Mendoza 0 Reputation points
commented 2024-12-24T08:59:03.6233333+00:00
Ruikai Feng - MSFT 2,586 Reputation points Microsoft Vendor
0 answers

How to Resolve SQLite Network Path Access Issues in UWP Applications

We are facing an issue accessing a SQLite file located on a network path in our UWP application. Despite enabling the necessary capabilities such as internetClient and privateNetworkClientServer, the file remains inaccessible in release mode. The SQLite…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,003 questions
Universal Windows Platform (UWP)
asked 2024-12-19T11:28:38.5966667+00:00
Lokender Tiwari 0 Reputation points
commented 2024-12-24T08:30:28.92+00:00
Roy Li - MSFT 33,496 Reputation points Microsoft Vendor
0 answers

iOS app is getting crashed while navigating to another page.

iOS app is getting crashed while navigating to another page and there are no exact replication steps. This is a random crash and happening on multiple pages while navigating between pages. Below is the crash log from app center and any quick help would…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
asked 2024-12-18T12:58:42.6766667+00:00
Satya 125 Reputation points
commented 2024-12-24T08:18:00.3133333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,591 Reputation points Microsoft Vendor
1 answer

Visual Studio 2019 Crashes When Closing Windows Form in Design View

Maintaining a Windows Forms application in Visual Studio 2019 (version 16.11.42) that uses Janus controls. Recently, there is a form within the application that when opened in design view indicates there are changes as soon as it is opened. Closing and…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,914 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,308 questions
asked 2024-12-12T20:49:16.4+00:00
Euris 0 Reputation points
commented 2024-12-24T07:05:11.7633333+00:00
Anna Xiu-MSFT 30,311 Reputation points Microsoft Vendor
2 answers

Blazor ValidationMessage being conditional

Hello, I have a registration form where the users can select if they are private or company. What I need is to make the Company Name validation conditional. Meaning, if they select a company it gets enabled and if they select a private it gets disabled.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,701 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,635 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
asked 2024-12-03T11:08:10.6566667+00:00
Kuler Master 306 Reputation points
answered 2024-12-24T05:36:01.05+00:00
Ping Ni-MSFT 4,805 Reputation points Microsoft Vendor
2 answers

Why can't we target the browser in .Net MAUI using WebAssembly and WebGL?

Integrating WebGL and WebAssembly (WASM) at a low enough level to support a .NET MAUI/XAML runtime is possible but requires a thoughtful design that bridges the WebAssembly execution model with the rendering and UI framework requirements. Here's how this…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,003 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,003 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
asked 2024-12-12T06:35:33.59+00:00
Jason Craig 0 Reputation points
edited the question 2024-12-24T05:30:45.0733333+00:00
Zhi Lv - MSFT 32,736 Reputation points Microsoft Vendor
2 answers

Why can't we target the browser in .Net MAUI using WebAssembly and WebGL?

Integrating WebGL and WebAssembly (WASM) at a low enough level to support a .NET MAUI/XAML runtime is possible but requires a thoughtful design that bridges the WebAssembly execution model with the rendering and UI framework requirements. Here's how this…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,003 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,003 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
asked 2024-12-12T06:35:33.59+00:00
Jason Craig 0 Reputation points
edited the question 2024-12-24T05:30:45.0733333+00:00
Zhi Lv - MSFT 32,736 Reputation points Microsoft Vendor
1 answer

How to change the size of MAUI Shell back button? For improved use when using tablets with gloves

Hello :) I am working on a team developing a MAUI app for engineers. Many of our users have suggested enlarging the back button for better use with gloves. In my AppShell.xaml I have attempted to use Shell.BackButtonBehaviour and IconOverride to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
asked 2024-12-18T11:19:06.3866667+00:00
Tom Roberts 0 Reputation points
commented 2024-12-24T05:28:07.06+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 77,726 Reputation points Microsoft Vendor
1 answer

Visual Studio doesn´t display my Apple provisioning profiles

I have an Apple Developer Individual account and I already use Visual Studio some time to debug my iOS application on my iPad. Now I wanted to download my Apple Distribution provisioning profile in Visual Studio but nothing is displayed: I have the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
asked 2024-12-19T11:23:02.5733333+00:00
Kim Strasser 1,141 Reputation points
commented 2024-12-24T03:05:14.5866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,591 Reputation points Microsoft Vendor
1 answer

How can I create and upload an iOS-Build from Visual Studio to App Store TestFlight?

I had already created an application on App Store Connect some time ago and I had uploaded an iOS-Build in TestFlight. The iOS-Build expired and I want to upload a new iOS-Build. I had created my first iOS-Build on a macOS device. I switched from macOS…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,760 questions
asked 2024-12-18T13:12:18.1566667+00:00
Kim Strasser 1,141 Reputation points
commented 2024-12-24T03:03:21.5866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,591 Reputation points Microsoft Vendor