23,482 questions with .NET-related tags

Sort by: Updated
0 answers

Upload & download an excel file from Onedrive using C# razor page

I am trying to upload & download an excel file to Onedrive using c# razor pages and have tried following code snippets, // Install Microsoft.Graph SDK // Install Microsoft.Identity.Client (MSAL) SDK // Authentication var…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,077 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
772 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,097 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,102 questions
asked 2024-03-28T11:24:47.2+00:00
Amit Patil 0 Reputation points
commented 2024-03-28T14:28:18.8933333+00:00
Amit Patil 0 Reputation points
0 answers

MAUI .net 8 app can't get past splash screen on Android

Hi I am trying to run a new .net MAUI project on Android, it doesn't get past the splash screen and is stuck there. how to fix this?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,746 questions
asked 2023-12-29T16:10:52.7833333+00:00
SSB 81 Reputation points
commented 2024-03-28T14:24:05.17+00:00
Cyrille 0 Reputation points
1 answer

Single transaction, multiple service calls to Entity Framework updating database

Hi all; I have a case with a single database defined by a single Entity Framework DbContext. I have things set up where updating the database is via services. This separates things out nicely and makes it easy to mock the database for the bUnit (Blazor…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
689 questions
asked 2024-03-22T15:46:31.9333333+00:00
David Thielen 2,111 Reputation points
edited a comment 2024-03-28T14:08:44.3866667+00:00
David Thielen 2,111 Reputation points
1 answer

ClickOnce Publishing Issues-Cannot Copy Files

I keep getting this error when publishing files. It does not matter if its to a local directory or URL server. The project builds correctly, and I can run the application. I have administrator rights to all locations. I've tried to delete bin an obj…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,811 questions
asked 2023-03-07T00:42:35.89+00:00
Groz 5 Reputation points
commented 2024-03-28T13:55:04.0533333+00:00
Groz 5 Reputation points
2 answers One of the answers was accepted by the question author.

Integrating RDLC reports in Blazor Web apps

Hello, Is it possible to call RDLC reports in a Blazor web app or use report viewer to load RDLC reports? I'm not seeing the reporting options in the latest framework. Could someone please share examples and resources for integrating RDLC reports with…

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,349 questions
asked 2023-12-25T14:16:50.2066667+00:00
Diwakar Devangam 55 Reputation points
commented 2024-03-28T13:42:29.3066667+00:00
Marvin Münger 0 Reputation points
1 answer One of the answers was accepted by the question author.

how to get imeid or device id in android in maui?

can I get the device Id or IMEID scene is there is many devices and I want to sign them and I have to write something in each device?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,746 questions
asked 2024-03-27T15:05:21.0433333+00:00
mc 3,541 Reputation points
accepted 2024-03-28T13:10:12.56+00:00
mc 3,541 Reputation points
3 answers

Getting 500 internal server error in IIS published site. Though it was working fine previouly.

Getting 500 internal server error in IIS published site. Though it was working fine previouly. HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred. Most likely causes: •IIS…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,263 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2022-10-12T03:40:39.247+00:00
Kurakula, Julia 21 Reputation points
answered 2024-03-28T13:02:41.25+00:00
Robert Srigley 0 Reputation points
0 answers

Strange difference between using Azure OpenAI via the Playground studio and a simple C# .Net program

So I'm testing my Azure AI subscription. I'm running into a difference between the AI Studio (web site) and a simple .Net (C#) program that I find strange. I'm using the same AI deployment for both the Studio as my C# program. It is using…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,263 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,013 questions
asked 2024-03-28T12:52:13.6433333+00:00
Dutchottie 0 Reputation points
1 answer

show financial year from date and to date

Hello I have two requriements 1) Current financial year Is Apr-2023 TO Mar-2024 In asp.net dropdownlist it has to show previous 3 years financial format as below for example on pageload Apr-2023 TO Mar-2024 Apr-2022 TO Mar-2023 Apr-2021 TO Mar-2022 …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
asked 2024-03-28T09:44:11.2633333+00:00
RAVI 776 Reputation points
edited an answer 2024-03-28T12:10:14.5433333+00:00
AgaveJoe 25,866 Reputation points
0 answers

.NET MAUI PLUGIN FOR CAMERA SHOT HDR

Good morning, I should develop an application that allows me to take multiple shots in HDR and then be able to combine them into a single photo. Do you know any plugins to use in .net MAUI? Thank you

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,746 questions
asked 2024-03-28T11:53:41.8433333+00:00
marco 0 Reputation points
4 answers

How to wait for a return value from executed JavaScript MAUI Android Threading

Hello all I want get "right Threading way" when I wait for a JavaScript's result inside android webview (unfortunately function EvaluateJavaScriptAsync doesn't work :-(, cause I have own handler – need both directions from and to Javascript-C#…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,746 questions
asked 2024-03-25T07:51:44.2733333+00:00
Wheelstring 125 Reputation points
answered 2024-03-28T11:32:01.83+00:00
Wheelstring 125 Reputation points
2 answers One of the answers was accepted by the question author.

How to make a Console Application fullscreen in C#?

I want to make a Console Application go into fullscreen automatically, similar to how F11/Alt+Enter does it. I am using .Net 6.0/7.0 in C#. I have seen a previous answer by Karen that involves her Repo and Nuget ConsoleHelperLibrary, but I did not…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,417 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,263 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,512 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,097 questions
asked 2024-03-24T18:24:07.4766667+00:00
Mr.Postal 20 Reputation points
commented 2024-03-28T11:31:27.44+00:00
Mr.Postal 20 Reputation points
0 answers

Seeking help with software runtime issues.

My version is Windows 10 Professional. I encountered runtime issues when using a software called TYPHOON HIL. The engineer of the software mentioned that the problem might be due to occasional lack of permission to access certain paths or files on the C…

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,647 questions
asked 2024-03-28T10:09:28.85+00:00
DS LEE 0 Reputation points
commented 2024-03-28T11:22:10.7333333+00:00
Hui Liu-MSFT 31,116 Reputation points Microsoft Vendor
0 answers

How to add custom file extension in Xamarin.Essentials file picker in all 3 platforms

I want to add custom file extension i.e. ".s37" in file picker filtering options. In UWP with the below code it is working fine but In android and ios not working private async Task SelectFileClicked(object UTType) { var…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2024-03-21T10:31:05.3466667+00:00
Sk 41 Reputation points
commented 2024-03-28T11:01:08.3333333+00:00
Sk 41 Reputation points
0 answers

How to version the dotnet core assemblies when creating image using a dockerfile

I have a dotnet core 6.0 api running which is building perfectly fine using a docker file and being deployed to aks. We are using Azure devops pipelines. Our team lead wants to version the assemblies now. Heres what I have tried so far but doesn't seem…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,077 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,820 questions
asked 2024-03-28T10:27:58.9633333+00:00
Danish Ahmed 0 Reputation points
edited the question 2024-03-28T10:32:35.27+00:00
Danish Ahmed 0 Reputation points
0 answers

How to make System.Timers.Timer call async function synchronously when elapsed?

Hello! I am developing a telegram bot using .NET and I am having an issue. I have two timers that execute functions when elapsed. First timer re-posts a message (deletes a message and then posts identical copy, this is a workaround for the fact that…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,263 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,097 questions
asked 2024-03-28T10:27:40.66+00:00
Roman Kovalov 0 Reputation points
1 answer One of the answers was accepted by the question author.

Permutations Array?

Good day all Master! please help me to fix my problem. This problem is a permutations process. If I click button OK it well shuffle and this display in the listBox1. Please take look the picture below. at this image as you can see it's do permutations…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,263 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,097 questions
asked 2024-03-09T02:28:32.5766667+00:00
Jay-R Hayashi 206 Reputation points
accepted 2024-03-28T10:11:57.01+00:00
Jay-R Hayashi 206 Reputation points
0 answers

How to change the color of hamburger menu icon in Windows - Maui

Hello, When ever I add the flyout page in maui, I can able to see the default hamburger menu icon in the windows. I want to remove that icon and my desired icon or please let me know is there any posibility to change the color of the icon. FYI -…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,746 questions
asked 2024-03-27T06:51:58.7+00:00
Vaibhav Methuku 0 Reputation points
commented 2024-03-28T10:10:14.12+00:00
Vaibhav Methuku 0 Reputation points
0 answers

How to create Dialog, bar graphs in Blazor Webassembly with dynamic data. It will be common component

Title: Creating Dialogs and Bar Graphs in Blazor WebAssembly with Dynamic Data. It will be a common component. Description: I'm currently working on a Blazor WebAssembly project and I need some guidance on two specific tasks: creating dialogs and…

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,349 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.
2 questions
asked 2024-03-28T08:14:22.2566667+00:00
Azizullah Ali 0 Reputation points
commented 2024-03-28T10:04:17.9666667+00:00
AgaveJoe 25,866 Reputation points
0 answers

Creating an IOS app visual studio error

Trying to create a project and when I click create it pops up with an error and I can't seem ti find an answer as to why. Any help please.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2024-03-25T10:54:39.14+00:00
jf3000 0 Reputation points
commented 2024-03-28T10:03:37.06+00:00
jf3000 0 Reputation points