23,874 questions with .NET-related tags

Sort by: Updated
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,370 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,866 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
edited a comment 2024-04-26T05:02:28.06+00:00
Dani_S 2,726 Reputation points
0 answers

I'm trying to read excel from sharepoint by using asp.net but its giving me following error fail: PowerBi_Report.Controllers.HomeController[0] An error occurred while processing the request: The remote server returned an error: (401) Unauthorized.

I have all the permissions for excel present in sharepoint still I'm getting same error can someone please help me out on this I'm pasting my code below using System; using System.Diagnostics; using System.Net; using Microsoft.AspNetCore.Mvc; using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,161 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,238 questions
asked 2024-04-25T10:50:08.6333333+00:00
Rathor, Pradnya 0 Reputation points
edited the question 2024-04-26T02:57:44.18+00:00
XuDong Peng-MSFT 10,101 Reputation points Microsoft Vendor
0 answers

Returning consistent errors in .NET Web API

I have a backend .NET Core Web API application and React App on the front. I would like to be able to return errors from the API and display them in the app. The problem I'm facing is that some classes return errors differently. For example, I'm using…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,161 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.
294 questions
asked 2024-04-25T13:01:35.0233333+00:00
Sebastian Meckovski 25 Reputation points
edited the question 2024-04-26T02:56:24.16+00:00
XuDong Peng-MSFT 10,101 Reputation points Microsoft Vendor
1 answer

Enable a button after scrolling to the bottom of the webview

I am trying to enable a button when the user has scrolled to the bottom of a webview , i tried using navigated , it does not work. In xamarin, we used a customRenderer to achieve this , Can we do this in a simpler way in MAUI? Platform : Android ,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,866 questions
asked 2024-04-25T16:11:38.03+00:00
Manickam, Suraj 220 Reputation points
answered 2024-04-26T02:48:56.96+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,471 Reputation points Microsoft Vendor
0 answers

xamarin control changing button invisible true false in code

How can I control if a button is visible in code. <buttons:BindableButton BindingContext="{Binding Close_Page_Clicked}" HorizontalOptions="EndAndExpand" IsVisible="{Binding…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 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,603 questions
asked 2024-04-26T00:40:13.3866667+00:00
tim 80 Reputation points
edited the question 2024-04-26T02:46:52.52+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
2 answers

Custom ApiController Model Binding type conversion error

According to the Model Binding documentation: In an API controller that has the [ApiController] attribute, invalid model state results in an automatic HTTP 400 response. So when I send an invalid type in the request body (e.g. int instead of string),…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,161 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,238 questions
asked 2024-04-24T10:30:29.13+00:00
iKingNinja 40 Reputation points
edited a comment 2024-04-26T02:38:26.13+00:00
Ping Ni-MSFT 2,085 Reputation points Microsoft Vendor
3 answers

Using SQL Server Read/Write Image Ever Day With A Table

I've a case that need to save Image in database, than user can search/upload site(DB) to site(DB) ever day from winform. Every image size average 250kb - 350kb, The total usage with image perhaps growth 110GB/year without delete form database. I'll…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,828 questions
Bing Image Search
Bing Image Search
A Bing service that supports searching for images and gets comprehensive results.
45 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,708 questions
asked 2024-04-25T12:58:15.02+00:00
LRC1006 0 Reputation points
answered 2024-04-26T02:36:52.5966667+00:00
CosmogHong-MSFT 22,941 Reputation points Microsoft Vendor
0 answers

how to install APP in android in maui?

I will download new version update and install it in my android device.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,866 questions
asked 2024-04-26T01:06:26.5333333+00:00
mc 3,681 Reputation points
commented 2024-04-26T02:36:27.2033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
1 answer

Error with mso99Lwin32client.dll when running WeldingIOTApplication.exe

I received an error message when running WeldingIOTApplication.exe which says "Faulting module name: mso99Lwin32client.dll, version: 16.0.5041.1000, time stamp: 0x5f0562ec". The full error message along with the application and module paths,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 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,671 questions
asked 2024-04-25T11:14:20.84+00:00
Omkar Khamkar 0 Reputation points
answered 2024-04-26T02:35:26.99+00:00
Hui Liu-MSFT 38,251 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Hotfix for Microsoft .NET Framework 4.0

Hello! I need this file please   Hotfix for Microsoft .NET Framework 4.0 (KB2390372).

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,067 questions
.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
2 questions
asked 2024-04-19T15:48:15.7033333+00:00
Mohamed Khalifa 20 Reputation points
commented 2024-04-26T02:31:11.23+00:00
Pradeep M 165 Reputation points Microsoft Vendor
1 answer

Looking for suggestion on storage

I am look for a suggestion on file storage with .net Maui. In my existing .net Android app, I am reading/writing files to a custom folder in the device root basicall /myfolder, this allows the user to connect and transfer files to/from the device…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,866 questions
asked 2024-02-05T16:22:48.54+00:00
Phunction 206 Reputation points
commented 2024-04-26T01:46:09.5166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,491 Reputation points Microsoft Vendor
1 answer

can I upgrade my system.web.mvc from 4.5 to 5.0

Hi, I have a couple of related threads about this out there, but it is cluttered, so i created this one I am initially using vs2019. I have an MVC project called Mbsa. It is my primary project. I am using the runtime version v4.0.3.319. It uses .net…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,161 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2024-04-25T21:44:22.7566667+00:00
iqworks Information Quality Works 196 Reputation points
edited the question 2024-04-26T01:40:46.6966667+00:00
Anna Xiu-MSFT 25,626 Reputation points Microsoft Vendor
2 answers

EditForm in Blazor does not work on submit

Below is the source code, brand new blazor project vs2022 , Version 17.9.5 put a break point on string breakpointhere = "z"; examine xx variable - for the model, you will see that the MyTitle string is always null. Such basic stuff…

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,386 questions
asked 2024-04-20T15:03:25.1633333+00:00
Rob Bertora 0 Reputation points
edited an answer 2024-04-26T01:20:41.4066667+00:00
JasonPan - MSFT 4,201 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Create, Reference and use a Razor class library.

Hello! I'm training on Microsoft Learn. My current stage is the following module: https://learn.microsoft.com/en-us/training/modules/blazor-build-reusable-components/3-create-razor-class-library First of all, this exercise starts saying that it uses…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 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,386 questions
Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
1 question
asked 2024-04-24T15:49:23.6733333+00:00
Rafaeleliasgri 0 Reputation points
accepted 2024-04-26T01:06:37.9533333+00:00
Rafaeleliasgri 0 Reputation points
1 answer One of the answers was accepted by the question author.

Help me understand this please!!!!

Hello, im a programmer stundent im doing a project about Cua(Queue in catalan), its a dynamic queue where the data are stored in Nodes, and i want to understand why, in the next code i can use the .Count to get the total of the nodes linked in the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 questions
asked 2024-04-25T21:48:04.65+00:00
isaac girones ribas 0 Reputation points
accepted 2024-04-26T00:04:26.2666667+00:00
isaac girones ribas 0 Reputation points
1 answer

Localize application display name of iOS developed with .NET MAUI?

Display name is localized on android in "Resources\values" folder and it works as expected. However, I can't make it work with iOS. What has been done: My solution : In info.plist : In InfoPlist.strings : In csproj : When I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,866 questions
asked 2024-04-25T23:11:33.74+00:00
Omar H 0 Reputation points
commented 2024-04-25T23:28:15.8233333+00:00
Omar H 0 Reputation points
1 answer

Why => is called token?

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/lambda-operator is => a Token?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 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,238 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,119 questions
asked 2024-04-24T23:59:48.6466667+00:00
LAN SHUHAO 0 Reputation points
edited an answer 2024-04-25T23:17:45.64+00:00
Bruce (SqlWork.com) 55,686 Reputation points
1 answer

How should I add a Blazor UI to an existing .NET Core API?

We have a .NET Core product with an API that we want to create a UI for. We've decided to switch from React (which we've used on other projects) to Blazor because our team all knows C# and only one person knows React/JS. I've done some initial learning…

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,386 questions
asked 2024-04-23T23:30:13.6466667+00:00
Steve Nicholson 0 Reputation points
commented 2024-04-25T20:47:24.96+00:00
Steve Nicholson 0 Reputation points
2 answers One of the answers was accepted by the question author.

Error loading report.rdlc,Unable to copy bin\debug\

Good afternoon again, I have already searched for information online, but I have not been able to find the error. The error is the following: An error occurred during local report processing. The report definition has not been specified, the file is not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,828 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,799 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,238 questions
asked 2024-04-24T20:48:56.4066667+00:00
Roberto Carlos Melgar Dorado 40 Reputation points
accepted 2024-04-25T20:02:00.6933333+00:00
Roberto Carlos Melgar Dorado 40 Reputation points
1 answer One of the answers was accepted by the question author.

How to fix vite error in Angular ASP.NET project?

I have started my Angular ASP.NET project and ended up with the following error, just want to find out how to fix it: Thank you!

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
asked 2024-04-24T03:07:40.3233333+00:00
Yardley Estiverne 20 Reputation points
commented 2024-04-25T17:49:06.5466667+00:00
Yardley Estiverne 20 Reputation points