23,966 questions with .NET-related tags

Sort by: Updated
0 answers

.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,651 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,169 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,123 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
edited the question 2024-05-03T07:32:10.9566667+00:00
Michael Alfred 5 Reputation points
0 answers

IMAGE UPLOAD USING PHOTO PICKER DIALOG

RegistrationForm.cshtml <div class="mt-2"> <div class="row"> <div class="col-7 col-sm-6"> <div class="d-flex…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,184 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.
298 questions
asked 2024-05-02T10:39:55.1833333+00:00
Nandini S 20 Reputation points
commented 2024-05-03T07:27:29.7333333+00:00
Nandini S 20 Reputation points
0 answers

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

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,295 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,184 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
766 questions
asked 2024-05-03T07:26:25.66+00:00
Kanika Rana 0 Reputation points
2 answers One of the answers was accepted by the question author.

In the .Net framework, I am using a large panel in Form1. In this panel, I call up Form3 and in this Form3, I have created a chart control function. How is it that the chart, which has been placed and sized as desired, is visible during testing but not in

first picture = code second = form3 third = Test run what i try to do is in Form1, add a panel, and in that panel ill switch forms 2,3 and 4 with buttons and in form3 i call Control Chart and use enough space as in picture 2 and i must say all…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,832 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
asked 2024-05-02T23:33:52.27+00:00
Dinant Baan 0 Reputation points
answered 2024-05-03T07:15:05.19+00:00
Dinant Baan 0 Reputation points
0 answers

How to do Search inside a subFolder with Azure AI Search.

In Azure AI Search how to find something inside a subdirectory? right now when I am searching something i am getting result from all of the subfolders, I have to do search within a folder for example right now I am in /Submission directory and there are…

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
718 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,184 questions
asked 2024-05-01T06:29:32.8333333+00:00
Hassan Kaleem 20 Reputation points
commented 2024-05-03T07:00:40.4466667+00:00
ajkuma 22,416 Reputation points Microsoft Employee
1 answer

Detect Scrolled to end of webview to enable a button in maui

I have a custom renderer like this where ScrollWebView is my custom control from webview with IsBottomReached property. I tried registering this Renderer in mauiprogram class, then it started crashing with an exception of "Specified cast is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-05-03T03:37:30.4166667+00:00
Keerthana Krishna 0 Reputation points
answered 2024-05-03T06:47:00.4333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,726 Reputation points Microsoft Vendor
0 answers

Need Help with White Labeling a MAUI App from Existing Project

Hi everyone, I'm seeking guidance on how to white label a MAUI app from an existing project. Are there specific processes or packages available for this purpose? I have an existing app project and would like to customize it with different branding or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-05-03T06:42:26.48+00:00
Satish Durga 0 Reputation points
0 answers

how to upload a picture to a picture1 box in html

code behind cshtml file @model IMS_Project.Models.Product @{ ViewBag.Title = "Product"; ViewBag.SubTitle = "Create"; @using (Html.BeginForm("Create", "Product",…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,265 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,271 questions
asked 2024-05-02T15:50:37.5866667+00:00
KwebenaAcquah-9104 306 Reputation points
commented 2024-05-03T06:39:57.3833333+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,184 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
1 answer

How do I add a CAPTCHA to a web site written with ASP.NET/VB

A bot seems to be using my web site to send out emails via AmazonSES. I want to add a CAPTCHA to it to prevent this. I came across https://stackoverflow.com/questions/71515717/how-to-add-captcha-in-asp-net-project which appears to be what I want, but…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,265 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,577 questions
asked 2024-04-27T05:08:50.44+00:00
Robert Barnes 71 Reputation points
commented 2024-05-03T04:29:43.4033333+00:00
Robert Barnes 71 Reputation points
0 answers

How to prevent the 2nd process to run before the 1st process finished?

Hi How to prevent the 2nd process to run before the 1st process finished? // 1st process if (providerId == "1") { await Do_Provider_OneAsync(x,y,z); } // 2nd process await await Do_Other_Proces_2Async(a,b,c).ContinueWith(async (c2)…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,184 questions
asked 2024-05-03T04:22:02.6166667+00:00
Winanjaya Amijoyo 0 Reputation points
1 answer

Adding Token Based Azure EntraID Authentication to GraphQL APIs created on .NET7

I have a set of GraphQL APIs created on .NET7. I want to authenticate the APIs using Azure Entra ID User/App Access Tokens. Is it possible to achieve the same out of the box, else kindly suggest a workaround.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,184 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,552 questions
asked 2024-04-24T10:05:50.0733333+00:00
Varun Sridhar 0 Reputation points
commented 2024-05-03T04:20:16.76+00:00
Navya 4,000 Reputation points Microsoft Vendor
0 answers

await how to prevent the next process run before the 1st process finished

Hi there, My async code like below: // 1st Process if (providerId == "1") { await Providers.Provider1.Do_ProcessAsync(token, param1, param2); } // 2nd Process await Do_Other_Process1Async(x,y,z).ContinueWith(async (c1) => { await…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,184 questions
asked 2024-05-03T04:17:23.7+00:00
Winanjaya Amijoyo 0 Reputation points
1 answer

How to connect different Azure Id with Visual Studio 2022 Id

Can other people connect and use it with one ID(Tenant ID or Subscription ID, ...)? ( For Test Purpose ) If so, how can this be done? Thank you.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,123 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,184 questions
asked 2024-05-02T08:22:12.4066667+00:00
KHSong 0 Reputation points
edited an answer 2024-05-03T04:15:06.8033333+00:00
Gowtham CP 80 Reputation points
1 answer

*How do I add MVC 4 to an existing .net framework web application 4.8 that includes controller and view folders, and routing information.

This question starts in https://learn.microsoft.com/en-us/answers/questions/1662118/how-do-i-add-an-mvc-template-to-my-web-app-project  I thought that is should be more specific in my question, so, I created a new post with more a more specific title. I…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,265 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,620 questions
asked 2024-05-02T20:34:23.9733333+00:00
iqworks Information Quality Works 216 Reputation points
answered 2024-05-03T03:11:24.2733333+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
1 answer

Migrate SQLite db from Xamarin Android to NET Maui app?

I am having issue with one of my app migration to .NET MAUI. When I migrate, I am unable to access SQLlite databse which was being used in Xamarin in XAMARIN database was being accessed as…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-05-02T02:26:31.5566667+00:00
BKS 20 Reputation points
commented 2024-05-03T03:08:44.7933333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,726 Reputation points Microsoft Vendor
0 answers

How to fix StackOverflowException after upgrading from .Net 6 to .Net 8

Hello,   I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,184 questions
asked 2024-04-26T06:39:38.71+00:00
Abhishek, Burra 0 Reputation points
commented 2024-05-03T01:49:54.88+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
1 answer

.NET MAUI: downloading a file in the background (Android)

Hello. Is there a way to do some action in background in case of android devices? For example, in my app I have a callback that starts to download a file after user pressed the download button. This file is quite large and some devices may turn off their…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-05-02T23:04:10.0233333+00:00
rodionovid 60 Reputation points
answered 2024-05-03T01:48:50.3833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,726 Reputation points Microsoft Vendor
0 answers

Data Models

I have two Models, CustomerModel and CustomerInfo neither one relates to the other except that the Model(s) have fields in the same table and I wanted to separate the fields in the Models because they are used in different views of my .Net Maui…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 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,271 questions
asked 2024-05-01T21:46:42.2566667+00:00
Tom Meier 80 Reputation points
edited a comment 2024-05-03T01:48:34.54+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,446 Reputation points Microsoft Vendor
1 answer

WPF Select All Checkbox in a DataGrid DataBinding (Using Xampp, SQLYog, ODBC Driver)

Hi! Everyone I have been searching and integrating all checkbox multiselect from the answers I found online, and I l learnt so much, whether they use MVVM Light tollkit and Non-MVVM approach. All of them runs in different way but all are fulfilled the…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,676 questions
asked 2024-04-30T06:36:42.5033333+00:00
Superbia15 0 Reputation points
edited an answer 2024-05-03T01:41:45.85+00:00
Hui Liu-MSFT 38,866 Reputation points Microsoft Vendor