24,619 questions with .NET-related tags

Sort by: Updated
1 answer

Android App Won't Launch when installed from APK

I am experiencing issues when trying to use our signed Android MAUI application running after I install it from an APK onto emulator or physical device. It installs without issue, but when launched it freezes and crashes. Since our application is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,081 questions
asked 2024-05-02T13:47:13.35+00:00
Geoff Knoll 5 Reputation points
edited a comment 2024-06-22T20:44:55.2233333+00:00
Gianni Stekkinger 0 Reputation points
0 answers

vs 2022 güncellemesi sonrası Windows form Projelerim tasarım kısmı açılmıyor, çalıştırdığımda arayüzdeki buton vb.. hiç bir şey çalışmıyor

vs 2022 güncellemesi sonrası Windows form Projelerim tasarım kısmı açılmıyor, çalıştırdığımda arayüzdeki buton vb.. hiç bir şey çalışmıyor

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,545 questions
asked 2024-06-22T20:44:42.9466667+00:00
aykut yigit 0 Reputation points
2 answers

VS 2022 Not showing red squiggles under errors when i debug projects saved on network disk

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,545 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,524 questions
asked 2024-06-21T05:42:45.41+00:00
Willis1962 0 Reputation points
edited a comment 2024-06-22T19:24:20.93+00:00
Willis1962 0 Reputation points
1 answer

How to connect Access Database to a VB.Net project in VS 2022 using .Net 8.0?

Hi All, I am trying to use .Net 8.0 in Visual Studio 2022; I am unable to use Access Database; the usual way of adding "Data Sources" is not available ( I have been using .Net Framework 4.5 for my projects without any difficulties.) I used the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,545 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,636 questions
asked 2024-06-20T18:51:16.6666667+00:00
VKSB 216 Reputation points
commented 2024-06-22T18:45:58.83+00:00
VKSB 216 Reputation points
0 answers

.NET MAUI, Android emulator is not ready to be used

I have also tried cleaning project, but it did not workI have installed x64 android emulator with API 21 on AMD CPU to get higher performance when I try to start debugging on it, I get 'There were deployment errors' and in the output window: Waiting for…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,791 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,081 questions
asked 2024-06-22T18:32:18.0833333+00:00
Hossam Fares 0 Reputation points
edited the question 2024-06-22T18:37:05.71+00:00
Hossam Fares 0 Reputation points
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,081 questions
asked 2024-06-21T16:14:29.3566667+00:00
Grant Schaffer 25 Reputation points
commented 2024-06-22T18:17:17.56+00:00
Grant Schaffer 25 Reputation points
4 answers

Issue with View ActionResult on Button Click in MVC 5

The following code works fine and display student enrollment records on the page. Right before the table element, I have 3 buttons to filter out records based on the button that was clicked. In the controller, I added a function "IsEnrolled". …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
asked 2024-06-21T05:39:46.3533333+00:00
Hursh 131 Reputation points
edited an answer 2024-06-22T17:58:19.0866667+00:00
AgaveJoe 26,856 Reputation points
1 answer

Use SignalR service with my Blazor server app running on Azure App Service

Hi all; I've read in numerous places that adding a SignalR service to my Blazor app running on Azure App service, where the SignalR service connects to the remote client browser on one side and connects to my Blazor app on the other side should speed up…

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,460 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
128 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,209 questions
asked 2024-06-22T16:47:49.52+00:00
David Thielen 2,466 Reputation points
commented 2024-06-22T17:56:10.8033333+00:00
Lex Li (Microsoft) 5,072 Reputation points Microsoft Employee
0 answers

Maui .Net 8 iOS MediaPicker.CapturePhotoAsync issue returns null after user presses USE PHOTO on apple device

Hi, Maui .Net 8 iOS MediaPicker.CapturePhotoAsync returns null after user presses USE PHOTO on apple device. Works perfectly on Windows and Android. Please help. Thank you, Grant

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,081 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,524 questions
asked 2024-06-22T16:31:55.83+00:00
Grant Schaffer 25 Reputation points
0 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,791 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,081 questions
asked 2024-06-22T15:50:12.65+00:00
PeterSmith-3108 0 Reputation points
edited the question 2024-06-22T16:12:03.2366667+00:00
PeterSmith-3108 0 Reputation points
2 answers

How to close Bootstrap modal in Blazor WASM?

Hi, In my Blazor WASM (.net 6) application, I am displaying a modal popup as follows. <!-- Modal --> <div class="modal fade bg-transparent" id="templatemo_search" tabindex="-1" role="dialog"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 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,460 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,524 questions
asked 2024-06-21T19:34:00.18+00:00
Cenk 981 Reputation points
commented 2024-06-22T16:04:35.7533333+00:00
Bruce (SqlWork.com) 59,471 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,308 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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,524 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,209 questions
asked 2024-06-20T19:01:11.7333333+00:00
Michel Fornaris 0 Reputation points
commented 2024-06-22T15:56:34.3533333+00:00
Michel Fornaris 0 Reputation points
1 answer

How to create bootstrap Tab Menu in top of the heading on ASP.NET Home page

I have designed login page for my asp.net application. when user logging the application, in the home page, user want to see the settings of their menu's like below. On the top of the heading in right corner, user want to see the settings image. when…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 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,524 questions
asked 2024-06-22T12:51:39.3366667+00:00
Gani_tpt 2,106 Reputation points
answered 2024-06-22T15:49:21.0033333+00:00
AgaveJoe 26,856 Reputation points
1 answer

Filter Records in ASP.NET MVC

The following code searches students by students name and it works fine. I want to add 3 radio button (Enrolled, Not Enrolled, All Students) and filter records based on the radio button selection. How do I do it? Also, is there a way to put these…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2024-06-20T05:14:05.8133333+00:00
Hursh 131 Reputation points
edited a comment 2024-06-22T12:31:23.64+00:00
AgaveJoe 26,856 Reputation points
1 answer One of the answers was accepted by the question author.

How can I find out if my video view is on top of my game view in my Android .NET 7.0 project?

I want to play a video in my Android .NET 7.0 project. I have installed the NuGet package XamarinMediaManager version 1.2.2: https://github.com/Baseflow/XamarinMediaManager But the problem is that I only hear the sound of the video when I debug on my…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,081 questions
asked 2024-06-09T21:02:21.89+00:00
Kim Strasser 751 Reputation points
commented 2024-06-22T10:43:40.3733333+00:00
Amy McCarthy 0 Reputation points
0 answers

My CollectionView not update ItemSources ussing MVVM?

Hi, my name Liem! I using CommunityToolkit.MVVM for my NET MAUI project. I have success load data to CollectionView by binding ItemSource to [ObservableProperty] ObservableColleciont<T> Items. Now I use for loop to change item properties inide…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,081 questions
asked 2024-06-22T08:08:36.86+00:00
Liem Nguyen 11 Reputation points
2 answers

Passing another parameter from Index.cshtml to ActionResult Index in StudentsControler.cs

I am able to pass a Search string and a Sort string parameter from Index.cshtml to ActionResult Index in StudentsControler.cs. I have added 3 button and need to pass either True if button1 or False if button2 or NULL if button3. It is much like Search…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2024-06-22T05:07:37.38+00:00
Hursh 131 Reputation points
answered 2024-06-22T08:04:04.4166667+00:00
SurferOnWww 2,176 Reputation points
0 answers

Develop an ASP.NET Core web app that consumes an API - NO SCORE AT ALL

hi, after submitting my assessment score didn't show after, that was my third attempt. Microsoft Credential task: "Develop an ASP.NET Core web app that consumes an API".

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
14 questions
asked 2024-06-21T03:01:09.4366667+00:00
David Jugeli 0 Reputation points
edited the question 2024-06-22T03:37:19.73+00:00
Pradeep M 1,135 Reputation points Microsoft Vendor
3 answers

System.NullReferenceException: 'Object reference not set to an instance of an object.' model was null

model { public int VehicleID { get; set; } public int VehicleTypeID { get; set; } public string Brand { get; set; } public string Model { get; set; } public int Capacity { get; set; } = 0; public bool IsActive { get; set; } } controller //…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,545 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,308 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,791 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,524 questions
asked 2024-06-21T09:37:52.91+00:00
Naveinthiran 0 Reputation points
commented 2024-06-22T03:14:03.6933333+00:00
SurferOnWww 2,176 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,308 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,385 questions
asked 2024-06-21T11:44:44.45+00:00
Pierre Guillaume 0 Reputation points
answered 2024-06-22T02:14:43.85+00:00
SurferOnWww 2,176 Reputation points