24,634 questions with .NET-related tags

Sort by: Updated
0 answers

Maui MediaPicker.Default.CapturePhotoAsync fails under iOS with no error message

Hi, When I try to capture an image on a physical Apple device using MediaPicker.Default.CapturePhotoAsync() the calling function stops functioning with no error message and returns a null. My project is running the following…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,088 questions
asked 2024-06-21T16:14:29.3566667+00:00
Grant Schaffer 25 Reputation points
commented 2024-06-24T14:37:31.0333333+00:00
Grant Schaffer 25 Reputation points
2 answers

validate antiforgery token genereted by aps.net mvc framework and used in back for front (BFF) api .net core when ajax called

Hi, there, I would like to validate an "antiforgery token" generated on an asp.net mvc framework application hosted on IIS in a BFF .net core API (back for front) hosted on Kestrel Linux with the ValidateAntiForgeryToken attribute. When I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,309 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,386 questions
asked 2024-06-21T11:44:44.45+00:00
Pierre Guillaume 0 Reputation points
commented 2024-06-24T14:24:46.3633333+00:00
Pierre Guillaume 0 Reputation points
0 answers

Issue with an earlier well functioning AppService

Hello Team, I would like to ask your help in a technical issue. I am creating an AI chatbot flaskbased application , where using mostly open source libraries. For semantic search and ranking I am using FlashRank library…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,309 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,386 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,219 questions
asked 2024-06-21T09:00:34.67+00:00
Viktor Banai 0 Reputation points
commented 2024-06-24T14:13:52.52+00:00
Viktor Banai 0 Reputation points
2 answers

SQL Mail Account Name not displaying properly while sending mail from ASP.NET Application

I am developing ASP.NET web application. In that, i am sending mail to end user from my SQL Mail profile. i have the below mail profile and account name and mail id. SQL Mail Account Name : IND GROUP MAIL E-mail ID : indteamsupport@jeevesteam.com We are…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,386 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,528 questions
asked 2024-06-23T15:57:21.8333333+00:00
Gani_tpt 2,106 Reputation points
commented 2024-06-24T13:02:34.12+00:00
Gani_tpt 2,106 Reputation points
4 answers

how to solve the error "Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - La chaîne de certificats a été"

Hi I try to connect my asp.net core api to a sql server database I encounter an error like: "Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,309 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.
13,128 questions
asked 2023-05-23T09:49:55.54+00:00
Marnelle M'BENGUET 20 Reputation points
commented 2024-06-24T13:01:16.12+00:00
Basel Abdul Fattah 0 Reputation points
1 answer

Getting "Value does not fall within the expected range." on a call to EventWaitHandle.WaitAll(WaitHandle[], Int32)

In my code I make a call (from an MTA thread) to EventWaitHandle.WaitAll(WaitHandle[], Int32) and get the exception: "Value does not fall within the expected range." All the handles in the array (three of them at this time) are non-null, valid…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 questions
asked 2024-06-22T00:29:01.43+00:00
Kamen 45 Reputation points
answered 2024-06-24T12:49:00.6+00:00
Jiale Xue - MSFT 41,736 Reputation points Microsoft Vendor
1 answer

How to inherit form in .net design time (there is no inheritance picker)?

How can I correctly inherit from some template form at design time in VS, on .net? In .net framework there was Inheritance Picker but I do not find it in .net 8.0. When I create simple inheritance from another form, like this: public partial class…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,866 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 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,528 questions
asked 2024-06-23T12:50:32.3366667+00:00
Slobodan Krejaković 36 Reputation points
edited a comment 2024-06-24T12:46:53.0533333+00:00
KOZ6.0 6,295 Reputation points
2 answers

Cancellation Token signal not being received by the application code

looks like there is a limitation as it can be read here https://github.com/dotnet/aspnetcore/issues/20229#issuecomment-623289191 https://learn.microsoft.com/en-us/answers/questions/391343/cancellationtoken-in-controller-endpoint-hosted-in but is there…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,309 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,386 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,528 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.
312 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,219 questions
asked 2024-06-20T19:01:11.7333333+00:00
Michel Fornaris 0 Reputation points
commented 2024-06-24T12:09:33.89+00:00
ajkuma 23,911 Reputation points Microsoft Employee
1 answer

Scripts inside local html is not working with webview Eval in UWP Xamarin forms

Tried to update the html elements using script with webview Eval, its working fine in android and iOS but it is not working with UWP Xamarin forms. 1.webview.Eval to update the script : Script inside local html :

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,316 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
914 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,528 questions
asked 2024-06-13T05:22:24.0766667+00:00
Keerthana Sathiyanathan 0 Reputation points
edited an answer 2024-06-24T12:04:56.23+00:00
Ziya 0 Reputation points
1 answer

publish app in mac

Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,088 questions
asked 2024-05-29T07:47:18.4366667+00:00
Dani_S 3,126 Reputation points
commented 2024-06-24T11:37:12.86+00:00
Dani_S 3,126 Reputation points
1 answer

Is it possible to play videos on Android with a native video player?

In one project the following code for Xamarin MediaManager works. But I have another project where I use the same code and there it is not working. The problem is that the video is not correctly displayed in full screen because there is a small free area…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,088 questions
asked 2024-06-22T10:01:05.73+00:00
Kim Strasser 751 Reputation points
edited a comment 2024-06-24T11:11:13.1066667+00:00
Kim Strasser 751 Reputation points
0 answers

Nunit in .net maui

We are trying to use Nunit/xunit in our project. Due to some dependencies with the other nuget packages, we are unable to run the test cases and giving errors. We are using Zebra.Printer.SDK- Version="3.0.3271" because of this we are unable to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,088 questions
asked 2024-06-24T11:05:29.27+00:00
Keerthana Krishna 60 Reputation points
0 answers

Regarding APP ICON

I have a icon which is square in shape, I want it to fit without showing background. In the below screenshot, My icon looks like webview app icon, I want it to show like maps app icon irrespective of icon outline. I have a square shaped outline in which…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,088 questions
asked 2024-06-21T04:52:31.8233333+00:00
Keerthana Krishna 60 Reputation points
commented 2024-06-24T10:49:25.8566667+00:00
Keerthana Krishna 60 Reputation points
0 answers

Build error "The type 'BaseVideoView' already contains a definition for 'PlayerStateChanged'" when integrating android library in .net maui application

I have an native android library for video player and added this library(.aar) to android binding library in .net maui 8.0 to integrate the library with .net maui. I have followed the steps in the link…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,088 questions
asked 2024-06-10T10:51:40.6233333+00:00
Suvarna KR 0 Reputation points
commented 2024-06-24T10:24:52.38+00:00
Suvarna KR 0 Reputation points
2 answers

ocelot gateway deployment in .net core

I have created microservice based architecture with Ocelot api gateway, it's working in local environment but i am facing issue in deployed on IIS window server. Application is not starting on iis

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,309 questions
asked 2024-06-24T09:53:25.1666667+00:00
Kelath, Deepak IDAP1X 0 Reputation points
answered 2024-06-24T10:23:38.8366667+00:00
梁友泽 0 Reputation points
2 answers

How Can I track the Last DPI which is sent by WM_DPICHANGED in WPF?

I want to scale my WPF application according to available screen DPI. I know there Per Monitor DPI aware available but that are completely different what I want to achieve. I want to disable scaling for my WPF application even if windows has some scale…

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,701 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,487 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,528 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,604 questions
asked 2024-06-23T21:10:17.6933333+00:00
MERUN KUMAR MAITY 531 Reputation points
edited an answer 2024-06-24T09:49:04.7466667+00:00
Hongrui Yu-MSFT 770 Reputation points Microsoft Vendor
0 answers

My app icon is not displayed correctly on iOS. But my app icons are in AppIcon.appiconset

I have added my app icons on my iMac to my iOS project in Assets.xcassets-->AppIcon.appiconset. After that I copied my iOS project to my Windows 11 laptop and then I paired Visual Studio with my iMac to debug the iOS project on my iPad. But the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,088 questions
asked 2024-06-23T11:51:42.26+00:00
Kim Strasser 751 Reputation points
commented 2024-06-24T09:40:21.24+00:00
Kim Strasser 751 Reputation points
0 answers

The background color of my LaunchScreen.storyboard is not displayed on my iPad

I have created a LaunchScreen.storyboard file on my iMac and I use this file in my iOS project in Visual Studio on Windows 11. But the problem is that the background color of my LaunchScreen.storyboard file is not displayed when I debug my iOS project on…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,792 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,088 questions
asked 2024-06-23T13:18:42.31+00:00
Kim Strasser 751 Reputation points
commented 2024-06-24T09:36:42.9566667+00:00
Liqun Shen (Shanghai Wicresoft Co Ltd) 160 Reputation points Microsoft Vendor
3 answers

Android Emulator 34 - " Could not start Emulator in HOST GPU Mode"

I downloaded the latest Visual Studio 2022 and I am following the steps to create an Android App. When starting the Emulator I get the Popup error: "Could not start Emulator in host GPU mode" "Please check if you can update your video…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,792 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,088 questions
asked 2024-06-22T15:50:12.65+00:00
PeterSmith-3108 0 Reputation points
edited an answer 2024-06-24T09:29:11.0033333+00:00
PeterSmith-3108 0 Reputation points
4 answers

Concern to API tool

Hi, Is there any existing API tool, to be embedded on an ASP page, to receive/send mails on the designated domain, with Email service?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,463 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.
312 questions
asked 2024-06-18T09:07:52.09+00:00
Peter_1985 2,586 Reputation points
commented 2024-06-24T09:00:23.02+00:00
Peter_1985 2,586 Reputation points