24,913 questions with .NET-related tags

Sort by: Updated
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,194 questions
asked 2024-07-17T18:34:26.77+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

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,615 questions
asked 2024-07-17T16:04:37.3133333+00:00
William Thompson 80 Reputation points
answered 2024-07-17T18:32:11.3533333+00:00
Michael Taylor 51,071 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,194 questions
asked 2024-07-17T17:32:15.8466667+00:00
Somnath Shukla 411 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,194 questions
asked 2024-07-14T13:15:46.56+00:00
Dani_S 3,296 Reputation points
commented 2024-07-17T17:29:31.8866667+00:00
Dani_S 3,296 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,026 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,615 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,026 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,615 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,194 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,615 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
0 answers

Blazor hangs when debugging with authentication

Am I the only one who experience that 9 of 10 times Blazor hangs with this message when I use authentication, and after I have logged in?   Any hints on how to get past this issue?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,608 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,493 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,615 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.
966 questions
asked 2024-04-07T11:22:21.7633333+00:00
Finn Arildsen 21 Reputation points
commented 2024-07-17T14:39:52.7266667+00:00
Philippe Cayouette 0 Reputation points
0 answers

Incorrect assessment result for Develop an ASP.NET Core web app that consumes an API

I attempted the assessment and successfully completed all the tasks. I am very sure that my result is calculated incorrectly. The result says I failed to Interact with an API which does not make any sense as I would not be able to proceed to other…

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 2023-11-10T18:01:12.33+00:00
Sheikh Saqib 20 Reputation points
commented 2024-07-17T14:09:57.6133333+00:00
Fernie Monroy 0 Reputation points
1 answer

How can I rotate the iOS simulator?

Only the screen of the simulator rotates instead the entire simulator when I click on the rotate buttons: Is it possible to rotate the entire simulator?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,862 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,194 questions
asked 2024-07-17T11:55:26.3633333+00:00
Kim Strasser 816 Reputation points
answered 2024-07-17T13:45:13.1466667+00:00
Hakeem A 0 Reputation points
0 answers

ERROR: An error occurred when writing to the output stream.

My iOS game gets always terminated when I try to debug it on my iPad OS version 17.5.1. I use Visual Studio Community 2022 (64-bit) Version 17.10.4 on my Windows 11 laptop. My iPad is connected to my iMac and I paired my iMac with VS. When I click on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,194 questions
asked 2024-07-16T11:36:33.8033333+00:00
Kim Strasser 816 Reputation points
edited a comment 2024-07-17T13:32:09.28+00:00
Kim Strasser 816 Reputation points
0 answers

How can I use the Android Exoplayer to play videos?

Currently I use the Xamarin MediaManager to play videos: https://github.com/Baseflow/XamarinMediaManager Is it possible to use the Android Exoplayer instead to play videos? I want to find out if the black screen that appears before a video is played will…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,194 questions
asked 2024-07-17T12:28:29.27+00:00
Kim Strasser 816 Reputation points
edited the question 2024-07-17T13:29:45.7166667+00:00
Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor