26,752 questions with .NET-related tags

Sort by: Updated
3 answers

Web push notifications with Azure Notification Hubs

Hello Everyone, I am new to Azure and i want more information from you about my problem. Now what i want to do is set a web push (browser push) notification from Azure notification hub and i want to integrate it to my backend that is in .net core. I…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
338 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,756 questions
asked 2024-07-03T09:52:15.5533333+00:00
Darli Varfi 5 Reputation points
commented 2025-01-27T15:17:47.76+00:00
Robert Thompson 0 Reputation points
0 answers

How can I resolve runtime crashes in a MAUI project when integrating Android libraries as AARs, despite resolving dependencies and fixing NoClassDefFoundError exceptions?

We already have working libraries for iOS and Android, and now I’m trying to integrate them into a MAUI project. The iOS binding works fine, but I’m running into issues with the Android binding. At first, I was getting NoClassDefFoundError exceptions. To…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,864 questions
Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
248 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.
326 questions
asked 2025-01-27T13:44:34.9866667+00:00
Megha Raypuriya 0 Reputation points
commented 2025-01-27T15:00:26.42+00:00
Megha Raypuriya 0 Reputation points
0 answers

Clickonce and .NET 9

Hi, After updating our application to use .NET 9 (previously .NET framework 4.8) the clickonce application manifest creation shows error like this: "Internal error, please try again. Object reference not set to an instance of an object. Cmd.exe…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
931 questions
asked 2025-01-23T12:00:08.96+00:00
Sutinen, Risto 0 Reputation points
commented 2025-01-27T14:42:43.84+00:00
Sutinen, Risto 0 Reputation points
0 answers

Gzip file uploaded to Azure Blob Storage, when downloaded to Windows machine does not open and the file size is not same

I am uploading a csv file with gzip encoded to Azure Blob Storage using C# .net 8. I am able to read the file ok when I download file and read data use .Net code. But I have two problems. When I download the file to my local Windows laptop and try to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,047 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.
11,238 questions
asked 2025-01-27T13:46:41.1433333+00:00
Arvind V 1 Reputation point
3 answers One of the answers was accepted by the question author.

How to view my content from my database to my home view in .Net core MVC

Hi guys SO I was learning to use .NET Core MVC through the tutorial, and I decided to take it up a notch. While the tutorial has been helpful, it did not really have what I was looking for, and surprisingly, neither do all the AI bots. So what's the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,756 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.
14,377 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.
11,238 questions
asked 2025-01-18T15:28:13.7133333+00:00
Assadullah Sanusi 20 Reputation points
commented 2025-01-27T13:34:34.9366667+00:00
Assadullah Sanusi 20 Reputation points
0 answers

Issue with "Mandatory" package update status in Microsoft Store

Hi, I am experiencing an issue with the Microsoft Store incorrectly reporting "Mandatory" package update status in some of my UWP applications. Following the official documentation, I implemented an update flow in my application that provides…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
Universal Windows Platform (UWP)
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.
11,238 questions
asked 2025-01-24T12:43:15.7233333+00:00
Joel 0 Reputation points
commented 2025-01-27T13:17:55.2033333+00:00
Joel 0 Reputation points
0 answers

Why in maui net 9 compatibility reference no need any more

Hi, Why in maui net 9 compatibility reference no need any more ? <``PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" /> Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,864 questions
asked 2025-01-27T12:30:00.4+00:00
Dani_S 3,956 Reputation points
0 answers

ITMS-90683: Missing purpose string in Info.plist

I got an email with this message from App Store Connect after uploading my new build to TestFlight. ITMS-90683: Missing purpose string in Info.plist Your app’s code references one or more APIs that access sensitive user data, or the app has one or more…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,864 questions
asked 2025-01-27T12:27:30.0233333+00:00
Kim Strasser 1,261 Reputation points
1 answer

new main window in net 9 changed

Hi, I looked in app.xaml.cs file in net 9 and create instance of main window change to: protected`` override Window CreateWindow(IActivationState? activationState) { return`` new Window(new AppShell()); } is must? why this change? Is releavant for…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,864 questions
asked 2025-01-27T07:43:15.64+00:00
Dani_S 3,956 Reputation points
edited a comment 2025-01-27T12:22:44.6266667+00:00
Dani_S 3,956 Reputation points
0 answers

AppDomain.CurrentDomain.BaseDirectory is Empty While Loading Media In WPF

Hello, I am working on a WPF window which supports multiple frameworks <TargetFrameworks>net8.0-windows;net48</TargetFrameworks> i have a media element in a window written <MediaElement x:Name="Video"                          …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
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,818 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.
11,238 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
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,818 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.
11,238 questions
asked 2025-01-27T04:47:18.25+00:00
commented 2025-01-27T11:43:10.6566667+00:00
0 answers

AppDomain.CurrentDomain.BaseDirectory is Empty While Loading Media In WPF

Hello, I am working on a WPF window which supports multiple frameworks <TargetFrameworks>net8.0-windows;net48</TargetFrameworks> i have a media element in a window written <MediaElement x:Name="Video"                          …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
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,818 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.
11,238 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
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,818 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.
11,238 questions
asked 2025-01-27T04:47:18.25+00:00
commented 2025-01-27T11:43:10.6566667+00:00
0 answers

allow only one system to login the aspx page

Hello I have hosted my aspx pages in serevr its accesing using local ip 192.168.xx.x for example i have abc.aspx it should allow only one system and one login to access if any other same user login and coming from difference browser or system has to…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,577 questions
asked 2025-01-27T11:19:39.5733333+00:00
RAVI 1,056 Reputation points
0 answers

iOS crash report: System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_

I get the following messages in my iOS crash report: SharedCodeProject_MyClass__Updated__301_MoveNext (in MyGameiOS) (<unknown>:1) System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_ (in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,864 questions
asked 2025-01-25T11:38:30.09+00:00
Kim Strasser 1,261 Reputation points
commented 2025-01-27T11:12:22.9633333+00:00
Kim Strasser 1,261 Reputation points
1 answer

Unable to Start .NET MAUI Application on Android Emulator: 'Waiting for Debugger' Message

Hi, I am encountering an issue when trying to start my .NET MAUI application on the Android emulator. Upon launching the app, I receive a pop-up message stating: "Application [AppName] (process package-name) is waiting for the debugger to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,864 questions
asked 2025-01-26T16:47:47.4666667+00:00
Arnab Mukherjee 40 Reputation points
edited a comment 2025-01-27T10:59:48.1033333+00:00
Pavel Voronin 0 Reputation points
5 answers

Is it true that .aspx (WebForms) is old technology and will be absent in all future asp.net versions?

I wonder that people say that WebForms is old/legacy/outdated technology, and that everyone should create MVC/.Core projects, which have no .aspx pages. Is it true that .aspx technology (WebForms) is not developed any more? I like visual design in…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,577 questions
asked 2021-10-22T17:03:31.903+00:00
Ivan 1 Reputation point
edited the question 2025-01-27T10:50:14.59+00:00
TP 102K Reputation points
2 answers One of the answers was accepted by the question author.

API response is missing but not middleware response updates

I was experimenting asp.net core (net9.0) custom middleware with below sample code. In API response I get the text written by middleware but the API response itself is missing. Any insights to help me understand on what is actually happening ? This is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,756 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,756 questions
asked 2025-01-24T12:00:55.5133333+00:00
Harish Lakshmana 0 Reputation points
accepted 2025-01-27T10:45:18.1333333+00:00
Harish Lakshmana 0 Reputation points
2 answers One of the answers was accepted by the question author.

API response is missing but not middleware response updates

I was experimenting asp.net core (net9.0) custom middleware with below sample code. In API response I get the text written by middleware but the API response itself is missing. Any insights to help me understand on what is actually happening ? This is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,756 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,756 questions
asked 2025-01-24T12:00:55.5133333+00:00
Harish Lakshmana 0 Reputation points
accepted 2025-01-27T10:45:18.1333333+00:00
Harish Lakshmana 0 Reputation points
0 answers

Issue with saving single record the form saves multiple records until the modelstate is valid

I am using asp.net core 8 i have a popup form when i click submit with empty fields it returns required validation error and when i fill data in fields then submit again it save multiple records is sql database the number of time i click on submit…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
774 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,756 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.
11,238 questions
asked 2025-01-27T07:05:16.65+00:00
Asif_360 0 Reputation points
commented 2025-01-27T10:13:50.32+00:00
Asif_360 0 Reputation points
5 answers

SqlDataReader error “Invalid attempt to read when no data is present”

My environment used is Visual Studio 2022 v17.12.4. Language is C# and connecting to SQL Server Express v16.0.1135.2. This is a Windows form using .Net Framework 4.8.1. I am getting the error message “Invalid attempt to read when no data is present”…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 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.
14,377 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.
11,238 questions
asked 2025-01-21T22:31:10.9133333+00:00
Pat 0 Reputation points
commented 2025-01-27T09:27:09.95+00:00
Karen Payne MVP 35,476 Reputation points
1 answer

Adding Blazor Identity to existing Blazer project fails with a 'null path' exception

Hi! I have the following: .Net SDK 9 Visual Studio Community 2022 v 17.12.3 Windows v10.0.19044 Blazer Server App When I try to add the Blazor Identity "scaffolding" I get a "There was an error running the selected code generator:…

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,654 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,381 questions
asked 2024-12-18T11:16:39.07+00:00
kodo65 5 Reputation points
commented 2025-01-27T09:16:36.58+00:00
kodo65 5 Reputation points