22,793 questions with .NET-related tags

Sort by: Updated
11 answers

Not remembering source control plug-in (Git)

Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,087 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,341 questions
asked 2023-09-06T18:51:27.7633333+00:00
Brad Knode 60 Reputation points
answered 2024-02-07T17:47:53.25+00:00
Steve Valliere 116 Reputation points
1 answer One of the answers was accepted by the question author.

When hosted in IIS, are ASP.NET applications built targeting old versions of framework vulnerable?

For the sake of argument, imagine I have three ASP.NET Web Applications, each targeting a different version of .NET framework (4.0, 4.5.2, and 4.8). All of these applications are hosted on IIS 8.5 in the same app pool running CLR v4.0. Do each of these…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,087 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,133 questions
asked 2024-02-06T19:19:22.2466667+00:00
PAGE, Devon 0 Reputation points
accepted 2024-02-07T17:45:20.1233333+00:00
PAGE, Devon 0 Reputation points
0 answers

My microsoft store is blocked, can you help me?

Hello there, my problem is that : Microsoft store on my notebook from second hand (probably it is from some company) is blocked, notebook is mine for my personal use. Its running Windows Enterprice, can you someone help me please, I do not want to buy…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,790 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,033 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,678 questions
Microsoft Q&A
Microsoft Q&A
Use this tag to share suggestions, feature requests, and bugs with the Microsoft Q&A team. The Microsoft Q&A team will evaluate your feedback on a regular basis and provide updates along the way.
498 questions
asked 2024-02-07T16:59:17.06+00:00
Filip Henkeľ 0 Reputation points
1 answer

can not tap on swipeView items?

in SwipeView there is Grid and I add TapGestureRecognizer but when I tap on it nothin happen. when I use SwipeView I can not click it ? in SwipeItem?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,494 questions
asked 2024-02-06T16:02:57.39+00:00
mc 3,411 Reputation points
commented 2024-02-07T15:59:02.06+00:00
mc 3,411 Reputation points
1 answer

Net maui picker's title is displaying wrong position ?

Net maui picker's title is displaying wrong position on windows platform ? it is not displaying as like as placeholder any idea how to fix it or this is bug ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,494 questions
asked 2024-02-01T18:10:22.91+00:00
Sami 676 Reputation points
edited a comment 2024-02-07T15:47:39.7933333+00:00
Sami 676 Reputation points
1 answer

[BUG] System::Windows::Forms::OpenFileDialog::AutoUpgradeEnabled does not work correctly with NetCore 8.0

When setting AutoUpgradeEnabled to false in an System::Windows::Forms::OpenFileDialog everything goes right in a .Net 4.8 project no filenames are returned when exiting the dialog in a .Net 8.0 project (netcore8.0-windows) To be able to use…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,087 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,423 questions
asked 2024-02-06T15:51:32.4766667+00:00
Pierre Chatelier 81 Reputation points
answered 2024-02-07T15:27:06.97+00:00
Pierre CHATELIER 11 Reputation points
1 answer

Azure app service reverts to previous version

I have blazor web app I'm deploying to Azure App service using VS2022 Preview publish feature. I have upgrade my project target framework to .NET 8. And I have my publish setting target framework to .NET 8. However after publishing the app the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,087 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,133 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,341 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,094 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,392 questions
asked 2024-01-29T22:02:12.3066667+00:00
JuwonPark-6692 0 Reputation points
commented 2024-02-07T15:24:15.63+00:00
JuwonPark-6692 0 Reputation points
2 answers One of the answers was accepted by the question author.

TempData null after RedirectToAction

I am struggling with some very strange behavior. I have TempData working fine in a test situation. public async Task<IActionResult> Test() { TempData["TEST"] = "HELLO"; return RedirectToAction("Test2"); } …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,087 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,964 questions
asked 2024-02-03T18:53:51.7633333+00:00
Paul Marangoni 126 Reputation points
accepted 2024-02-07T15:14:31.8466667+00:00
Paul Marangoni 126 Reputation points
2 answers

When will .NET 8 (Early Access) be available on Azure Government?

Currently .NET 8 (Early Access) is available on Azure Commercial. I like to know when will .NET 8 (Early Access) be available on Azure Government App Service?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,087 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,964 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,392 questions
asked 2023-12-07T00:52:36.1866667+00:00
Arman Ghazanchyan (Contractor) 10 Reputation points
answered 2024-02-07T14:25:11.14+00:00
farajiluan2 5 Reputation points
1 answer

Unable to capture SessionSwitch events in windows from application

We are using C# “SystemEvents.SessionSwitch” events to monitor System Lock/Unlock. In some machines, we are facing an issue with the SessionSwitch events, not being triggered. We have major functionality that depends on System Lock/Unlock. This behavior…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,790 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.
9,843 questions
asked 2023-05-29T06:18:07.9133333+00:00
Raghu Ravinuthala 10 Reputation points
answered 2024-02-07T14:17:41.6366667+00:00
Castorix31 80,611 Reputation points
1 answer

Session.Set not saving ViewModel past function (only with playwright).

The following problem only occurs when the web page is used by playwright (C#): The web page contains a radio button that lets the user change the marital status of himself. When the radio button is used, the viewmodel is updated via session data…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,964 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,133 questions
asked 2024-02-06T14:10:54.9966667+00:00
Alain Schaerer 0 Reputation points
commented 2024-02-07T14:08:11.99+00:00
Alain Schaerer 0 Reputation points
1 answer

.Net installation using Azure update manager

We are trying to get .Net updates installed using on-demand and schedule option in Azure update manager without any luck. we don't see .Net 6.0\7.0 update is required in the WindowsUpdateExtension.log we did created registry , added .NEt update KB in…

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.
4,391 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,087 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
173 questions
asked 2024-02-07T11:45:57.9+00:00
Prashanth Miryala 0 Reputation points Microsoft Vendor
edited the question 2024-02-07T13:49:08.9433333+00:00
Monalla-MSFT 9,531 Reputation points
4 answers One of the answers was accepted by the question author.

cascading dropdown lists not working

hi all, I am having trouble with two correlated dropdown lists. There are two tables and two classes in the Models folder: I have added the two dropdown lists in the Index page: @model IssueSubCat @{ ViewData["Title"] = "Home…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,964 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,133 questions
asked 2024-02-06T17:54:59.16+00:00
elsvieta 306 Reputation points
accepted 2024-02-07T13:30:18.1733333+00:00
elsvieta 306 Reputation points
1 answer

How can I automatically renew the Access Token in Azure App Service Authentication (Easy Auth) once it is expired

Dear Team, We are in the process of developing of an application. The application first authenticates users using Azure AD, then utilizes the Microsoft Graph API to retrieve the profile information from the authenticated user's Azure Active Directory…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,087 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,740 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,392 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,397 questions
asked 2024-02-01T17:04:56.3733333+00:00
Shivaji Shitole 45 Reputation points
commented 2024-02-07T13:29:50.7966667+00:00
Shivaji Shitole 45 Reputation points
0 answers

Cosmos "This is blocked by your Cosmos DB account firewall settings." within IHostedService

TLDR; Why can't I access Cosmos through an IHostedService when I am able to Access it via aspnet on the same App Service? I have an App service that serves an ASP.Net Core web API as well as hosting an IHostedService instance. The hosted service listens…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,964 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,329 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,392 questions
asked 2024-02-07T01:01:19.2466667+00:00
Cleland, Joe 5 Reputation points
commented 2024-02-07T12:26:34.4466667+00:00
VenkateshDodda-MSFT 15,946 Reputation points Microsoft Employee
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.
3,964 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.
276 questions
asked 2023-11-10T18:01:12.33+00:00
Sheikh Saqib 5 Reputation points
commented 2024-02-07T12:25:05.5166667+00:00
Pavel Tamkovich 0 Reputation points
1 answer

ASP.Net Core Blazor Server - Run specific methods on the client side

Hi, I'm using ASP.Net Core for a lot of my personal and business projects. Especially, I'm often using Blazor Server for my projetcs that requires a GUI for the user experience. Quite regularly, I find myself in a situation where all my logic is…

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,294 questions
asked 2023-08-04T13:17:57.7366667+00:00
Adrien PROMIS 0 Reputation points
commented 2024-02-07T12:23:36.4933333+00:00
Cristian Simionescu 0 Reputation points
2 answers One of the answers was accepted by the question author.

C# app sending email from Outlook 365 account, error "5.7.57 Client not authenticated to send mail"

I have a C# application (.NET 4.8) that sends email from an Outlook 365 mailbox, and here is some code I'm using: I am getting the following error: System.Net.Mail.SmtpException: 'The SMTP server requires a secure connection or the client was not…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,194 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,087 questions
asked 2024-02-01T15:51:07.7433333+00:00
Tim Ammons 0 Reputation points
accepted 2024-02-07T11:44:49.3466667+00:00
Tim Ammons 0 Reputation points
2 answers

Visual studio 2022 Installation error

Can someone help me? I am getting this warning when I try to install .NET development for visual studio 2022 : Couldn't install Microsoft.VisualStudio.Community.Shared.Msi

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,341 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,094 questions
asked 2022-11-19T19:35:11.68+00:00
lambarini 16 Reputation points
commented 2024-02-07T11:30:23.8966667+00:00
sabitova sabina 0 Reputation points
1 answer

support of webforms .aspx pages in core

I have a website using webforms, need to migrate to asp.net core 5, how it can be done. we are using webforms.aspx with JavaScript which calls our BL then BAL calls DAL .DAL is in entityfromwork 5. how long support of webforms will be there?…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,964 questions
asked 2024-02-07T10:18:45.5566667+00:00
Rajesh Kumar Yadav 0 Reputation points
edited an answer 2024-02-07T11:05:37.1666667+00:00
AgaveJoe 25,401 Reputation points