23,969 questions with .NET-related tags

Sort by: Updated
1 answer

.NET 6 In-process worker model

I have Azure Function Apps running on .NET 6 (LTS) In-process worker model. There is a service health advisory released from Microsoft that they will end the support of .NET 6 on Azure Function from 12th November 2024 onwards. Also,there is one more…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,293 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
asked 2024-05-02T05:25:18.2633333+00:00
Chakraborty, Shubham 0 Reputation points
answered 2024-05-03T10:21:20.5333333+00:00
JananiRamesh-MSFT 21,321 Reputation points
0 answers

Under Posting Attack in .NET Core

In .NET 6 I have a DTO with value data types like int. But while sending a POST request if user omits the value for that default value is getting assigned without any Error. What are the best practices to avoid this under posting? I have tried using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,185 questions
asked 2024-05-03T10:05:35.66+00:00
net 6 newbie 121 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,272 questions
asked 2024-05-02T15:50:37.5866667+00:00
KwebenaAcquah-9104 306 Reputation points
edited a comment 2024-05-03T10:02:12.3566667+00:00
KwebenaAcquah-9104 306 Reputation points
0 answers

Develop an ASP.NET Core web app that consumes an API assessment fail

Hi, I recently attempted the applied skill assessment: Develop an ASP.NET Core web app that consumes an API Although not all requirements were very clear, I was confident I completed all the tasks. everything was tested by me and all the functionality…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,185 questions
asked 2024-05-03T09:03:54.2166667+00:00
robin lenaerts 0 Reputation points
edited the question 2024-05-03T09:56:37.4366667+00:00
PRADEEPCHEEKATLA-MSFT 77,676 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

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
commented 2024-05-03T09:50:03.51+00:00
Keerthana Krishna 0 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,185 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
edited a comment 2024-05-03T09:41:48.0266667+00:00
SurferOnWww 1,911 Reputation points
1 answer

how to use md5withrsa in .net?

how to use md5withrsa to hash string with private key?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,124 questions
asked 2024-05-02T15:11:07.9833333+00:00
mc 3,701 Reputation points
edited an answer 2024-05-03T09:17:56.3066667+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
0 answers

.Net SmtpClient protocol error?

Hi, having an issue sending EMails using System.Net.Mail.SmtpClient to a mail server using postfix and postscreen using postscreen_greet_action = enforce. It seams, that the SmtpClient fails to process all greetings lines prior to sending the EHLO…

.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,124 questions
asked 2024-05-03T09:12:57.5866667+00:00
Fs 0 Reputation points
edited the question 2024-05-03T09:13:39.7633333+00:00
Fs 0 Reputation points
0 answers

CTRL Commands Not Working with Winforms Web Browser

Hello, We have an application with a winforms web browser hosted on a WPF window and this browser is used to load HTML's within our application. These HTML files have fields that allow users to fill out. Letters and numbers work fine when put into the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,832 questions
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-22T20:38:22.62+00:00
Lpatz-4663 20 Reputation points
commented 2024-05-03T09:08:00.9366667+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
1 answer

Numbers are not displayed properly when using Arabic culture with Right-to-Left (RTL) flow direction in WPF.

When using a textbox in Arabic culture with RTL, numbers are displayed in Arabic numerals. However, I want them to be displayed in standard numerals only. FlowDirection="LeftToRight": FlowDirection="RightToLeft": Code…

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-05-02T13:12:21.38+00:00
Vignesh 0 Reputation points
commented 2024-05-03T09:01:20.53+00:00
Viorel 112.5K Reputation points
0 answers

Unable to upload an image to my blob storage account

So i am trying to upload an image to my blob storage and I keep getting this error <Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed…

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,272 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
94 questions
asked 2024-05-03T08:58:12.4+00:00
ProDevs 0 Reputation points
4 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
commented 2024-05-03T08:56:13.4233333+00:00
Dani_S 2,726 Reputation points
3 answers

How to view/show image from file server path on button click

i am developing asp.net application. i am uploading many image documents in file server path like example (\server2\prj1\picture1.png) At the same time, i want to view/show the same file (image document) on button click event. How to show this image…

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,272 questions
asked 2024-04-27T18:06:29.1133333+00:00
Gani_tpt 1,546 Reputation points
commented 2024-05-03T08:22:31.3566667+00:00
Lan Huang-MSFT 25,636 Reputation points Microsoft Vendor
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,653 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,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,124 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

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,185 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.
719 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,185 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
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

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,185 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,578 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