23,774 questions with .NET-related tags

Sort by: Updated
2 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,344 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,686 Reputation points
answered 2024-04-18T21:53:18.57+00:00
Bruce (SqlWork.com) 54,866 Reputation points
0 answers

@bind-Value:event="oninput" does not work for InputText blazor component?

I am new to Blazor and I am having trouble understanding why the oninput event does not work for the InputText Blazor component but works for the HTML input tag. I am also getting errors, which I do not understand. I am using .NET 8 Blazor Server app.…

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,375 questions
asked 2023-12-21T02:04:44.3066667+00:00
PrateekArora-1569 5 Reputation points
commented 2024-04-18T21:31:44.4433333+00:00
Bruce (SqlWork.com) 54,866 Reputation points
1 answer

Need help with a problem in my Blazor .NET 8 server application

I'm facing an issue and I'm not sure who to ask for help. Could you please provide me with some suggestions? I've been unable to find my mistake despite my research.I've implemented user authentication in a Blazor .NET 8 server application, where I'm…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,344 questions
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,375 questions
asked 2024-04-18T11:18:23.39+00:00
Esma 0 Reputation points
edited an answer 2024-04-18T21:22:02.3466667+00:00
Bruce (SqlWork.com) 54,866 Reputation points
1 answer

Should I install an older version of Visual Studio to work on an old ASP.NET app?

I prefer to use Visual Studio 2022, because I've been working with newer, .NET projects. However, I may be assigned to do some maintenance on an older, .NET Framework ASP.NET WebForms application. I've been familiarizing myself with the app this morning…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
asked 2024-04-18T17:00:47.3866667+00:00
Falanga, Rod, DOH 60 Reputation points
commented 2024-04-18T21:15:13.5466667+00:00
Falanga, Rod, DOH 60 Reputation points
0 answers

Laptop stuck in a log in loop

I have a surface pro 9, and sometimes when I log into it (i use my face ID or my PIN) it takes me to the main screen, but suddenly it flips back to the login screen and I have to log in again. It doesn’t do this often, but last night it all of a sudden…

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,195 questions
F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
55 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.
89 questions
asked 2024-04-18T21:05:10.0666667+00:00
Gameela 0 Reputation points
1 answer

Net6 C#, Linux vs Windows, different floating point calculations?

I am doing floating point calculation with doubles with C# under Net6 (runtime Net 6.0.2) on Windows (Windows Server 2019 Datacenter) and Linux (ubuntu 20.04), and I get different results. I did this : double a = 350668.75030235935; double b =…

.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,117 questions
asked 2022-11-21T09:11:23.04+00:00
Omar El Hassani 1 Reputation point
edited a comment 2024-04-18T20:18:14.95+00:00
Thomas 0 Reputation points
2 answers

Trying to figure out why ocx file wont load form.

Program is able to run perfectly fine, but when trying to edit the form you get: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,820 questions
asked 2024-04-15T19:15:47.7333333+00:00
Zach M 0 Reputation points
commented 2024-04-18T20:11:38.12+00:00
RLWA32 40,021 Reputation points
1 answer

ASP SQL connection string to Windows Server 2022 Datacenter Azure Edition

I have an ASP website residing on a Windows Server 2022 Datacenter Azure Edition. The website is linked to a SQL database on the same server. When trying to log in, the connection fails with message "Exception:Thrown: "A network-related or…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
929 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,637 questions
asked 2024-04-18T17:46:52.3166667+00:00
Product Support 0 Reputation points
answered 2024-04-18T18:13:41.6333333+00:00
Vahid Ghafarpour 17,700 Reputation points
1 answer

How to contribute to MAUI Development/Bug fixing

Hi everyone, I'm developing some apps with .NET MAUI. I'm facing some issues related for example with CollectionViews and Labels. I would really enjoy being able to see the root cause of this issues in MAUI source code and try to fix them and contribute…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-18T10:15:15.3166667+00:00
Pereira, Bruno 0 Reputation points
answered 2024-04-18T17:03:20.94+00:00
Bruce (SqlWork.com) 54,866 Reputation points
1 answer

Recognize whether the user is logged in

In Windows 10 and Windows 11, apps that are started automatically at startup are already started before the user has logged in. In Windows 8.1, such automatically launched apps were only started after the user had logged in. At least this is the case on…

Universal Windows Platform (UWP)
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,666 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,412 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,195 questions
asked 2024-04-18T15:03:37.3466667+00:00
Heiko 1,191 Reputation points
commented 2024-04-18T16:52:00.37+00:00
RLWA32 40,021 Reputation points
2 answers

how can add data using for loop

I want to insert some array data into the database. Here using for loop. The problem is - I want to keep the InvoiceNO related to the OrderNumber change. For example, if the OrderNumber changes, the InvoiceNO will also change. I have shown it in the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-18T10:36:25.6733333+00:00
jewel 701 Reputation points
commented 2024-04-18T16:39:38.8833333+00:00
jewel 701 Reputation points
1 answer

Como posso baixar software da Microsoft de forma segura e confiável?

Explore fontes confiáveis para downloads seguros de software e garanta uma experiência tranquila com nosso site, oferecendo opções de baixar sem complicações!

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
asked 2024-04-18T15:56:03.63+00:00
crackeialivre 0 Reputation points
answered 2024-04-18T16:20:46.5833333+00:00
sda3 0 Reputation points
0 answers

Consume ML.NET from .NET Framework 4.8

Hello, I am wondering if it is possible to consume an ML.NET Model from .NET Framework 4.8? If I consume the ML model from .NET Core it works perfectly but I need to make it work for .NET4.8 Thanks in advance for your help.

.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
150 questions
asked 2022-06-27T05:47:05.253+00:00
SAMIL 6 Reputation points
commented 2024-04-18T16:11:53.05+00:00
Mohamed Qandil 0 Reputation points
1 answer One of the answers was accepted by the question author.

does razor pages support aot?

razor pages support AOT?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-17T15:36:34.7966667+00:00
mc 3,641 Reputation points
edited a comment 2024-04-18T16:06:52.17+00:00
Bruce (SqlWork.com) 54,866 Reputation points
1 answer

Versioned Artifacts for .NET Framework and .NET Core application(s)

Hi Microsoft, I am trying to create versioned artifacts for dotnet applications (.NET Framework & .NET Core) using msbuild and dotnet CLI commands. I ran it for msbuild while implementing CI/CD pipeline using GitHub Actions following Microsoft's…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
asked 2024-04-17T17:41:02.4466667+00:00
Arjun Goel 0 Reputation points
answered 2024-04-18T15:57:12.3+00:00
Bruce (SqlWork.com) 54,866 Reputation points
1 answer

PresentationFramework problem

I'm developing an app on VS2022 C# .NET4.5.2 WPF upgraded to .NET4.8 After the upgrade when running the .exe file on WIN11 I get the following error: "Not possible to load th efile or assembly 'PresentationFramework', Version 3.0.0.0,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,344 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,195 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
961 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,096 questions
asked 2024-04-18T10:00:35.6533333+00:00
silvano diliso 0 Reputation points
answered 2024-04-18T15:37:45.4766667+00:00
EckiS 821 Reputation points
0 answers

Screen Orientation in .NET Maui Application

I am looking to force a certain page to be displayed in landscape mode only. Is there a way to do this in shared code (I am only producing for iOS and Android, no Windows or MacCatalyst needed).

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-18T14:53:49.4766667+00:00
Isspro-eng 20 Reputation points
0 answers

Azure B2C for a Blazor WASM randomly stopped working?

Hey all sorry to be a burden but I am running out of options for this so I thought I would ask Over the Easter Break I taught myself how to implement Azure B2C in a Blazor WASM+Api environment for SPA (using .Net 7). I followed this tutorial for the…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
929 questions
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,375 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,379 questions
asked 2024-04-18T14:22:24.6333333+00:00
Jeremy Beare 0 Reputation points
edited the question 2024-04-18T14:23:36.04+00:00
Jeremy Beare 0 Reputation points
0 answers

How to update my career as experience is going up

For Last 8 years I am writing, coding using c# with .NET Technologies like asp.net web form, asp.net mvc, web api, SQL server (Table Creation, Stored procedure, joins, index, view so on) and also worked other technologies like angular as fullstack…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,344 questions
asked 2024-04-18T14:05:04.6+00:00
coder rock 176 Reputation points
1 answer One of the answers was accepted by the question author.

how to pass data from child table to controller

I got stuck in a tricky problem. I can't find the solution anywhere. Clicking on the row of my datatable opens the child table. Checkboxes are attached to both parent table and child table. Clicking the DataTable checkbox(name="Selectall"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-17T10:40:31.2233333+00:00
jewel 701 Reputation points
accepted 2024-04-18T13:20:32.2766667+00:00
jewel 701 Reputation points