23,484 questions with .NET-related tags

Sort by: Updated
0 answers

Windows Insider SDK not working since 25936

I'm trying to build a simple .NET 6.0 app - Just install the 25936 insider preview SDK then create a blank WPF/.NET 6.0 app and add to the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,264 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,647 questions
asked 2024-03-25T18:02:12.0833333+00:00
yoyodyne01 26 Reputation points
commented 2024-03-28T18:46:04.6533333+00:00
yoyodyne01 26 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,747 questions
asked 2024-03-25T07:51:44.2733333+00:00
Wheelstring 125 Reputation points
commented 2024-03-28T17:38:39.7233333+00:00
Bruce (SqlWork.com) 53,426 Reputation points
1 answer

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,264 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
answered 2024-03-28T17:27:49.0566667+00:00
Viorel 110.7K Reputation points
0 answers

Opening a Window Using Its Name

From my MainWindow I am trying to open another window knowing only its name. In my MainWindow ViewModel, I have: Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (lpClassName As String, lpWindowName As String) As…

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
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,542 questions
asked 2024-03-26T09:29:31.52+00:00
RogerSchlueter-7899 1,176 Reputation points
commented 2024-03-28T16:54:28.84+00:00
RogerSchlueter-7899 1,176 Reputation points
1 answer

Solutions for .NET Interop Issues involving Sensitivity Labels?

We have code that is supposed to create an Excel document via .NET Interop, then save this workbook. The problem is, starting with Office 365 Build 2312, the sensitivity label functionality has changed, seemingly to accommodate increased restriction on…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,253 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,264 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
896 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,400 questions
asked 2024-02-26T17:59:41.4833333+00:00
JK 40 Reputation points
answered 2024-03-28T16:54:15.26+00:00
Yiannis Papoutsis 10 Reputation points
0 answers

MAUI apps with .NET 8 don't work on android

I'm trying to execute on android the demo app created by visual studio when you create a new MAUI .NET 8 project but I encountered different problems in debug and release mode. Visual Studio version : 17.9.5 When I try to run the app in debug it crashes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,747 questions
asked 2024-03-28T16:36:19.4466667+00:00
paro_ricc 0 Reputation points
1 answer One of the answers was accepted by the question author.

Animation duration for RotateTransform not enforced?

Hello. I'm unable to get a simple rotation animation to work properly on a simple WPF application. I'm targeting .NET 8. Here's what I've done: Created a new WPF C# application using VS2022 Community. My MainWindow.xaml looks like the…

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-26T21:08:29.2866667+00:00
Lionel Keene 20 Reputation points
commented 2024-03-28T16:35:14.17+00:00
Lionel Keene 20 Reputation points
1 answer

When is the .net pace of change going to slow down, or the length of time to support a given .net version going to increase?

Now that .NET has begun to stabilize (and we're getting close to .NET 10), I'm finding that organizations are having a hard time keeping up with the release versions of .NET - 3 years isn't enough time for them to develop and place into production only…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,264 questions
asked 2024-03-28T16:02:04.5766667+00:00
Russell Hires 0 Reputation points
answered 2024-03-28T16:27:56.52+00:00
Bruce (SqlWork.com) 53,426 Reputation points
2 answers

What Is the Best Way to See Raw Data Stream Being Passed from SQL to .NET Application?

I am running some functions on application startup for my .NET application. This mostly involves running a bunch of scripts on my SQL database to ensure plans are cached. These queries are generated from EFCore-compiled queries. In doing this, I…

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,264 questions
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
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,483 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,689 questions
asked 2024-03-14T19:52:31.8+00:00
Mike-E-angelo 441 Reputation points
commented 2024-03-28T16:15:12.0766667+00:00
Bruce (SqlWork.com) 53,426 Reputation points
3 answers

Blazor Web Assembly with Azure AAD and Custom authentication Login

I want to implement two authentication mechanism in my Blazor web assembly application (Azure AD and Custom Authentication). i.e. User can either login via Azure AD or he can go for Custom Authentication. When I register both Custom…

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 2022-06-02T21:42:30.053+00:00
Reishabh Saxena 1 Reputation point
answered 2024-03-28T15:57:10.46+00:00
Timothy Provencio 0 Reputation points
0 answers

ASP.NET - xmlformatter

I have software that was developed for me. It is ASP.NET which I have no experience with thus the development. This was delivered a long while ago. I need to make changes and am struggling. This is a webservice with an api that you can call externally…

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-27T19:42:09.1466667+00:00
Darryl Hoar 121 Reputation points
commented 2024-03-28T15:13:41.8533333+00:00
Darryl Hoar 121 Reputation points
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.
773 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,103 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,747 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,747 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,264 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,264 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,015 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