24,080 questions with .NET-related tags

Sort by: Updated
0 answers

Android Emulator waiting for debugger to attach in .net maui app

I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 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,309 questions
asked 2024-05-11T02:31:41.49+00:00
wire_jp 201 Reputation points
edited the question 2024-05-11T21:33:15.48+00:00
wire_jp 201 Reputation points
3 answers

Debugging the Painting code of a control - stepping through System.Drawing code?

I'm working on a custom control that has a fairly hard-to-diagnose bug in its Painting/Drawing code, which is using GDI+ System.Drawing tools. This is in a sub-method being called from an overridden OnPaintBackground method. It would be much easier if I…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,839 questions
asked 2024-05-11T18:18:22.0666667+00:00
gb 41 Reputation points
commented 2024-05-11T19:39:51.0066667+00:00
Viorel 112.7K Reputation points
9 answers

How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."

Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 45 Reputation points
edited a comment 2024-05-11T17:21:20.5066667+00:00
Francklin Amado 0 Reputation points
1 answer

SSRS Report Viewer windows forms - The request failed with an empty response

Dear all, we use the following component in our Windows Form (.net 4.7.2 application): Microsoft.ReportingServices.ReportViewerControl.Winforms 150.1620.0 Since we migrated our server on a new domain, we are getting sometimes the following execption in…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,839 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,813 questions
asked 2024-05-10T13:16:20.6633333+00:00
SERIOLI, MARCO (MSTI) 0 Reputation points
commented 2024-05-11T17:09:54.98+00:00
1 answer

Update Workload Problem/ NuGet Package unable to be installed.

**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 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,404 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,309 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 0 Reputation points
answered 2024-05-11T16:53:56.56+00:00
Bruce (SqlWork.com) 56,931 Reputation points
1 answer

How to display Image Data on .NET MAUI Blazor App

How to display Image Data on .NET MAUI Blazor App Here is the api that fetches Image data https://quizapijwt.azurewebsites.net/api/Questions Images are stored in imagedata bytea CREATE TABLE public."Questions" ( "SNo" int4 NOT NULL…

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,404 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 questions
asked 2024-05-11T14:40:39.1366667+00:00
Maui Learner 460 Reputation points
answered 2024-05-11T16:40:39.82+00:00
Bruce (SqlWork.com) 56,931 Reputation points
0 answers

Visual studio 2022 Maui missing android and windows dependencies

Hi, I'm working on the maui and pretty sure when creating a project I had all dependencies - android, ios, mac, & window. Today I just noticed only two dependecies. How can I get the other two (android & windows) back? Thanks, J

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,646 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 questions
asked 2024-05-11T16:36:10.93+00:00
Jay 0 Reputation points
1 answer One of the answers was accepted by the question author.

How To used stored location in database with location calculate distance method

I am working on MAUI to calculate distance between two locations. I have stored the first et of location in an sqlits database. Using Location calculate distance method, I got error Severity Code Description Project Path File Line Suppression…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 questions
asked 2024-05-09T13:07:16.15+00:00
Gbenga Banuso Odumosu 20 Reputation points
commented 2024-05-11T15:42:12.2366667+00:00
Gbenga Banuso Odumosu 20 Reputation points
0 answers

How to debug the MAUI app in the Android work profile.

Hello Team, I was working on one of the samples of Microsoft. - https://github.com/Azure-Samples/ms-identity-dotnetcore-maui/tree/main/MauiAppWithBroker which crashing when installed in the work profile. Tried to debug it using the visual studio. Is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
239 questions
asked 2023-07-17T08:48:44.5566667+00:00
Vikrant Singh 11 Reputation points Microsoft Employee
commented 2024-05-11T13:45:05.8933333+00:00
Willem Gijsbers 0 Reputation points
2 answers

A weired error about HTTP 500 !

I created a web user asp.net 8.0 mvc without ef. When I modify the stucture of oracle datebase table ,such as add a field ,then the web related to the table report a error about HTTP 500 . But after I restart the iis,it works well without doing anything…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2024-04-10T07:22:48.6266667+00:00
Alick Wang 266 Reputation points
edited a comment 2024-05-11T13:21:58.73+00:00
MotoX80 32,076 Reputation points
1 answer

Change height of the snackbar in dotnet MAUI Android

Hi, Does anyone know how can i change the height and the padding of the snackbar in dotnet maui Android? var snackbarOptions = new SnackbarOptions { BackgroundColor = Colors.LightGray, TextColor = Colors.Green, CornerRadius = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 questions
asked 2024-05-11T10:08:49.3533333+00:00
ALEXANDRUSTEFAN CRACEA 0 Reputation points
edited an answer 2024-05-11T11:18:07.31+00:00
sleka salkas 0 Reputation points
0 answers

CarouselView & IndicatorView issue in .Net MAUI?

<VerticalStackLayout HeightRequest="50" BackgroundColor="AliceBlue"> <CarouselView Loop="False" IndicatorView="indicatorView" VerticalScrollBarVisibility="Never"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 questions
asked 2024-05-11T10:35:56.85+00:00
Sowndarrajan Vijayaragavan 330 Reputation points
0 answers

How to sub section a long user entry form in MVC C#

I need to develop a long user entry form (Job application form). Which has many sub-sections like personal data, Exam Results, Work Experience, Membership etc...As all these cannot be displayed at once I want to show one section (personal data) first,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2024-05-11T06:02:54.0166667+00:00
Monica Suriyaarachchi 0 Reputation points
commented 2024-05-11T10:34:13.21+00:00
AgaveJoe 26,146 Reputation points
1 answer

How to update/save a file in a database in web application

i have a code error and i wish i can get it fix by your noble helps or interventions here is a code block that updates a new product on a product page in a web application this is the code behing the productController.cs file for the cshtml file…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2024-05-07T15:39:22.68+00:00
KwebenaAcquah-9104 306 Reputation points
edited a comment 2024-05-11T10:32:01.4633333+00:00
KwebenaAcquah-9104 306 Reputation points
0 answers

Touch Events in .NET MAUI

Hi I'm working on a piano keyboard app in .NET MAUI, and I'm encountering an issue with implementing a specific feature. I want users to be able to slide their finger across the keys, triggering a note for each key they pass over. However, I'm only…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 questions
asked 2024-05-10T01:53:53.1+00:00
Yusuf 691 Reputation points
commented 2024-05-11T10:24:38.2333333+00:00
Yusuf 691 Reputation points
1 answer

image not loading in modal popup imageurl in asp.net c#

i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,309 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,586 Reputation points
edited a comment 2024-05-11T09:28:34.49+00:00
Gani_tpt 1,586 Reputation points
0 answers

Google Play In-Apps are always refunded after 3 days in Xamarin.Android/.NET 8

I have built an app originally with Xamarin.Android that uses the NuGet/Lib, Plugin.InAppBilling. I recently migrated it to .NET 8, but I noticed that a couple of days after the users had paid, I lost the sales since they were auto-refunded. I read in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 questions
asked 2024-05-09T08:43:41.3633333+00:00
Federico Navarrete 616 Reputation points
edited the question 2024-05-11T07:53:31.97+00:00
Federico Navarrete 616 Reputation points
2 answers

running asp.net intranet application on localhost asking for authentication

I have an intranet application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,309 questions
asked 2024-05-06T23:53:29.4066667+00:00
Anjali Agarwal 1,386 Reputation points
commented 2024-05-11T00:35:46.4133333+00:00
Anjali Agarwal 1,386 Reputation points
2 answers

An old ASP.NET WebForms app won't build due to missing references and related

I maintain an old ASP.NET WebForms application, written using VB.NET so long ago that no one knows who started this application. The guy who maintained it, before I was given it, left before I joined. He didn't put anything in any source control, and he…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,646 questions
asked 2024-05-08T21:06:30.9666667+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-10T22:28:36.3666667+00:00
Albert Kallal 4,806 Reputation points
1 answer

HTTP Error 500.31 - Failed to load ASP.NET Core runtime

I created a.net core application in Visual Studio 2022. When I see the properties, I see this: I deployed the application on IIS and this is installed on the server: when I do dotnet --info, I see this: My networking person is telling me that older…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2024-03-26T21:01:06.98+00:00
Anjali Agarwal 1,386 Reputation points
answered 2024-05-10T22:11:19.7166667+00:00
Bouzid Kobchi 0 Reputation points