23,859 questions with .NET-related tags

Sort by: Updated
1 answer

How to restore direct dependencies packages only by 'restore --packages' command

I want to restore a .NET project's packages by command line dotnet restore --package. The behavior like this in dotnet restore doc: Package Restore first installs the direct dependencies of a project as needed, then installs any dependencies of those…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,157 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.
10,234 questions
asked 2024-04-24T03:50:34.2266667+00:00
Charlie Xie 0 Reputation points
answered 2024-04-24T08:26:42.83+00:00
Robert J. Foley 0 Reputation points
0 answers

How to include in my App on Android text files

Hi to All. I've done a App for Android. This App uses particular files in old format MSDOS. First: how can include with the app on the tablet this files? (i.e. in the same directoy of the App).Second: the code page of MSDOS is quite different with…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2024-04-24T08:20:46.5966667+00:00
Paolo Mossa 161 Reputation points
0 answers

Is it normal that the publishing of my NET MAUI app on iOS never ends?

Hello everyone, I am actually trying to do an ad-hoc deploy on iOS, of my .NET MAUI app. But for some reason it don't work. I've followed every step from there…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-23T11:41:03.2766667+00:00
Cyril Auquier 0 Reputation points
commented 2024-04-24T08:08:13.81+00:00
Cyril Auquier 0 Reputation points
1 answer

Read SMS Messages on Android phone with .NET MAUI

Hi, Following .NET MAUI code from this link https://learn.microsoft.com/en-us/answers/questions/1432733/access-and-read-all-sms-on-android-phone-with-net?page=1&orderby=Helpful&comment=answer-1367159#newest-answer-comment I am unable to run the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-24T07:49:29.1866667+00:00
AG 491 Reputation points
answered 2024-04-24T08:05:01.61+00:00
AG 491 Reputation points
0 answers

How to disable/Remove the hamburger menu icon in Maui - .Net 8

I had added flyout in my maui project (not shell). By default I can able to see the hamburger menu icon in Window. I want to remove that icon. and want add a custom icon. Thanks, Vaibhav Methuku. <?xml version="1.0"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-19T05:22:22.3566667+00:00
Vaibhav Methuku 60 Reputation points
edited the question 2024-04-24T07:56:58.8566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,221 Reputation points Microsoft Vendor
1 answer

MAUI apps with .NET 8 don't work on android

I'm trying to execute on android the demo app created by visual studio when you create a new MAUI .NET 8 project but I encountered different problems in debug and release mode. Visual Studio version : 17.9.5 When I try to run the app in debug it crashes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-03-28T16:36:19.4466667+00:00
paro_ricc 0 Reputation points
commented 2024-04-24T07:37:55.7666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
0 answers

MAUI CommunityToolkit MediaElement a grey screen is showing in non full screen mode.

In my MAUI application, the CommunityToolkit MediaElement a grey screen is showing when the video is playing in non full screen mode. In full screen mode the video is playing correctly. I have changed the source video but the issue is still appearing.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-22T07:35:56.4533333+00:00
Kannan P S 0 Reputation points
commented 2024-04-24T06:55:14.3933333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
1 answer

how to fix an ERROR 500 on SSRS 2019 Enterprise edition

The Microsoft Web SSRS portal have Error 500 time to time.  sometimes we have the following error: The report execution 1kowwtmibuga4m45d4wt55ai has expired or cannot be found. (rsExecutionNotFound). The SSRS is installed on Windows server 2022…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,453 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,252 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,798 questions
asked 2024-04-23T18:40:14.1566667+00:00
Valderrama Casas, Jaime 0 Reputation points
commented 2024-04-24T06:12:11.8933333+00:00
ZoeHui-MSFT 32,586 Reputation points
0 answers

Use API web app for DefaultAzureCredential

I created a key vault using .net and have added access policies which allows access for the api web application to create keys, secrets, and certificates. The goal would be able to create keys, secrets, and certificates through .net c# code. I tried…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,112 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
asked 2024-04-24T05:49:31.9833333+00:00
Bryan Apilada 0 Reputation points
edited the question 2024-04-24T05:50:50.7766667+00:00
Bryan Apilada 0 Reputation points
0 answers

Support of Azure Notification Hubs’ Firebase Cloud Messaging legacy API will be retired by 1 July 2024

I am using ASP.NET Core Web API to send push notifications to Android and iOS devices using the method given below. I am not using any API endpoint directly. Should I change anything in this? string jsonPayLoad = string.Empty; …

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
262 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,157 questions
asked 2024-04-24T05:33:45.3866667+00:00
Vijay Pratap Singh 21 Reputation points
edited the question 2024-04-24T05:39:27.9633333+00:00
Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
0 answers

How to fix vite error in Angular ASP.NET project?

I have started my Angular ASP.NET project and ended up with the following error, just want to find out how to fix it: Thank you!

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,252 questions
asked 2024-04-24T03:07:40.3233333+00:00
Yardley Estiverne 0 Reputation points
edited the question 2024-04-24T05:16:05.34+00:00
Jiale Xue - MSFT 31,516 Reputation points Microsoft Vendor
1 answer

Hotfix for Microsoft .NET Framework 4.0

Hello! I need this file please   Hotfix for Microsoft .NET Framework 4.0 (KB2390372).

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
2 questions
asked 2024-04-19T15:48:15.7033333+00:00
Mohamed Khalifa 0 Reputation points
edited the question 2024-04-24T04:23:03.4633333+00:00
Pradeep M 165 Reputation points Microsoft Vendor
1 answer

How to fix DbContextOptions resolving properly from services to apply EF migration to create database?

I'm trying to run a migration to create my initial database from code, but i'm having difficulties with proper registration of DbContextOptions. My program.cs contains the service registration: var builder = WebApplication.CreateBuilder(args); // Add…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
asked 2024-04-05T22:58:14.0533333+00:00
Vatai Domonkos 10 Reputation points
commented 2024-04-24T03:22:33.8766667+00:00
Jack J Jun 24,286 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to add a check box to the list of items in Picker?

I need to add a check box for the picker list items. Please guide me to the solution.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-23T10:33:18.3833333+00:00
Sowndarrajan Vijayaragavan 330 Reputation points
accepted 2024-04-24T03:18:08.9166667+00:00
Sowndarrajan Vijayaragavan 330 Reputation points
1 answer

Virtual path maps to another application

First, I'm not sure if I am in the correct Forum please direct to proper forum if it is wrong. I'm am getting the following error when I run my VS2019 WCF app. (Note it was originally written in VS2019) [ArgumentException: The virtual path…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,157 questions
asked 2024-04-23T19:34:00.3866667+00:00
Mobile Application Developer (MAD) 20 Reputation points
commented 2024-04-24T02:28:43.0933333+00:00
AeinBagheri-8958 0 Reputation points
1 answer

how to check user data

Hello In asp.net textbox if user enter something like this with special charater i need to show alert check data For example APPLE /45 it has auto correct like this APPLE /45 MFLOW +/ CURRENT it has to auto corrrect like this MFLOW / CURRENT HELLO…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,252 questions
asked 2024-04-16T12:33:55.6866667+00:00
RAVI 896 Reputation points
commented 2024-04-24T02:26:50.27+00:00
Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
1 answer

How to change the titlebar menu style to Windows 11 style

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,670 questions
asked 2024-04-02T06:48:56.2833333+00:00
quan zhao 20 Reputation points
commented 2024-04-24T02:10:41.48+00:00
Hui Liu-MSFT 38,191 Reputation points Microsoft Vendor
0 answers

Reading and Writing Files on Android 13

I want to read and write files in internal storage on android 13, but I get an error. What is the best way to deal with this?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
asked 2024-03-29T00:45:08.4566667+00:00
木幡 弘文 1 Reputation point
edited a comment 2024-04-24T01:43:40.1766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Xamarin Forms I can not get SelectedItem to run the edit Code

I've tried everything I could find to get a selected row to run an edit code. tried TapGestureRecognizer, Buttons , Selecteditem but nothing happens and the only thing that happens is the background color on the row changes when using…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,600 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
762 questions
asked 2024-04-07T14:36:19.0533333+00:00
tim 80 Reputation points
edited an answer 2024-04-24T01:43:10.9033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Xamarin navigate to page throws "Object reference not set to an instance of an object."

I'm trying to navigate and pass data to an edit page when I select a row. I select a row in the checklistpage and what to pass that rows data to the treeinfopage. (has two points of entry 1 from menu and 1 from ChecklistPage) the page structures are as…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,600 questions
asked 2024-04-10T23:23:39.3666667+00:00
tim 80 Reputation points
edited an answer 2024-04-24T01:41:42.12+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor