24,915 questions with .NET-related tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

This error appears to me. I use .NET 8. The project is divided into three layers. The presentation layer is a web project. The rest of the layers are class libraries. I installed the necessary libraries, all of which are version 8.

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
724 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,371 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,616 questions
asked 2024-07-16T20:30:25.5766667+00:00
saleh salem 20 Reputation points
accepted 2024-07-17T23:02:40.3066667+00:00
saleh salem 20 Reputation points
1 answer

MT1007 failed to launch the application

I use .net ios(NOT xamarin and NOT MAUI). xcode 14(my mac do not support the newst version). net ios 7.0 I first create samle bundle project and install in in my physical device and I can tap on it to run it. but I can not do it in VS2022. the target is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-16T09:36:53.2+00:00
mc 4,106 Reputation points
commented 2024-07-17T21:57:36.42+00:00
Bruce (SqlWork.com) 61,101 Reputation points
0 answers

Mac - keep data in memory and get data

Hi, I run mac app in vs code net 8. after publishing it using this command: dotnet publish -f net8.0-maccatalyst -c Release The app stop working me, the logic not working. I keep data in singelton class and I reach from other pages to this class. It work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-14T13:15:46.56+00:00
Dani_S 3,296 Reputation points
commented 2024-07-17T21:45:37.0233333+00:00
Bruce (SqlWork.com) 61,101 Reputation points
2 answers One of the answers was accepted by the question author.

Why MonoAndroid is not supported anymore by some plugins like Firebase?

Hi! I'm not up-to-date with Xamarin. I've got 3 projects in Xamarin.Forms, but I don't actively maintain them. Only from time to time I have to update a few things to meet Google requirements. Usually, I also update all dependencies. However, recently I…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2024-07-16T19:46:25.38+00:00
Wojciech Kulik 20 Reputation points
edited an answer 2024-07-17T21:36:49.8066667+00:00
Bruce (SqlWork.com) 61,101 Reputation points
0 answers

Compress video and limit video length for video capture on Maui for Windows

Maui MediaPicker does not give options for compression and max video length for CaptureVideoAsync. Is there a native way to do this on Windows?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-17T21:13:48.6633333+00:00
Eric L 0 Reputation points
0 answers

Trouble accessing custom field properties in ObservableCollection

I created an ObservableCollection in my ViewModel and defined a CustomField class that implements INotifyPropertyChanged. However, when I try to access the properties of the CustomField model in the view, I get an error saying that the members cannot be…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,863 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 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,616 questions
asked 2024-07-17T18:43:00.8866667+00:00
Mirai Dinelli 0 Reputation points
commented 2024-07-17T20:29:05.3466667+00:00
Mirai Dinelli 0 Reputation points
2 answers

How Do I Package and install a Released compiled version version of my .Net Framework?

This might be a simple question. I searched online and there was a lot of information that seemed to be just a distraction. How Do I Package and install a Released compiled version version of my .Net Framework? Do I just need to pass along the compiled…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,608 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,616 questions
asked 2024-07-17T16:04:37.3133333+00:00
William Thompson 80 Reputation points
answered 2024-07-17T19:57:55.0466667+00:00
Bruce (SqlWork.com) 61,101 Reputation points
0 answers

Can not apply style written in c#

Hello, i have created style in C# code and tried to apply this style to the frame, named ControlsGroupMainFrame4 (written in XAML). Tried both WinUI and Android apps. Both apps do not throw any error and start fine, but the style is not applied. Style…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-17T18:34:26.77+00:00
AAA BBB 21 Reputation points
edited the question 2024-07-17T18:37:54.9133333+00:00
AAA BBB 21 Reputation points
0 answers

UWP App support Windows Notifications for Sideload or Non-Store Apps

We built two packages for the UWP app , one is a sideload and another a windows store package. Windows store app support windows notification because its used same publisher id which has configured in App store. But side load app does not receive windows…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,608 questions
Universal Windows Platform (UWP)
asked 2024-07-17T18:34:06.3+00:00
Saravanan Rajaram 0 Reputation points
1 answer

Syntax question when testing an element name in javascript

I have some lines of Javascript in my view, as follows: let dropzoneElement1 = document.querySelector((".dz1"); updateThumbnail(dropzoneElement1); let dropzoneElement2 = document.querySelector((".dz2"); …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,608 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,371 questions
asked 2024-04-03T18:46:58.0766667+00:00
Coreysan 1,631 Reputation points
accepted 2024-07-17T18:14:08.98+00:00
Coreysan 1,631 Reputation points
2 answers

Call from one MVC5 project method to another MVC5 project method not loading aspx page

  Hi, I have two projects, MVC5-1 and MVC5-2. Both are using .net 4.7.. I have installed MVC5 on both.  I am trying to call a controller method from MVC5-2 (ShowMBStest())from MVC5-1. There is a method in MVC5-2 that calls an x.aspx page. I can see it…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,405 questions
asked 2024-06-14T03:01:54.9366667+00:00
iqworks Information Quality Works 276 Reputation points
answered 2024-07-17T17:33:15.2166667+00:00
AgaveJoe 27,581 Reputation points
0 answers

Remove bumptech.glide.load.data java package from maui app

I am building a maui app targeting .Net 8. I see the app depends on the java package bumptech.glide.load.data which also allows HTTP(non https) URL. I could not find direct dependency on bumptech.glide.load.data package what is the best way to remove…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-17T17:32:15.8466667+00:00
Somnath Shukla 411 Reputation points
3 answers

How to fix - You must install or update .NET to run this application

root@ubuntu:/etc/systemd/system# /usr/bin/dotnet /var/www/MinAPI/WebApi.dll You must install or update .NET to run this application. App: /var/www/MinAPI/WebApi.dll Architecture: x64 Framework: 'Microsoft.AspNetCore.App', version '5.0.0' (x64) .NET…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,608 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,371 questions
asked 2023-06-13T08:40:17.94+00:00
Bashar Muhanna 25 Reputation points
edited a comment 2024-07-17T17:26:57.4+00:00
Cherniy, Daniel 0 Reputation points
1 answer

BLAZOR not loading with .Net 8 upgrading from .Net 7

My team has developed a Blazor web app in .net 7. Due to our web servers requirements the entire App had to be upgraded to .net 8. Now, the app gets to the 100 in a circle view but never loads the content. When looking in the console found 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,493 questions
asked 2024-07-17T16:21:20.84+00:00
Lopez, Carlos 0 Reputation points
answered 2024-07-17T17:10:42.9666667+00:00
Bruce (SqlWork.com) 61,101 Reputation points
2 answers

Cycling problem

Hi, I have 2 entity which have one to many relation between. Lets name them School and student. When I'm creating School I'm getting cycling problem . I did all the configuration in Configure class but nothing worked. There is a way with [JsonIgnore] but…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
724 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,371 questions
asked 2024-07-16T19:06:27.2733333+00:00
Atilla Rüstəmli 20 Reputation points
commented 2024-07-17T16:18:29.39+00:00
Atilla Rüstəmli 20 Reputation points
0 answers

How to troubleshoot the exception, Could not create TLS secure channel?

Hello there, I have this C# code that consumes a SOAP WS and it was working properly for years. However, since recently it started to throw the following exception: The request was aborted: Could not create SSL/TLS secure channel. Basically it imports…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,371 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,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,616 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.
317 questions
asked 2024-07-12T14:24:34.8133333+00:00
Kuler Master 266 Reputation points
commented 2024-07-17T15:54:29.62+00:00
Kuler Master 266 Reputation points
2 answers

How to get license terms for Entity Framework 4.3.0 nuget package and also source code?

Hello, I am not sure if this is right forum for this question. What i need is the license terms from Microsoft for using the Entity Framework 4.3.0 nuget package in the application which is disctributed commercially. Also, since Entity Framework is…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
724 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,138 questions
asked 2024-07-17T15:15:38.5833333+00:00
Shinde, Kalpana 0 Reputation points
answered 2024-07-17T15:52:12.2333333+00:00
Bruce (SqlWork.com) 61,101 Reputation points
2 answers

How to resolve strange problem with DialogBox containing PictureBox?

I have a Windows Forms application with a number of dialog boxes that are opened when clicking on a menu item. I recently added a new DialogBox called Sierpinski whose OnClick event handler is as follows: // Event handler for selecting the…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,054 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,608 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,616 questions
asked 2024-07-17T15:15:34.2766667+00:00
Nicholas Piazza 536 Reputation points
answered 2024-07-17T15:40:29.6633333+00:00
Michael Taylor 51,071 Reputation points
1 answer

Error APPX1101: [UWP] Payload contains two or more files with the same destination path: Microsoft.Web.WebView2.Core.dll

Installed Visual Studio 2022 (on a clean/fresh Windows 11 installation) version 17.10.0 Installed Microsoft.Identity.Client.Desktop Nuget package to open sign in within the window application. After that I'm getting "Found multiple publish…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,608 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 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,616 questions
asked 2024-07-15T10:48:23.1366667+00:00
Ravi Khandale 5 Reputation points
commented 2024-07-17T15:28:32.0366667+00:00
Ravi Khandale 5 Reputation points
3 answers

.NET 6 : System.Net.Http.HttpRequestException: Received an invalid status line: '339'

Hello, We are experiencing an issue where our service, calls an API. It fails when invokes the API using the HTTP client. Specifically, the process fails at the EnsureSuccessStatusCode() step, despite API returning a success response. This issue appears…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,371 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.
317 questions
asked 2024-07-16T14:21:17.7633333+00:00
Mohd Imran Nagori 0 Reputation points
commented 2024-07-17T14:51:55.4833333+00:00
Michael Taylor 51,071 Reputation points