23,976 questions with .NET-related tags

Sort by: Updated
0 answers

How to perform a pivot grid in maui?

Hi, i want to display data from observablecollection in a pivotgrid using .Net Maui 8 like in the picture below. the columns are generated programatically. i write this code in the viewmodel: Stockstcviews =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,897 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,274 questions
asked 2024-05-03T16:24:46.6+00:00
Kaouthar GR AOUICHAOUI 40 Reputation points
1 answer

how to save/update image location in a database via .cs controllers class (button click)

code behind Create.cshtml file the update button @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,267 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,274 questions
asked 2024-05-02T15:50:37.5866667+00:00
KwebenaAcquah-9104 306 Reputation points
edited the question 2024-05-03T16:23:47.7766667+00:00
KwebenaAcquah-9104 306 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,395 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,281 Reputation points
commented 2024-05-03T16:15:07.9866667+00:00
Bruce (SqlWork.com) 56,686 Reputation points
1 answer

ASP.NET Core web app with Microsoft SSO via Azure Microsoft Entra ID and not manage secrets - is it possible?

In the Azure Portal, I create a resource Microsoft Entra ID and then add an app registration. In the app registration I can specify redirect URIs for Microsoft logins (SSO) via "Authentication" for my .NET web app: Authentication button on side…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,187 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,561 questions
asked 2024-05-03T13:15:34.5066667+00:00
Shubash Chumber 0 Reputation points
answered 2024-05-03T16:01:52.57+00:00
Bruce (SqlWork.com) 56,686 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,833 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-03T16:00:20.7533333+00:00
Lpatz-4663 20 Reputation points
1 answer

Microsoft.EntityFrameworkCore.SQLServer 8.0.1 (latest version) has High vulnerabilities on its transitive dependencies. When will we have another patch released with no vulnerabilities on its transitive dependencies?

Microsoft.EntityFrameworkCore.SQLServer 8.0.1 (latest version) has High vulnerabilities due to transitive dependencies on Azure.Identity 1.7.0 and Microsoft.Data.SQLClient5.1.1. Both these dependent packages have a non vulnerable latest version. …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
asked 2024-01-24T18:30:07.4066667+00:00
seshan 0 Reputation points
commented 2024-05-03T15:33:16.2766667+00:00
Scott D. Carson 5 Reputation points
1 answer

.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,125 questions
asked 2024-05-03T09:12:57.5866667+00:00
Fs 0 Reputation points
answered 2024-05-03T14:37:27.1+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
1 answer

.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,654 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,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,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
answered 2024-05-03T14:29:04.8566667+00:00
abbodi86 3,776 Reputation points
1 answer

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,187 questions
asked 2024-05-03T10:05:35.66+00:00
net 6 newbie 121 Reputation points
answered 2024-05-03T14:28:12.4733333+00:00
AgaveJoe 26,136 Reputation points
0 answers

New Form is not shown while drag & drop a Custom Control from toolbox to Designer in WinForms in NetCore

In our Control, we have opened a new form to update the content of our control in the Designer. The new Form is not shown in the NetCore but works properly in the NetFrameWork. I have replicated the same issue in a simple control. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,833 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 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.
944 questions
asked 2024-05-03T14:04:08.6633333+00:00
Karkuvel Rajan Shanmugavel 0 Reputation points
0 answers

How to know if Bluetooth connection is lost when application is running in Xamarin Forms. Any listener will hit?

How we can know if bluetooth connection is lost or turned off when we are running the application without any Button click event. App is connected to some ble devices . How to handle the scenario ? Any listener will hit or not? private void…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 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.
767 questions
asked 2024-05-03T14:00:27.1533333+00:00
Sk 61 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,187 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-03T13:55:43.2633333+00:00
SurferOnWww 1,911 Reputation points
0 answers

issue in OnAppearing() when calling async method, in realse mode , working fine in debug mode

//exception UserProfileData is null in resale mode , working fine in debug mode protected override async void OnAppearing() { try { base.OnAppearing(); UserProfileData ??= new UserProfileData(); if (UserProfileData.IsDataLoaded) …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,897 questions
asked 2024-05-03T13:41:37.7333333+00:00
Ashutosh Mehere 0 Reputation points
edited the question 2024-05-03T13:42:40.23+00:00
Ashutosh Mehere 0 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,396 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,125 questions
asked 2024-05-02T15:11:07.9833333+00:00
mc 3,701 Reputation points
commented 2024-05-03T13:31:47.3366667+00:00
mc 3,701 Reputation points
0 answers

Upload de arquivos no ASP.NET 4.6.1

Good morning my friends! I'm having a lot of difficulty uploading a 1.5GB file to Asp.Net. I've tried different ways but all without success. I adjusted the web.config like this <httpRuntime targetFramework="4.6.1"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,267 questions
asked 2024-05-03T12:47:51.6933333+00:00
Sergio Luiz da Silva 0 Reputation points
1 answer

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,187 questions
asked 2024-05-03T04:17:23.7+00:00
Winanjaya Amijoyo 0 Reputation points
commented 2024-05-03T12:21:35.6333333+00:00
Viorel 112.5K Reputation points
1 answer

Do you know of any forum sites that except questions about uwp making apps & coding, from visual studio 2022

Do you know of any forum sites that except questions about making uwp apps & coding, from visual studio 2022

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
Universal Windows Platform (UWP)
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,187 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,267 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
asked 2024-04-19T11:34:06.13+00:00
Luke Ferguson 46 Reputation points
edited the question 2024-05-03T10:32:36.55+00:00
Luke Ferguson 46 Reputation points
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,396 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

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,187 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,897 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