24,338 questions with .NET-related tags

Sort by: Updated
1 answer

System.IO.Ports only availble on windows, but im using windows - .NET6

So i'm trying to read arduino serial from c#, but it shows me the folowing exeption when i try to open the port: System.PlatformNotSupportedException: 'System.IO.Ports is currently only supported on Windows I am currently using windows 11. Also i tried…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,478 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,413 questions
asked 2024-03-17T16:58:29.7233333+00:00
Borda Ákos 5 Reputation points
answered 2024-05-31T10:00:38.2566667+00:00
Sam Bartle 0 Reputation points
1 answer

Running app on mac - menu corrupted

Hi, Please run the app from: https://github.com/dotnet/maui/issues/22719 the menu corrpted when switching between pages and when maximize the page. Thank in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-29T15:02:22.02+00:00
Dani_S 2,906 Reputation points
edited an answer 2024-05-31T09:44:25.1966667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,276 Reputation points Microsoft Vendor
1 answer

when export grid view have Arabic data to pdf format using JQUERY it downloaded but error open pdf failed ?

I work on asp.net app . I face issue when export grid view with data to pdf it downloaded but finally not open grid view have Arabic data when inspect browser to check error i can't found any error I work on asp.net app . I face issue when export grid…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,328 questions
asked 2024-05-24T22:35:24.7333333+00:00
Ahmed Salah 0 Reputation points
commented 2024-05-31T09:09:42.2066667+00:00
Lan Huang-MSFT 26,761 Reputation points Microsoft Vendor
1 answer

Looking for ASP.NET Generic Oracle Padding Vulnerability fix

Is there a way to fix the Generic Padding Oracle vulnerability on an ASP.NET website using MVC that targets .NET Framework 4.8? I've tried downloading the patch from 2010 through Windows Update, but it doesn't seem to be available. I also attempted the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,328 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,752 questions
asked 2024-05-23T21:35:36.81+00:00
Tim Davis 0 Reputation points
commented 2024-05-31T09:09:14.61+00:00
Lan Huang-MSFT 26,761 Reputation points Microsoft Vendor
1 answer

How can I send a request contains Json and pdf file using httpWebRequest ?

I have a service that I'm trying to consume on my code. The service in Postman is working fine, the request is Form-Data containing JSON and PDF file selected from the workspace, my issue here is how can I handle the request in my code, I had tried to…

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.
307 questions
asked 2024-05-22T21:52:02.4066667+00:00
Ghaida 0 Reputation points
commented 2024-05-31T09:08:20.6833333+00:00
Lan Huang-MSFT 26,761 Reputation points Microsoft Vendor
1 answer

How to remove row on client side by jQuery based on key auditor id and budget year?

I work on jQuery with asp.net . I face issue I can't remove row from grid view based on key AUD_RECID and P_BUDGET_YEAR . AUD_RECID with different P_BUDGET_YEAR so I need key will be both from AUD_RECID and P_BUDGET_YEAR SO I will have unique Value when…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,328 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-21T23:41:45.2266667+00:00
Ahmed Salah 0 Reputation points
commented 2024-05-31T09:07:33.4533333+00:00
Lan Huang-MSFT 26,761 Reputation points Microsoft Vendor
0 answers

How to symbolicate ios app Crash developed in .Net MAUI that we are getting from appstore connect

Hi Team, We have a app developed in .net MAUI for both android and ios. We are able to see Crashes in ios (Appstore connect) here is how we are able to see the crashes Step 1 :- open X-Code Step 2 :- click on window> Organizer Step 3 :-…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-31T06:46:41.61+00:00
GRANDHI SAI BABA 0 Reputation points
commented 2024-05-31T09:01:38.25+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,276 Reputation points Microsoft Vendor
1 answer

Why are these packages listed as warning?

I'm a basic VS user. At home I upgraded from 2019 to VS2022, then tried to open a solution I had backed up from the company's TFS. The developer showed it was working. Well, not for me. Ignore "Kinetik.Diagnostics" which is a module created in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,478 questions
asked 2022-04-09T01:53:18.427+00:00
Tom van Stiphout 1,701 Reputation points MVP
commented 2024-05-31T09:01:01.13+00:00
Dennis Jakobsen 0 Reputation points
1 answer One of the answers was accepted by the question author.

Position issue on TR TD lines

Hi, It is the same way to the following using TR TD to separate them and do not know why there is the different spacing (in the different color) below.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,328 questions
asked 2024-05-31T04:50:23.1466667+00:00
Peter_1985 2,586 Reputation points
accepted 2024-05-31T08:44:39.5633333+00:00
Peter_1985 2,586 Reputation points
2 answers

EF Core 3.1 - System.InvalidOperationException: 'The entity type 'Pntbec03' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'.'

Hello . I need to handle a EF Core Entity relating to a table , but without having EF managing all its columns , but just a subset of them. I have scaffolded the small database to which the table belongs into a DbContext , and I though I could create…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
705 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,478 questions
asked 2024-05-29T13:46:26.23+00:00
leo del ciello 66 Reputation points
commented 2024-05-31T08:41:09.6033333+00:00
Hongrui Yu-MSFT 420 Reputation points Microsoft Vendor
0 answers

.net maui grouping data binding not working, displays blank lines.

My listview does not bind correctly, I'm getting blank lines. ( I'm missing something in the code) (in debug) the for each loop show there is data in the Items object but it does not show up in the listview. Xaml <?xml version="1.0"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-30T12:51:24.5833333+00:00
tim 140 Reputation points
commented 2024-05-31T08:28:31.2033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,276 Reputation points Microsoft Vendor
0 answers

How to disable push refresh on IOS .net maui?

Hi I have a scroll view with horizontal orientation. Couple frames in view. In android work perfect. But on IOS if touch or push down the refresh start. How can I disable this refresh?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-31T04:08:45.5366667+00:00
Баходир Кадыров 0 Reputation points
edited a comment 2024-05-31T08:23:26.42+00:00
Баходир Кадыров 0 Reputation points
1 answer

How to play a web mp4 file with headers in MAUI?

I'm trying to player a web media with community's mediaelement,but there isnot any ways to set http headers. In Android, I can use the factory property in exoplayer,but in windows,I can't find any document about using winui's mediaplayer to player a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,478 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-16T06:52:52.46+00:00
尼龟 杰 150 Reputation points
commented 2024-05-31T08:13:11.4366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,186 Reputation points Microsoft Vendor
1 answer

How to bring app to the top of all other apps in .Net MAUI mac catalyst

I want to bring the application to the top of all other apps, but i have tried all the below codes, but none of them working as expected. code snippet UIWindow window = UIApplication.SharedApplication.Windows[0]; if (window != null) { …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,478 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-13T10:22:22.3533333+00:00
Kiran Mohanty 0 Reputation points
commented 2024-05-31T08:12:17.89+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,186 Reputation points Microsoft Vendor
1 answer

Burn media in MAC

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. Is there burn media in apple ? How do i work with it ? C# ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-14T03:24:40.07+00:00
Dani_S 2,906 Reputation points
commented 2024-05-31T08:11:52.47+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,186 Reputation points Microsoft Vendor
1 answer

The type Prism not found in MAUI (prism.form dll not found in MAUI)

public partial class App { private static readonly string StartPage = DebugAppConfig.StartupPage; public App(IPlatformInitializer initializer = null) : base(initializer) { } private Maybe<Uri> LaunchUri { get; set; } =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-01T15:07:58.3333333+00:00
Debasis Patra 0 Reputation points
commented 2024-05-31T08:02:16.62+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,186 Reputation points Microsoft Vendor
1 answer

building simple MAUI app causes an error

Type "Shell" was not found. Verify .... It is literrally the first line in AppShell.xaml. I have just created a new application and not edited any pages. The defult pages should be correct and buildable in sample app.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-06T22:11:05.73+00:00
Tariq Roshan 0 Reputation points
commented 2024-05-31T08:01:41.8966667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,186 Reputation points Microsoft Vendor
1 answer

Carousel not changing items in real-time, blank slide, grey bar at the bottom on iOS

I am binding an ObservableCollection to a Carousel view and displaying images and text. What I am noticing is that if I change the contents of the ObservableCollection, the Carousel doesn't reflect the change in realtime. I have to swipe through a few…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-29T19:06:17.7066667+00:00
Reza Mohamed 1 Reputation point
commented 2024-05-31T07:53:42.4266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,276 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

In ScrollView, first entry is becoming focus. i need to stop it.

<ScrollView Grid.Column="1" x:Name="myScrollView" WidthRequest="500" > <Border StrokeThickness="2"> <StackLayout> <Entry x:Name="MainEntry"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,009 questions
asked 2024-05-30T18:40:37.5966667+00:00
Sowndarrajan Vijayaragavan 350 Reputation points
accepted 2024-05-31T07:44:15.7633333+00:00
Sowndarrajan Vijayaragavan 350 Reputation points
1 answer

Bluetooth LE - BluetoothLEDevice.FromBluetoothAddressAsync returns null after UnpairAsync() is called until the peripheral is power cycled or the RPA rolls over

Greetings Here are the reproduction steps for this bug. I have an Ellisys trace and logs gathered using WPR that I don't want to post publicly, but can share with someone from MS. Pair a Bluetooth LE peripheral with windows. Observe that a new…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,852 questions
Universal Windows Platform (UWP)
.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,133 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,480 questions
asked 2024-05-23T02:26:12.08+00:00
EricP-8687 60 Reputation points
answered 2024-05-31T07:23:46.36+00:00
Junjie Zhu - MSFT 15,911 Reputation points Microsoft Vendor