25,058 questions with .NET-related tags

Sort by: Updated
3 answers

Rename a form in Visual Studio 2022

Hello, trying to rename a form. The guidance here appears to still be good but even though I renamed the form in solution explorer, told VS2022 to rename it everywhere, and set the startup object in project properties, I still get the error,…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,874 questions
asked 2023-03-27T21:23:08.4866667+00:00
Steev43230 5 Reputation points
commented 2024-07-29T17:54:47.6666667+00:00
Brayan 0 Reputation points
1 answer

Xamarin ios Library not loaded MDFInternationalization

I am trying to distribute an application for iOS, but during the Apple review process they report the following exception: {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,327 questions
asked 2024-07-26T23:52:48.2566667+00:00
Francisco Castrejón 0 Reputation points
answered 2024-07-29T17:34:54.3566667+00:00
Bruce (SqlWork.com) 61,811 Reputation points
2 answers

How to trigger SelectionChanged event when ComboBox selected Index is same not necessarily changed in WPF C#?

Hi there, I have a simple WPF application where a different window will open if I select the last item of a Combo box. my code is working successfully but there some issue on my code. I want some more functionality. Suppose, I select the last item, A…

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,716 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,656 questions
asked 2022-10-19T17:20:30.463+00:00
MERUN KUMAR MAITY 551 Reputation points
commented 2024-07-29T16:50:40.74+00:00
Rizwan322 0 Reputation points
2 answers

.Net Framework > .Net Migration Problem - Incremental upgrade with Entity Framework 6.4.4

Hi, (apologies for the lengthy description) I'm working on setting a roadmap for a phased/incremental upgrade path of a .Net Framework 4.8 solution to .Net 8.0+. The existing solution has a large number of projects with direct project references and has…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
726 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 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,141 questions
asked 2024-07-19T15:40:33.36+00:00
AndyB 0 Reputation points
answered 2024-07-29T16:20:11.24+00:00
Bruce (SqlWork.com) 61,811 Reputation points
1 answer

how .net core dll used in mac or linux

how .net core dll runs in mac or linux

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,408 questions
asked 2024-07-29T04:18:15.52+00:00
Sanjeeb Sarkar 0 Reputation points
answered 2024-07-29T15:47:51.4166667+00:00
Bruce (SqlWork.com) 61,811 Reputation points
2 answers One of the answers was accepted by the question author.

Item Template Not Using Data Context

Here is code for WPF window (omitting irrelevant…

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,716 questions
asked 2024-07-27T22:51:49.1966667+00:00
RogerSchlueter-7899 1,261 Reputation points
commented 2024-07-29T14:49:42.4566667+00:00
RogerSchlueter-7899 1,261 Reputation points
0 answers

Item Template Not Using Data Context

Here is code for WPF window (omitting irrelevant…

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,716 questions
asked 2024-07-27T22:55:00.58+00:00
RogerSchlueter-7899 1,261 Reputation points
commented 2024-07-29T14:41:29.21+00:00
RogerSchlueter-7899 1,261 Reputation points
0 answers

Is it able to check XAML Designer mode in csproj?

I have a .net 8 WPF project which is developed with lastest Visual Studio Community Version (v17.10.5). I have learned that I can use Condition attribute in csproj file to toggle build property. My question is, is there a Condition key word to check if…

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,716 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,895 questions
asked 2024-07-29T05:22:41.65+00:00
William Liu 346 Reputation points
commented 2024-07-29T14:36:19.36+00:00
Hui Liu-MSFT 47,421 Reputation points Microsoft Vendor
2 answers

CommunityToolkit 8.2.2 with Wpf .Net framework 4.8.1 gets error The name '' does not exist in the current context

Hi, I am working with WPF .Net framework 4.8.1 using CommunityToolkit 8.2.2. I've already set the LangVersion to 8.0, and migrated the package.config. In my MainWindowViewModel, there is a ObservableProperty string _myName, the Source Generator already…

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,716 questions
asked 2024-07-29T08:08:27.2433333+00:00
Dung Huynh 121 Reputation points
commented 2024-07-29T14:32:04.4133333+00:00
Hui Liu-MSFT 47,421 Reputation points Microsoft Vendor
1 answer

Antiforgery token is not being generated

I'm using Blazor (Interactive Server) to create a web application. Before I went on holiday I used the general template available in Visual Studio 2022, including the authentication & authorization options, as an example for creating the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 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,503 questions
asked 2024-07-29T12:38:05.14+00:00
Marcin van de Ven 5 Reputation points
commented 2024-07-29T14:29:41.9+00:00
Marcin van de Ven 5 Reputation points
0 answers

Maui - changing the subtabbar item(textview) font doesn't work

Hi, I have implemented everything I wanted including putting borders around the text, changing the size of the font and changing color of the text but for some reason applying a different font doesn't seem to be working. I am loading the following in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,240 questions
asked 2024-07-29T14:00:34.02+00:00
Ryan Lee 0 Reputation points
2 answers

Azure Blob Storage Access in App Service

I am getting this error when i am trying to upload data to blob through my app service post api. Locally my data is being uploaded using post api But after the deployment of project it is not be able to access the blob storage and giving me…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,644 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,408 questions
asked 2024-07-29T09:02:47.5833333+00:00
Hassan Kaleem 45 Reputation points
answered 2024-07-29T13:34:17.8766667+00:00
Hassan Kaleem 45 Reputation points
0 answers

.Net 8 Core Blazor API calls work in development environment. Deployed to server and API call do not fire

Looks like the API call is timing out. I tested the call using postman and got a 200 OK Status but took 42 seconds. Any suggestions on what or where I should be looking at?

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,503 questions
asked 2024-07-29T13:06:39.7+00:00
Lopez, Carlos 0 Reputation points
0 answers

How To create new contact in .net MAUI

Hi, I want to add new contact in .NET maui. Can you please help me? I am trying to create API for both android and iphone. My .net version. is 8.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,240 questions
asked 2024-07-28T18:21:37.05+00:00
Pearl 21 Reputation points
edited the question 2024-07-29T11:47:55.1133333+00:00
Pearl 21 Reputation points
2 answers

Get a value from a non-public member

Hello all, I am trying to access a loaded third party object that I need to pull information out of it. I can’t figure out how to get/pull a value deep in the object under the Non-Public Members area. Here is what I mean. customer→ “Non-Public…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 questions
asked 2024-07-27T02:28:00.4766667+00:00
SCG 0 Reputation points
commented 2024-07-29T11:45:11.21+00:00
SCG 0 Reputation points
0 answers

Using Xamarin.Google.UserMessagingPlatform with MAUI for presenting a GDPR consent message

I am trying to present a GDPR consent message in a MAUI app using the Xamarin.Google.UserMessagingPlatform NuGet package. I'm targeting Android 34 on .NET 8. I have used both this: https://stackoverflow.com/a/71299843/7360423 and this:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,240 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,656 questions
asked 2024-07-25T08:45:20.6933333+00:00
Costas Athan 46 Reputation points
commented 2024-07-29T11:28:39.99+00:00
Costas Athan 46 Reputation points
0 answers

Throws Framework not found error even though framework is installed

Getting the below error while running Xunits , What am i missing ? Architecture: x64 Framework: 'Microsoft.Android', (x64) .NET location: C:\Program Files\dotnet\ No frameworks were found. Learn more: https://aka.ms/dotnet/app-launch-failed To install…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 questions
asked 2024-07-29T11:00:06.2833333+00:00
Manickam, Suraj 320 Reputation points
2 answers

The HttpClient documentation and usage

I am trying to use the HttpClient class in my code. I am using .NetFramework 4.7.2. When I look up how it can be used in my C# code, I go to https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=netframework-4.7.2 The problem is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 questions
asked 2024-07-25T19:39:38.4566667+00:00
William Thompson 120 Reputation points
commented 2024-07-29T10:59:22.9666667+00:00
SurferOnWww 2,491 Reputation points
1 answer

How to fix .NET MAUI Blazor Hybrid app code object is not signed at all issue in Mac M2 when Building for iOS?

Our company created .NET MAUI application for ERP purpose. currently it deploying to android and windows as well and those are working fine. we started it from .NET 7 and currently we are using .NET 8 as well. when I trying to build it for iOS I got…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 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,503 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,240 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,656 questions
asked 2024-07-29T03:35:57.23+00:00
Gayantha Anushan 0 Reputation points
commented 2024-07-29T10:31:04.9766667+00:00
Gayantha Anushan 0 Reputation points
0 answers

I can't run MUAI release build on Android devices

I'm developing a MAUI application. During development I was able to run it from Visual Studio without any problems in debug mode. Now that I have to send it to the customer I tried to run it in release mode, and it turns out that I can't run it.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,240 questions
asked 2024-07-29T10:19:01.87+00:00
Jalza 781 Reputation points