23,989 questions with .NET-related tags

Sort by: Updated
0 answers

Should this container include .NET 8 instead of 6?

The container installed .NET 8, but the lesson plan says 6. Did I do something wrong or is the lesson outdated? https://learn.microsoft.com/en-us/training/modules/build-web-api-minimal-spa/3-exercise-create-front-end?tabs=visual-studio-code

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
asked 2024-05-04T18:35:10.26+00:00
Charles Fox 0 Reputation points
1 answer

Can I force AuthenticationState to refresh (when claims have changed)?

Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read 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,396 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,281 Reputation points
commented 2024-05-04T18:29:35.3166667+00:00
David Thielen 2,281 Reputation points
2 answers One of the answers was accepted by the question author.

ASP.Net Core Top-level Statements

I understand what this option does, but I'm wondering if this only applies when you first create a project. I can't find any option to disable top-level statements after the project has been created, and I can't see that VS stores this option. I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 questions
asked 2024-05-04T11:00:37.9866667+00:00
Kenneth R. Jones 21 Reputation points
accepted 2024-05-04T18:03:03.8433333+00:00
Kenneth R. Jones 21 Reputation points
1 answer

How can i redirect to my own page after successful login in dotnet maui

i want to redirect my dotnet maui pages after successful login how can i do it in dotnet maui emulator i have sign in redirect uri : "https://localhost:7152//sign-ingoogle and aftter login i want to redirect to my own pages

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-05-03T07:26:25.66+00:00
Kanika Rana 0 Reputation points
answered 2024-05-04T17:04:03.63+00:00
Bruce (SqlWork.com) 56,686 Reputation points
0 answers

System.InvalidOperationException: 'Application-defined or object-defined error.'

Debugging gives me a "Exception Unhandled" error in the Application.Designer: 32 <Global.System.Diagnostics.DebuggerStepThroughAttribute()> 33 Protected Overrides Sub OnCreateMainForm() 34 Me.MainForm = Form1 <<< HERE MARKED…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,835 questions
asked 2024-05-04T14:50:52.45+00:00
Malcolm Fellmann 5 Reputation points
0 answers

two decimal for label

Hello This is my sample code Label LRO = e.Item.FindControl("LRO") as Label; LRO.Text = roff; its should return value in something example two digit decimal 12.45 14.00 15.12 how to do so thanks

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 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.
299 questions
asked 2024-05-04T14:42:56.72+00:00
RAVI 896 Reputation points
0 answers

round value automtically

Hello I have one Label1 and textbox1 for example Label1 has value = 490.56 In textox1 i have to show round off value on button click = 0.44 for example Label1 has value = 30.12 In textox1 i have to show round off value on button click = -0.12 how to do…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
asked 2024-05-04T14:40:44.82+00:00
RAVI 896 Reputation points
2 answers

Deployment problem - error MSB4186: Invalid static method invocation syntax

I've got a .net core 8 app being deployed to a windows box and I'm getting the following errors no matter what I do after the pipeline completes successfully: MSB4186: Invalid static method invocation syntax:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
asked 2024-04-11T14:05:02.25+00:00
Michael B 25 Reputation points
answered 2024-05-04T14:36:29.9866667+00:00
Jean-Paul C 0 Reputation points
0 answers

SignalR connection

How can I test the connection of SignalR hub without client I write this code and do not know how to test to check if there is a problem in my code here is part of my code that is for signalR in my api: please tell me how should I do to connect…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
asked 2024-05-03T23:01:03.9033333+00:00
Sakanat 2024 0 Reputation points
edited a comment 2024-05-04T13:43:52.9133333+00:00
AgaveJoe 26,136 Reputation points
1 answer

(failed) net::ERR_Connection_reset in production site

ASP.NET Web Form site worked fine in test. I moved it to production and the site won't come up. I've done a reinstall and double checked all I could. I looked for an answer into this and came away with it being a browser issue when it is not that as this…

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,378 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
asked 2024-05-03T20:57:13.07+00:00
Brown, Matt 26 Reputation points
answered 2024-05-04T13:32:05.0166667+00:00
MotoX80 31,816 Reputation points
0 answers

Can not sign app bundle Google Play

Hello, I am appriciate if some one can help me figure out what problem, this is first time I use Net Maui to deploy Android app. I create new app on Play Console, and choose Use Google-generated key to create new key in Setup/**App signing **I notice…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 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,624 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-05-04T12:18:31.3333333+00:00
Kid 0 Reputation points
2 answers

Getting failed: NET::ERR_Connection_reset in production.

I'm getting this error when I uploaded a new site to production. I've looked elsewhere and so far the results point to it being a browser issue except anyone going to the site gets the same error. The site uses SSO, but it never reaches it as it errors…

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,378 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,272 questions
asked 2024-05-03T21:04:03.0266667+00:00
Brown, Matt 26 Reputation points
answered 2024-05-04T11:13:44.59+00:00
AgaveJoe 26,136 Reputation points
0 answers

can not use android .aar in win 11?

I am using .net MAUI 8 and use .aar (android binding) to .dll. in win10 it is ok and in win11 there is error: why?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-05-04T10:50:13.35+00:00
mc 3,701 Reputation points
1 answer

Visual Studio problem

I am using Visual Studio 2019. And in the toolbox, there is this thing called "NavigationMenu". But I don't see it in the toolbox, and I need it for my project. Please help me

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,835 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,658 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,624 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,277 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.
945 questions
asked 2024-05-04T04:29:26.4733333+00:00
Hamoude Assaf 0 Reputation points
answered 2024-05-04T09:21:03.2033333+00:00
Karen Payne MVP 35,036 Reputation points
0 answers

how to fix 10.2.4.1 Security - Software Dependencies ( .net blazor maui 8.0) to microsoft store

i have published my application in store, recently update my maui blazor application 6.0 tp 8.0 when I submit my msix package to store I am getting 10.2.4.1 Security - Software Dependencies Products may depend on non-integrated software (such as another…

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,396 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,220 questions
asked 2024-05-04T06:48:07.5833333+00:00
Maharasa Subramaniyan 0 Reputation points
1 answer

Azure Function .Net8 Json Deserialization Error

I'm developing an azure function in .Net8 which is a migration from a .net6 in-process function. The code always breaks while trying to deserialize a json object that comes within the EventGridEvent.Data which triggers the function, the deserialization…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,299 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
319 questions
asked 2024-05-03T16:43:16.76+00:00
Adonis Briceno 46 Reputation points
answered 2024-05-04T03:35:25.7733333+00:00
SurferOnWww 1,911 Reputation points
1 answer

How to fire .net analyzers also running project

Hi guys, I'm in trouble with .net analyzers; they works fine building the project but they aren't fired running the project. I don't found any solution either on…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 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,624 questions
asked 2024-04-12T08:20:03.8366667+00:00
Fabrizio Mancin 0 Reputation points
answered 2024-05-04T00:52:39.7433333+00:00
S.Sengupta 15,191 Reputation points MVP
2 answers

How to setup devops pipeline for xamarin.forms ios app to build with ios 17 and xcode 15

How to setup devops pipeline for xamarin.forms ios app to build with ios 17 and xcode 15

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2024-02-23T09:37:28.5833333+00:00
Vinayak Nikam 0 Reputation points
commented 2024-05-03T21:23:03.2933333+00:00
Derek 0 Reputation points
1 answer One of the answers was accepted by the question author.

.NET Framework 4.8.1 compatibility with Windows 10 enterprise LTSC

Hi everyone, I'm trying to run a WinForms application that requires .NET Framework 4.8.1 on a Windows 10 LTSC Enterprise VM. However, I'm encountering an error message stating that 4.8.1 isn't supported on this OS when I try installing. I've confirmed…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,658 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,170 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,125 questions
Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
456 questions
asked 2024-05-03T07:12:57.55+00:00
Michael Alfred 5 Reputation points
accepted 2024-05-03T20:46:58.73+00:00
Michael Alfred 5 Reputation points
1 answer

How to copy current project & assign New Name ?

Hello & Thanks ; I have a current project named GetElementsByTagname and from it I would like to make a new project named GetElementsByTagname-Copy-01 . I want to try different versions of same code . Thanks for your Help...

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,835 questions
asked 2020-08-28T17:03:25.297+00:00
vmars316 621 Reputation points
commented 2024-05-03T18:52:19.21+00:00
RM Haley 11 Reputation points