24,092 questions with .NET-related tags

Sort by: Updated
0 answers

I am getting System.InvalidProgramException error when upgraded the application from .NET 3.0 to .NET 8.0

I have upgraded Npgsql package from version 4.1.5 to version 8.0.2 that is required for .NET 8 upgradation but I am getting the following error after deployment of the service on the development environment and performing the health check for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,418 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,211 questions
.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,127 questions
asked 2024-05-13T07:12:21.36+00:00
Singh, Sheetal 0 Reputation points
1 answer

How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?

Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,211 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,405 questions
asked 2024-05-10T13:41:33.87+00:00
Matěj Rada 20 Reputation points
commented 2024-05-13T06:52:25.9066667+00:00
Rada Matěj 100 Reputation points
0 answers

how to read ObservableCollection to an array

I may be doing this the wrong way, I want to read all the Line in my listview to be able to add them to an array. xaml <ListView ItemsSource="{Binding MyItems}" IsGroupingEnabled="True" GroupShortNameBinding="{Binding…

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,681 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,647 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,312 questions
asked 2024-05-11T13:45:01.4433333+00:00
tim 120 Reputation points
edited a comment 2024-05-13T06:48:41.3066667+00:00
Hui Liu-MSFT 40,786 Reputation points Microsoft Vendor
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,290 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,312 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,586 Reputation points
commented 2024-05-13T06:45:45.0866667+00:00
Lan Huang-MSFT 25,956 Reputation points Microsoft Vendor
0 answers

Create MSI from EXE in MAUI

Hi, In cmd i create the exe of MAUI App. using this command: 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.
2,932 questions
asked 2024-05-12T09:34:27.1366667+00:00
Dani_S 2,746 Reputation points
commented 2024-05-13T06:41:14.61+00:00
Dani_S 2,746 Reputation points
2 answers One of the answers was accepted by the question author.

Unauthorized error when logging in with IdentityModel.OidcClient in MAUI

I am responsible for the development of a cross-platform application that must log in with OpenID. This application is developed in Xamarin.Forms, but I have to migrate it to MAUI. To log into the application I use the IdentityModel.OidcClient library.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,418 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,932 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,312 questions
asked 2024-05-09T07:10:13.6466667+00:00
Jalza 756 Reputation points
accepted 2024-05-13T06:33:51.83+00:00
Jalza 756 Reputation points
1 answer

[Asp.Net Core MVC] Is posssible to embed the wwwroot directory inside the dist binary?

I have an Asp Net Core MVC project with my assets in wwwroot. My intent is to have only the binary and the appsettings file so is easy to update the application in production without to lose some updated assets files. I used this options…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,211 questions
asked 2024-05-10T13:51:50.54+00:00
Storm Energy 0 Reputation points
edited the question 2024-05-13T06:30:17.6366667+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
0 answers

Dropdown gets closed while using mouse event args

Hi Everyone, This works fine when i hover over the button it shows and closes when it comes out of the dropdown however the dropdown still closes while mouse pointer is still in the dropdown. Could some share your ideas!! My need is to display the…

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,405 questions
asked 2024-05-13T06:24:56.8566667+00:00
Jagan 0 Reputation points
2 answers

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,211 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,405 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,312 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 0 Reputation points
answered 2024-05-13T06:23:41.8366667+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
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,932 questions
asked 2024-05-11T10:08:49.3533333+00:00
ALEXANDRUSTEFAN CRACEA 0 Reputation points
edited the question 2024-05-13T06:23:23.99+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,901 Reputation points Microsoft Vendor
0 answers

Updated VS and now have Maui but Hot Reload still does not work

Description is basically the title. Hot reload did not work with Xamarin and was hoping with Maui it would work but no. No error msg just no action. Used just changing XAML and not change and then saved file and again no change. Using Android…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,932 questions
asked 2022-08-17T13:43:46.31+00:00
Lloyd Sheen 1,386 Reputation points
commented 2024-05-13T06:20:22.83+00:00
Yashaswini D C 0 Reputation points
0 answers

web.config bindingRedirect not working

Hi, I have two projects. I have a MVC web application called MBSAnalysisMVCWebApp. I also have a .net framework MVC project called Mbsa. I found this link: …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,290 questions
asked 2024-05-11T22:47:30.2733333+00:00
iqworks Information Quality Works 236 Reputation points
commented 2024-05-13T06:20:00.6833333+00:00
Lan Huang-MSFT 25,956 Reputation points Microsoft Vendor
0 answers

Whenever I deploy my .NET MAUI application to my Android phone, it exits the code, producing an error "GetVersionTask" failed unexpectedly". What could be the solutions for this?

Whenever I deploy my application to my Android phone, it produces the error called ""GetVersionTask" failed unexpectedly." When I run it using Windows Machine, it runs completely normal. What could be the solution to this?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,647 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,932 questions
asked 2024-05-10T12:55:17.3633333+00:00
John Ivan D. Bachiller 0 Reputation points
commented 2024-05-13T06:18:38.56+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,901 Reputation points Microsoft Vendor
1 answer

How to send multipart/mime SOAP request from ASP.NET MVC controller

SOAP server requires multipart SOAP request with XML file like Content-type: multipart/related;boundary="MIME_boundary";type="text/xml"; start="<soapPart>" --MIME_boundary Content-Type:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,418 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,211 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,290 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,312 questions
asked 2024-03-23T07:08:08.8266667+00:00
Andrus 121 Reputation points
commented 2024-05-13T05:49:13.93+00:00
Andrus 121 Reputation points
3 answers

How do I install .NET on a Windows 11 machine

How do I install .NET on a Windows 11 machine?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,418 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,295 questions
asked 2024-05-08T21:59:29.1766667+00:00
Marsha Harner (Applause App Quality LLC) 0 Reputation points Microsoft Vendor
commented 2024-05-13T04:45:17.3466667+00:00
Ian Xue (Shanghai Wicresoft Co., Ltd.) 30,386 Reputation points Microsoft Vendor
0 answers

I tried debugging .NET application but getting SSL CERT warning. How do I fix it?

I tried debugging .NET application in MS VS 2022, but getting SSL CERT warning. Should I install the certificate? Is it mandatory?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,418 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
947 questions
asked 2024-05-10T14:53:45.1666667+00:00
Rishitha 0 Reputation points
commented 2024-05-13T04:24:05.11+00:00
Anna Xiu-MSFT 26,151 Reputation points Microsoft Vendor
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,211 questions
asked 2024-05-11T06:02:54.0166667+00:00
Monica Suriyaarachchi 0 Reputation points
commented 2024-05-13T04:22:49.2+00:00
Tiny Wang-MSFT 1,576 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Shadow Offset issues in .Net Maui

Hello, I am following this official documentation:"https://learn.microsoft.com/en-us/dotnet/maui/user-interface/shadow?view=net-maui-8.0" and it is working fine. But, I am facing one issues, when I try to set y-offset value to negative…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,932 questions
asked 2024-05-07T11:34:24.3033333+00:00
Haider Ali Faizi 100 Reputation points
accepted 2024-05-13T04:22:47.67+00:00
Haider Ali Faizi 100 Reputation points
0 answers

how to create ios application in vs?

there is Android Application in VS. but no ios Application right? how to create ios? not MAUI just .net ios.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,932 questions
asked 2024-05-13T04:00:44.6866667+00:00
mc 3,701 Reputation points
1 answer

How to extract part of the text from the line with a special format

hi Bolded areas need to be extracted. I don't know how to use Regex library. my Format [One of the tags] is Sample '10LBA04CT004-XQ01' Start text with 150,000 lines and have different tags. thank { N 3-SH 3-sh 3-sh 3-SH N 10LBB09 EQUIPMENT =…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,840 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,647 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,582 questions
asked 2024-05-13T02:00:27.6033333+00:00
Mansour_Dalir 1,591 Reputation points
answered 2024-05-13T03:49:22.53+00:00
Jiachen Li-MSFT 26,751 Reputation points Microsoft Vendor