23,873 questions with .NET-related tags

Sort by: Updated
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,294 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,294 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,605 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,294 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,605 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
1 answer

Xamarin Forms: Portable: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE when creating a PendingIntent

I am facing below issue when I updated the target platform of the Android to 34. Java.Lang.IllegalArgumentException: 'com.companyname.appname: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2024-04-19T04:31:05.6933333+00:00
Sreejith Sreenivasan 691 Reputation points
edited a comment 2024-04-24T01:41:00.4466667+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 GoBackAsync does not return to last page.

I have a tabbed main page that I can select other pages from. one page has code to select a row and navigate from that content page to another content page to edit the selected row. Checklist page var navService =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 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,605 questions
asked 2024-04-20T18:15:44.7833333+00:00
tim 80 Reputation points
edited an answer 2024-04-24T01:39:58.8833333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
1 answer

Request to Transfer Azure Certification to Another Account

Dear Microsoft Support Team, I hope this email finds you well. I recently earned an Azure certification that is currently associated with my old Microsoft account. I would like to transfer this certification to my new Microsoft account for easier…

.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
92 questions
asked 2024-04-24T01:03:11.8+00:00
Naveedullah Hamnawa 0 Reputation points
answered 2024-04-24T01:29:15.6333333+00:00
S.Sengupta 15,111 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Empty space between elements .NET MAUI

The entire page is a grid. I'm trying to position a child grid on top of the parent grid. This works on Android. On Apple up to iPhone 14 too. On iPhones 14 and 15, the space between the parent and child grids is displayed. <?xml…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,866 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,239 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-19T07:41:18.8766667+00:00
Влад Тигинян 40 Reputation points
commented 2024-04-24T00:59:01.8733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
1 answer

There is .pfx file on azure keyvault, I try to convert it into a byte array(Convert.FromBase64String), I am getting format exception

There is .pfx file on azure key vault, I try to convert it into a byte array(Convert.FromBase64String), I am getting below format exception PFX file containt Primary key and Certificate {"The input is not a valid Base-64 string as it contains a…

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,115 questions
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-23T07:47:43.3066667+00:00
Rupesh Surve 0 Reputation points
edited an answer 2024-04-23T22:29:50.98+00:00
Bruce (SqlWork.com) 55,686 Reputation points
2 answers One of the answers was accepted by the question author.

Loading module from “.../_framework/dotnet.js” was blocked because of a disallowed MIME type (“text/html”)

** Update: I've pinpointed the issue to the Visual Studio publishing wizard failing to push all files, regardless of my efforts. Subsequently, I established a new Azure Web App under a fresh subscription, which resolved the issue. Thus, the publish…

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,386 questions
asked 2024-04-23T01:56:10.4266667+00:00
Michael Washington 911 Reputation points MVP
edited the question 2024-04-23T21:31:25.04+00:00
Michael Washington 911 Reputation points MVP
5 answers

Apple Developer Account: Individual - error 'There was an error while trying to log in: Provide a properly configured and signed bearer token, and make sure that it has not expired learn more about generating tokens for API requests'

I have an issue when trying to sign in with my apple developer account on visual studio 2022 (v17.4.1). Firstly, I when trying to sign in as an 'individual account' I get this error ‘there was an error while loading your certificates: The Apple Developer…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 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,605 questions
asked 2022-11-22T08:48:18.217+00:00
Brian Kekana 26 Reputation points
commented 2024-04-23T20:56:45.47+00:00
John Scally 0 Reputation points
1 answer

Should I install an older version of Visual Studio to work on an old ASP.NET app?

I prefer to use Visual Studio 2022, because I've been working with newer, .NET projects. However, I may be assigned to do some maintenance on an older, .NET Framework ASP.NET WebForms application. I've been familiarizing myself with the app this morning…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,253 questions
asked 2024-04-18T17:00:47.3866667+00:00
Falanga, Rod, DOH 60 Reputation points
commented 2024-04-23T20:50:00.99+00:00
Falanga, Rod, DOH 60 Reputation points
2 answers One of the answers was accepted by the question author.

How to get the spinner picker view in MAUI

I am trying to get the picker with the spinner view on Android in MAUI. Before, in Xamarin.Forms, I used to be able to have a custom renderer with the redererer derived from Xamarin.Forms.Platform.Android (not the default one which is from…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,866 questions
asked 2024-01-19T18:42:06.67+00:00
Dorian Olarescu 20 Reputation points
commented 2024-04-23T16:33:53.11+00:00
Jim Bruister 0 Reputation points
3 answers

Error Installing Application on Another Computer: Invalid Connection String

Good evening dear community, I am bringing up my problem again since I have not been able to find a solution. To the point: I created a small application with a single Windows Forms form. It has its own connection string to the database and an example…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 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.
12,705 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,239 questions
asked 2024-02-25T00:40:15.0533333+00:00
Roberto Carlos Melgar Dorado 40 Reputation points
answered 2024-04-23T16:08:38.42+00:00
Roberto Carlos Melgar Dorado 40 Reputation points
1 answer

Load testing for signalR core

Good Day, I was trying to perform load testing for an auction mobile application , we use signalR core and agora as a server , However Crank and tresi are deprecated long time ago (as per my understanding) and it is quite challenging for me to simulate…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,158 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,253 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
328 questions
asked 2021-09-20T21:25:19.077+00:00
Meray Wafik 1 Reputation point
commented 2024-04-23T14:08:53.4533333+00:00
Hossein Esmaeili 0 Reputation points
3 answers

failed with HTTP status code 'Unauthorized'.

Hi, Why I suddenly started getting this error: /Users/jassim/Projects/OneID/One ID API/Controllers/Account.cs(116,9,116,15): warning CS0162: Unreachable code…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,875 questions
asked 2023-05-14T19:52:08.6466667+00:00
Jassim Al Rahma 1,521 Reputation points
answered 2024-04-23T11:14:22.2566667+00:00
moo2u2 41 Reputation points
0 answers

Value cannot be null. Parameter name: existingConnection

Hi, I am quite new to Visual Studio development and I am working on a hobby project using WPF application with C#. I currently exploring User Control in WPF application. So, I have a project named "wpfLearnMainWin" say parent project (that has…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 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,671 questions
asked 2024-04-19T13:16:45.13+00:00
Lakshman Balasubramanian 21 Reputation points
commented 2024-04-23T09:53:45.87+00:00
Hui Liu-MSFT 38,251 Reputation points Microsoft Vendor
0 answers

Exception thrown: 'System.Data.SqlServerCe.SqlCeException' in System.Data.SqlServerCe.dll

Hello All, I facing an issue with the following error. When I build the project it successfully builds but then when I execute it I am not getting the output window. When checked, I noticed that I am facing an issue when I run. The following exceptions…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 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,605 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.
12,705 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,239 questions
asked 2024-04-23T07:50:48.68+00:00
Lakshman Balasubramanian 21 Reputation points
commented 2024-04-23T09:19:29.0766667+00:00
Jiale Xue - MSFT 31,821 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Access and read all SMS on Android phone with .NET MAUI

For an application that, as a part of its functionality, can read all stored SMS on an android phone, can you give general directions what to read exactly to learn and implement it in a .NET MAUI project? I'm a beginner. I've only worked with MVC, WPF…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,866 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,239 questions
asked 2023-11-21T03:48:09.5466667+00:00
MSCollege3000 120 Reputation points
commented 2024-04-23T07:46:25.7333333+00:00
AG 491 Reputation points
1 answer

How to open Ana left in MAUI - iOS application

Hello Team,    I want the user to force update the application.  So, Based on the below logic, I'm opening an alert with an update option in it. When I click on the update. It is navigating to the Appstore. But when I click on the backbutton on the top…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,866 questions
asked 2024-04-22T13:15:48.8866667+00:00
Vaibhav Methuku 60 Reputation points
answered 2024-04-23T06:38:11.72+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,221 Reputation points Microsoft Vendor
1 answer

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,866 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,376 Reputation points
commented 2024-04-23T06:29:49+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor