26,493 questions with .NET-related tags

Sort by: Updated
1 answer

Not sure about how to fix .NET 8.0.4 uninstall failure

I have a handful of devices which recently had .NET 8.0.4 install on it. This version has vulnerabilities. I'm hoping to fix all of this remotely, preferable with PowerShell. Before attempting the removal of .NET 8.0.4 x86 I've installed .NET 8.0.11 x86…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 questions
asked 2024-12-25T21:18:05.0633333+00:00
SomeguyinITprobably-5539 0 Reputation points
answered 2024-12-25T22:13:51.6233333+00:00
Bruce (SqlWork.com) 68,486 Reputation points
2 answers

ASP.NET CORE MVC - Shared\Error.cshtml

Hi, I'm really new to ASP.NET Core MVC. I normally use ASP.Net Web forms (.Net Framework). One thing I could not figure out about MVC is the out-of-the box project templage (ASP.Net core mvc with .net 9 template in visual studio) has the Error.cshtml…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
asked 2024-12-25T17:22:18.84+00:00
Bob H 0 Reputation points
edited an answer 2024-12-25T21:59:34.14+00:00
Bruce (SqlWork.com) 68,486 Reputation points
2 answers

ASP.NET CORE MVC - Shared\Error.cshtml

Hi, I'm really new to ASP.NET Core MVC. I normally use ASP.Net Web forms (.Net Framework). One thing I could not figure out about MVC is the out-of-the box project templage (ASP.Net core mvc with .net 9 template in visual studio) has the Error.cshtml…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
asked 2024-12-25T17:22:18.84+00:00
Bob H 0 Reputation points
edited an answer 2024-12-25T21:59:34.14+00:00
Bruce (SqlWork.com) 68,486 Reputation points
1 answer

How can I create and upload an iOS-Build from Visual Studio to App Store TestFlight?

I had already created an application on App Store Connect some time ago and I had uploaded an iOS-Build in TestFlight. The iOS-Build expired and I want to upload a new iOS-Build. I had created my first iOS-Build on a macOS device. I switched from macOS…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,763 questions
asked 2024-12-18T13:12:18.1566667+00:00
Kim Strasser 1,141 Reputation points
commented 2024-12-25T19:53:53.9066667+00:00
Kim Strasser 1,141 Reputation points
1 answer

How to use commas after three digits next to numbers using LINQ Query

I want to separate the numeric values ​​in my query with commas for ease of viewing. Is it possible? example 1000.00 I want to see 1,000.00 10000.00 I want to see 10,000.00 100000.00 I want to see 100,000.00 //Query var data = (from a in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
asked 2024-12-25T14:27:43.9966667+00:00
jewel 1,046 Reputation points
edited an answer 2024-12-25T16:30:43.99+00:00
Bruce (SqlWork.com) 68,486 Reputation points
3 answers One of the answers was accepted by the question author.

The "CreateAppHost" task failed unexpectedly. How do I fix this?

I opened a project I worked on a few months and a few updates ago. Now I can't open the form designer. The error list states: MSB4018 The "CreateAppHost" task failed unexpectedly. System.IO.IOException: The requested operation cannot be…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 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,152 questions
asked 2024-06-13T00:02:22.32+00:00
Jon Hall 20 Reputation points
commented 2024-12-25T15:54:48.5566667+00:00
Bhasker S 0 Reputation points
0 answers

How to run maui app as admininstrator after deployment as unpacakged(exe)

Hi, How I run maui app on windows 8 as admin after deployment as unpcakaged (exe). This deployment command. dotnet publish -f net8.0-windows10.0.19041.0 -c Release /p:AppxPackageSigningEnabled=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,763 questions
asked 2024-12-25T14:10:44.66+00:00
Dani_S 3,886 Reputation points
1 answer One of the answers was accepted by the question author.

FirebaseApp Initialization Error in MAUI .NET 8

Hello, I am encountering an issue with initializing Firebase in my MAUI Android and iOS projects. The error message I am receiving on Android is: [mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: Java.Lang.IllegalStateException: Default FirebaseApp is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,763 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,152 questions
asked 2024-12-24T11:32:28.0366667+00:00
Omkar Pawar 40 Reputation points
accepted 2024-12-25T12:36:51.4666667+00:00
Omkar Pawar 40 Reputation points
2 answers

Issue with 405 Method Not Allowed instead of 401 Unauthorized in ASP.NET Core with JWT Authentication

Hi everyone, I'm encountering an issue with my ASP.NET Core application where I'm getting a 405 Method Not Allowed error instead of the expected 401 Unauthorized error when accessing an endpoint that requires authentication. Here's a detailed description…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
728 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 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,152 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.
355 questions
Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
728 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 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,152 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.
355 questions
asked 2024-12-25T05:41:55.44+00:00
Naser AL-Asbahi 0 Reputation points
commented 2024-12-25T09:00:08.68+00:00
Naser AL-Asbahi 0 Reputation points
2 answers

Issue with 405 Method Not Allowed instead of 401 Unauthorized in ASP.NET Core with JWT Authentication

Hi everyone, I'm encountering an issue with my ASP.NET Core application where I'm getting a 405 Method Not Allowed error instead of the expected 401 Unauthorized error when accessing an endpoint that requires authentication. Here's a detailed description…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
728 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 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,152 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.
355 questions
Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
728 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 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,152 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.
355 questions
asked 2024-12-25T05:41:55.44+00:00
Naser AL-Asbahi 0 Reputation points
commented 2024-12-25T09:00:08.68+00:00
Naser AL-Asbahi 0 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,636 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,307 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,152 questions
asked 2024-12-18T11:16:39.07+00:00
kodo65 0 Reputation points
commented 2024-12-25T08:20:56.4333333+00:00
Tianyu Sun-MSFT 31,956 Reputation points Microsoft Vendor
1 answer

Smooth Transition Between Pages with and Without Navigation Bars in MAUI

In a .NET MAUI application, I have a scenario where I'm navigating from a page without a navigation bar (NavigationPage.SetHasNavigationBar(this, false)) to a page that includes a navigation bar. During the transition, the appearance of the navigation…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,763 questions
asked 2024-12-21T03:45:45.4933333+00:00
Thinh NPD 40 Reputation points
commented 2024-12-25T08:09:18.4+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,206 Reputation points Microsoft Vendor
1 answer

convert xamarin rerender to maui handler

i have trouble migrating xamarin rerender to maui handler. Here's the code [assembly: ExportRenderer(typeof(CustomNavigationPage), typeof(CustonNavigationRenderer))] namespace Test.App.Business { public class CustomNavigationRenderer :…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,763 questions
asked 2024-12-23T04:30:38.4966667+00:00
Thinh NPD 40 Reputation points
commented 2024-12-25T08:09:06.6666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,206 Reputation points Microsoft Vendor
0 answers

Remote debugging of ASP.NET (.NET Core 8) app under IIS 10 will not show source code on breakpoint

Historically, I've had no problems using the remote debugger on a Windows server for .NET Framework web services. I've now had to create a .NET Core 8 Web API using VS2022. I've published the service to a W2016 host and am hosting it under IIS…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 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.
1,012 questions
asked 2024-12-18T13:38:55.14+00:00
Osborne,J,Jon,QDN R 0 Reputation points
commented 2024-12-25T07:32:36.47+00:00
Brando Zhang-MSFT 3,791 Reputation points Microsoft Vendor
1 answer

Performance issues in Session State

Hi. We are running a .Net Framework 4.8 mvc web application with redis session state setup. We are experiencing performance issues and the profiling we have done indicates that session state, specifically GetSessionStateItemAsync, is waiting for long…

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
264 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2024-09-06T00:41:07.7633333+00:00
Danielle Schlie 0 Reputation points
edited an answer 2024-12-25T07:24:25.8566667+00:00
Sina Salam 14,551 Reputation points
1 answer

How do I fix static assets not showing on implementing project with .Net9

Hi, I am having an issue in my app when trying to implement a Nuget package. My project has the following configuration: <ItemGroup> <!-- Include the JavaScript file in the NuGet package --> <Content…

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,636 questions
asked 2024-12-24T20:51:38.42+00:00
William Mendoza 0 Reputation points
edited an answer 2024-12-25T06:59:59.32+00:00
Ruikai Feng - MSFT 2,586 Reputation points Microsoft Vendor
0 answers

Issue with TabbedPageRenderer Causing IconImageSource to Disappear on CurrentPageChanged Event

I am experiencing an issue with the custom implementation of TabbedPageRenderer in .NET MAUI. When the CurrentPageChanged event is invoked, the IconImageSource for the tabs intermittently disappears. This behavior seems related to how the renderer…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,763 questions
asked 2024-12-25T04:12:13.8466667+00:00
Thinh NPD 40 Reputation points
commented 2024-12-25T06:19:08.6133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,206 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Impact of Upgrading to Xcode 16 on Xamarin Forms Code Compatibility

Hi, I am in the middle of migrating the Xamarin Forms code to MAUI, but we still need to release production bug fixes with Xamarin Forms. I am currently using macOS 14.3.1 and need to upgrade to macOS 15.2 to get Xcode 16, as I am receiving an error…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,368 questions
asked 2024-12-20T07:08:45.64+00:00
Chinmay Dole 200 Reputation points
accepted 2024-12-25T04:49:13.5633333+00:00
Chinmay Dole 200 Reputation points
2 answers

How to run asp.net web application using visual studio code ?

I work on .NET 4.7. I have an issue: I can't run applications in Visual Studio Code. I don't know how to run it. Startup page is http://localhost:22851/WebPages/loginT.aspx This page opens in Visual Studio 2019, but how to open the page logint.aspx in…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 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,152 questions
asked 2024-12-24T21:40:42.5133333+00:00
ahmed salah 3,216 Reputation points
answered 2024-12-25T03:36:44.36+00:00
XuDong Peng-MSFT 10,841 Reputation points Microsoft Vendor
1 answer

Android Apk not installed

dotnet publish -f:net9.0-android -c:Release /p:AndroidSigningKeyPass=math@24 /p:AndroidSigningStorePass=math@24 When I try to install apk file "on my Android phone I get below error "App not installed as app isnt compatible with your…

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,636 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,763 questions
asked 2024-12-23T21:42:31.97+00:00
Kalyan A 335 Reputation points
answered 2024-12-25T03:03:55.3866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 77,726 Reputation points Microsoft Vendor