23,873 questions with .NET-related tags

Sort by: Updated
0 answers

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
edited the question 2024-04-26T01:22:29.67+00:00
Tianyu Sun-MSFT 27,266 Reputation points Microsoft Vendor
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
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,253 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,239 questions
asked 2024-04-25T10:50:08.6333333+00:00
Rathor, Pradnya 0 Reputation points
edited the question 2024-04-26T01:21:25.5066667+00:00
Tianyu Sun-MSFT 27,266 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
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
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,604 questions
asked 2024-04-26T00:40:13.3866667+00:00
tim 80 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,239 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
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
commented 2024-04-25T22:48:59.3733333+00:00
Bruce (SqlWork.com) 55,686 Reputation points
2 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,705 questions
asked 2024-04-25T12:58:15.02+00:00
LRC1006 0 Reputation points
answered 2024-04-25T22:19:27.47+00:00
Bez 0 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

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,158 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,239 questions
asked 2024-04-24T10:30:29.13+00:00
iKingNinja 40 Reputation points
commented 2024-04-25T20:32:38.7433333+00:00
Bruce (SqlWork.com) 55,686 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,239 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

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
answered 2024-04-25T19:43:18.8333333+00:00
Phunction 206 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,253 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
1 answer

How to Sum, Join, Union, Group By Month And Year Using LINQ Query

I have two tables. I want to find the sum of the data in one table and the subtraction of the second table. I am trying to explain the matter by attaching an image below. Note here that I don't know which table's data will come first. Maybe the data of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,158 questions
asked 2024-04-24T09:55:08.01+00:00
jewel 781 Reputation points
answered 2024-04-25T17:30:47.7266667+00:00
Lucas Santos 0 Reputation points
1 answer

How to include in my App on Android text files

Hi to All. I've done a App for Android. This App uses particular files in old format MSDOS. First: how can include with the app on the tablet this files? (i.e. in the same directoy of the App).Second: the code page of MSDOS is quite different with…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
asked 2024-04-24T08:20:46.5966667+00:00
Paolo Mossa 161 Reputation points
commented 2024-04-25T17:23:15.7966667+00:00
Paolo Mossa 161 Reputation points
0 answers

How can I prevent window titles from overlapping in a Maui app with shell navigation and modals?

I'm developing a Maui app with shell navigation and modals, and I'm encountering an issue with overlapping window titles. When navigating from the main page to another page using shell navigation, a back button appears, causing the window title to shift…

.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:52:05.36+00:00
Ansh 0 Reputation points
0 answers

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