26,583 questions with .NET-related tags

Sort by: Updated
0 answers

In MAUI it will re-open my APP when I quit and open another app

in MAUI Platform IOS: I open my app and open Page1 and then tab the screen to open another APP and then quit that APP then return to my APP the Page1 is disappeared and it is the home page. does it closed and re-open? how to keep the Page1(or other…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
asked Jan 9, 2025, 10:00 AM
mc 5,041 Reputation points
0 answers

NET MAUI Splash Screen Not Displaying logo.png on Android 14 and 15

I am developing a .NET MAUI application and facing an issue with the splash screen when installing the app on physical devices running Android 14 and 15. The splash screen only displays the purple background, but the logo.png image (with a white…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
asked Jan 8, 2025, 10:00 AM
Omkar Pawar 40 Reputation points
edited the question Jan 9, 2025, 9:43 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,201 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to add contextMenu for toolWindow in vspackage

I want to add contextMenu in toolWindow ,but it's not mentioned in visual studio SDK.Can I add it in commandTable?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 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,177 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
238 questions
asked Nov 27, 2023, 6:25 AM
毅磊 朱 21 Reputation points
accepted Jan 9, 2025, 8:31 AM
毅磊 朱 21 Reputation points
3 answers

The Webview does not display PDF

iOS is displaying pdf but android WebView does nothing. I want to open a pdf from a web resource on WebView. But the WebView does not render the pdf. On the other hand the webpages are displayed on WebView without any problem.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
asked Dec 16, 2024, 1:31 PM
Umakant Sharma 0 Reputation points
edited an answer Jan 9, 2025, 7:21 AM
Umakant Sharma 0 Reputation points
0 answers

Unable to display alert after modal popup

I have an issue I am unable to solve. In this code: var popupPage = new myPopup(); var taskCompletionSource = new TaskCompletionSource<bool>(); // Set up an event to resolve the task when the modal is dismissed popupPage.Disappearing += (s, args)…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 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,177 questions
asked Jan 8, 2025, 5:19 PM
Phunction 261 Reputation points
edited a comment Jan 9, 2025, 6:52 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,071 Reputation points Microsoft Vendor
1 answer

firebase analytics integration issue in .net maui project for android

Xamarin.Firebase.Analytics - installed successfuly Xamarin.Firebase.iOS.Analytics - installed successfully i am trying to integrate firebase analytics in .net maui project but getting some unknown error on android. Added google-services.json to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
asked Jan 6, 2025, 8:23 AM
Ashish Gupta 0 Reputation points
commented Jan 9, 2025, 6:36 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,201 Reputation points Microsoft Vendor
0 answers

Issues with Rotating ProgressBar for Vertical Orientation In WinUI App

Hi, I am working on a custom StepBar control, and the Horizontal orientation is functioning as expected. However, I am encountering issues when implementing the Vertical orientation. Since the ProgressBar control does not have an Orientation property,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
807 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,177 questions
asked Jan 8, 2025, 2:04 PM
Mahdi Hosseini 155 Reputation points
commented Jan 9, 2025, 6:09 AM
Jeanine Zhang-MSFT 10,356 Reputation points Microsoft Vendor
0 answers

Maui app in mac using VS Code stop working

Hi, Maui app in mac using VS Code stop working. I got this error. Using .Net 8.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
asked Jan 5, 2025, 8:46 AM
Dani_S 3,911 Reputation points
commented Jan 9, 2025, 5:29 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,071 Reputation points Microsoft Vendor
1 answer

Implementing mTLS Between Two Apps Using ASP.NET

Guidance is requested on implementing mTLS between two applications using ASP.NET MVC in C#. or any .net code. The setup will involve a handshake between the server app and client app, developed in a localhost environment, utilizing OpenSSL or another…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
360 questions
asked Jan 7, 2025, 1:20 PM
Abdul Baba Syed 21 Reputation points
commented Jan 9, 2025, 5:19 AM
Abdul Baba Syed 21 Reputation points
1 answer One of the answers was accepted by the question author.

I am migrating application from dot net 4.8 to dot net core 8. facing error Project ..\folder\folder.csproj targets net8.0. It cannot be referenced by a project that targets .NETFramework,Version=v4.8.

I am migrating application from dot net 4.8 to dot net core 8. facing error Project ..\folder\folder.csproj targets net8.0. It cannot be referenced by a project that targets .NETFramework,Version=v4.8. Project ..\folder1\folder1.csproj targets…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
.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,185 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
360 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
.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,185 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
360 questions
asked Jan 3, 2025, 11:53 AM
Sayali Mahale 20 Reputation points
edited the question Jan 9, 2025, 4:00 AM
TP 101.1K Reputation points
1 answer One of the answers was accepted by the question author.

I am migrating application from dot net 4.8 to dot net core 8. facing error Project ..\folder\folder.csproj targets net8.0. It cannot be referenced by a project that targets .NETFramework,Version=v4.8.

I am migrating application from dot net 4.8 to dot net core 8. facing error Project ..\folder\folder.csproj targets net8.0. It cannot be referenced by a project that targets .NETFramework,Version=v4.8. Project ..\folder1\folder1.csproj targets…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
.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,185 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
360 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
.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,185 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
360 questions
asked Jan 3, 2025, 11:53 AM
Sayali Mahale 20 Reputation points
edited the question Jan 9, 2025, 4:00 AM
TP 101.1K Reputation points
1 answer

how to update version in apk maui application automatically?

Hi, i'm using .net maui 8 for Android , and i publish my application in a remote server and when i update my application automatically by comparing version in update.json file. I can't update version in my app. how to do that?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 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,177 questions
asked Jan 7, 2025, 3:42 PM
Graja Kaouthar 0 Reputation points
edited an answer Jan 9, 2025, 3:14 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,586 Reputation points Microsoft Vendor
1 answer

Why can't my generic Blazor app read the LocalDb for Identity?

I wanted to see how a new Blazor Web app uses the LocalDb that is created when you create a new application that uses Individual Accounts during the project creation process. In my AppSettings.json file it created this connection…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 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,644 questions
asked Jan 4, 2025, 9:28 PM
Rod Falanga 566 Reputation points
commented Jan 9, 2025, 2:17 AM
Tiny Wang-MSFT 2,981 Reputation points Microsoft Vendor
1 answer

I have a question about Google Play’s app account deletion requirements

I found this on Google support: The User Data policy's Account Deletion Requirement means that: All developers must complete new Data deletion questions in the Data safety form on the App content page (Policy > App content) in Play Console. If your…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
asked Jan 5, 2025, 9:10 PM
Kim Strasser 1,201 Reputation points
commented Jan 9, 2025, 1:20 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,586 Reputation points Microsoft Vendor
1 answer

Error in log - Ariel.ttf/otf

Hi, I got this error in log all times, why ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
asked Dec 29, 2024, 2:14 PM
Dani_S 3,911 Reputation points
commented Jan 9, 2025, 1:15 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,586 Reputation points Microsoft Vendor
1 answer

Refresh the map

I need some help in refreshing the map, when the internet is back on Since the map doesn't have any refresh, I am using the pages stack to reload the page interface public interface IAppService { Task NavigateToPage(string pageName); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
asked Jan 6, 2025, 3:44 PM
Eduardo Gomez Romero 1,175 Reputation points
commented Jan 9, 2025, 1:04 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,586 Reputation points Microsoft Vendor
1 answer

increase the bindings performance

Hello happy new year to everyone I am trying to increase performance on my xaml Since I updated to .Net 9, I got this warning Binding was not compiled because it has an explicitly set Source property and compilation of bindings with Source is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
asked Jan 4, 2025, 2:38 PM
Eduardo Gomez Romero 1,175 Reputation points
commented Jan 9, 2025, 1:04 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,586 Reputation points Microsoft Vendor
2 answers

Validate file content type for txt, log, JSON file in C#

public static bool IsFileValid(IFormFile file) { using (var reader = new BinaryReader(file.OpenReadStream())) { var signatures = _fileSignatures.Values.SelectMany(x => x).ToList(); // flatten all signatures to single list var headerBytes =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,022 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,177 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,022 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,177 questions
asked Jan 8, 2025, 5:16 PM
Surajit Kumar Shah 0 Reputation points
commented Jan 9, 2025, 1:01 AM
SurferOnWww 3,696 Reputation points
2 answers

Validate file content type for txt, log, JSON file in C#

public static bool IsFileValid(IFormFile file) { using (var reader = new BinaryReader(file.OpenReadStream())) { var signatures = _fileSignatures.Values.SelectMany(x => x).ToList(); // flatten all signatures to single list var headerBytes =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,022 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,177 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,022 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,177 questions
asked Jan 8, 2025, 5:16 PM
Surajit Kumar Shah 0 Reputation points
commented Jan 9, 2025, 1:01 AM
SurferOnWww 3,696 Reputation points
3 answers One of the answers was accepted by the question author.

Not getting any results...

I'm trying to create a website using ASP.Net and a SQL server connection to retrieve data which is all of data type "nvarchar" and not null. My code is as follows: (Database connection here) using (SqlConnection connection =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
asked Jan 7, 2025, 9:20 PM
FRANK LUJAN 0 Reputation points
commented Jan 8, 2025, 11:28 PM
FRANK LUJAN 0 Reputation points