Microsoft Q&A

.NET

20,550 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,550 questions with .NET-related tags

Sort by: Updated
5 answers

Database Synchronisation/Replication

Hi, I was wondering what some of the best ways to synchronise data stored on a table in a local database with an online server. As I am developing an application that will be ran on multiple devices and will store the data collected in a local database,…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,618 questions
Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
10,907 questions
asked 2023-09-18T04:52:35.56+00:00
Tammen 6 Reputation points
commented 2023-09-21T20:54:02.2766667+00:00
Erland Sommarskog 87,186 Reputation points
0 answers

SQL Server 2022 ADODB connection in classic asp

I can't establish ADODB connection to SQL Server 2022 from classic asp page. Same connection with SQL Server 2014 works fine. How can I determine what is the problem? Here is the code: <%@ language=VBScript…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
618 questions
asked 2023-09-19T14:37:14.4833333+00:00
Kalinin, Pavel 0 Reputation points
commented 2023-09-21T20:19:15.01+00:00
AgaveJoe 24,386 Reputation points
0 answers

Bot to accept human commands

Hi I want to cerate a basic bot which understands simple user commands in English such as 'book staff John Smith on job xyz' and executes the actions on a backend database as insert queries. How do I go about doing this? Where to start? What…

Azure Bot Service
Azure Bot Service
An Azure service that provides an integrated environment for bot development.
668 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
985 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
1,671 questions
asked 2023-09-19T15:10:07.7866667+00:00
-- -- 796 Reputation points
commented 2023-09-21T19:24:28.2933333+00:00
-- -- 796 Reputation points
1 answer

Marshal does not contain a definition for GetLastPInvokeError

In Visual Studio 2019 I'm getting complier error CS0117: 'Marshal' does not contain a definition for 'GetLastPInvokeError' My console application project targets .net framework 4.7.2, which should define GetLastPInvokeError according to the docs (.net…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,766 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
1,041 questions
asked 2023-09-21T17:11:30.6266667+00:00
pWire 0 Reputation points
commented 2023-09-21T19:21:00.29+00:00
pWire 0 Reputation points
0 answers

What do I describe dynamic linking of UWP dll by C++?

Hello! I use VS2022. I don't know how to describe dynamic linking of UWP dll by C++. Please describe sample it's code.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
Universal Windows Platform (UWP)
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,168 questions
asked 2023-09-19T23:11:28.37+00:00
nippy 20 Reputation points
commented 2023-09-21T19:02:50.4466667+00:00
nippy 20 Reputation points
2 answers

How Do I Resolve the Exception: Azure.Identity.CredentialUnavailableException When Attempting to Get a Key Vault Secret

@Alfredo Revilla Hello, I'm attempting to fetch a key vault secret in an Azure Function App. The function app runs within a Docker Linux container. I tried using the ExcludeEnvironmentCredential option when creating an instance of a…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,521 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
asked 2023-09-08T14:14:57.64+00:00
McDonald, Lloyd 0 Reputation points
commented 2023-09-21T18:04:00.4833333+00:00
BRENDAN FOLEY 0 Reputation points
1 answer

ProgressBar style in WinForm

I tried to use ProgressBar in VS 2015 (VB.NET & C#) Community. It works OK except Style. Doesn't matter if I use "Continuous" or "Blocks" style I get "Continuous" style. I also tried in VS 2017 Community and I got…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,618 questions
asked 2021-06-03T10:21:46.273+00:00
UriF 1 Reputation point
commented 2023-09-21T17:53:53.5933333+00:00
Mark Alberi 0 Reputation points
0 answers

How to run AI model in a Blazor frontend

Hi, What is the best way to run a AI model (programmed in Python) that has been deployed in Azure as a managed endpoint in the Blazor frontend of each user of a Blazor website? Is there a way to run the AI model in the Blazor frontend in a simple and…

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,075 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,917 questions
Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
93 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,102 questions
.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.
131 questions
asked 2023-09-21T17:27:39.8233333+00:00
Héðinn Steingrímsson 0 Reputation points
1 answer

How to run simple C# server that expose gRPC communication

I am new to cloud computing and Azure, I've developed a basic .NET Core server that contains gRPC communication. My objective now is to determine the most cost-effective approach to deploy and run this server on Azure, given the limited expected…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,601 questions
asked 2023-09-16T13:41:11.0066667+00:00
ronil21 0 Reputation points
commented 2023-09-21T17:20:52.0333333+00:00
ajkuma 17,436 Reputation points Microsoft Employee
0 answers

Output to Blazor backend from Azure deployed AI model

Hi, We need to get the output of an AI model that runs as a managed endpoint in Azure to our Blazor backend. What is the best way to do that? Is there a way to send the output from the AI model to the Blazor backend once it is ready? If yes, how exactly…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,917 questions
Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
93 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,102 questions
asked 2023-09-21T17:14:52.9166667+00:00
Héðinn Steingrímsson 0 Reputation points
1 answer

i need to upgrade my windows 8.1 to windows 10, processor core i5-3210M

computer is 7 years old but now i can not afford a new one

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
asked 2023-09-21T16:50:24.9233333+00:00
samahir elzaki hassan 0 Reputation points
answered 2023-09-21T16:50:24.9266667+00:00
Q&A Assist
0 answers

How to fix XA3007: Could not link native shared library: libxamarin-app.so in Xamarin.Android.

I'm trying to run and build my Xamarin.Android project in Visual Studio 2022 to upgrade Target Framework and API Level to 33 Android 13 but got the next error:(how can I solve it ?any idea please)

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,144 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,766 questions
asked 2023-09-21T14:09:10.34+00:00
Herrera, Julian 0 Reputation points
edited the question 2023-09-21T16:29:24.6066667+00:00
Herrera, Julian 0 Reputation points
4 answers

Not remembering source control plug-in (Git)

Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,766 questions
asked 2023-09-06T18:51:27.7633333+00:00
Brad Knode 30 Reputation points
edited an answer 2023-09-21T16:28:05.23+00:00
Doug Clutter 0 Reputation points
1 answer

How to fix the 'An unhandled error has occured. Reload. x'

Because of this, i cant click nor navigate my components

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,102 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-21T06:08:32.7733333+00:00
Neil Hyakkimaru 0 Reputation points
answered 2023-09-21T16:14:09.97+00:00
Bruce (SqlWork.com) 43,901 Reputation points
1 answer

MAUI: Listview isvisible property is not working from the code behind?

I am trying to show the selected image or file on my UI on a listview. So initially the listview's IsVisible I set to false and after picking item I set the IsVisible property to true. My problem is after picking item the listview is not visible on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-19T14:24:15.5166667+00:00
Sreejith Sreenivasan 351 Reputation points
commented 2023-09-21T16:12:55.2233333+00:00
Rob Caplan - MSFT 5,212 Reputation points Microsoft Employee
1 answer

How can I create a Complex View Like this one in WPF DataGridView C#?

I created this Example and Tried to make it as Simple as Possible so that you can Understand Clearly. I have SQL Server Database Named EmployeesDB that contains 4 Tables as following: 1.       Employees Table which is the Parent Table in this Example. 2.…

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,474 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,766 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.
10,907 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.
8,943 questions
asked 2023-09-20T09:04:32.94+00:00
Mesh Ka 140 Reputation points
commented 2023-09-21T16:11:41.4433333+00:00
Mesh Ka 140 Reputation points
3 answers

What is the alternate IDE in place of Visual Studio MAC to support the .NET8 in the MAC system for the development of native .NET SDK style IOS projects ?

Hi Team, As we already know Visual Studio for MAC is going to retire in Aug 31, 2024. We are working on Migration of Xamarin Native Projects(Xamarin.Android and Xamarin.IOS) to .Net-Android /.Net-IOS Style Projects. What will be the alternate IDE for…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,144 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,766 questions
asked 2023-09-18T05:53:58.22+00:00
Sheetal Rodrigues 0 Reputation points
answered 2023-09-21T15:53:43.1466667+00:00
Bruce (SqlWork.com) 43,901 Reputation points
0 answers

How to avoid or skip the error when hexadecimal invalid character processed

I am processing some xml document. while reading xml value through dataset, getting below error. System.Xml.XmlException: ''', hexadecimal value 0x02, is an invalid character. Line 1, position 989.' How to avoid this...?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
asked 2023-09-21T09:49:42.04+00:00
Gani_tpt 1,401 Reputation points
commented 2023-09-21T15:38:54.9266667+00:00
Gani_tpt 1,401 Reputation points
2 answers One of the answers was accepted by the question author.

permanent footer row in datagridview

hi , is there a way by which our datagridview control could have a footer row below exactly after the 12 rows and if the rows in the datagridview increases , suppose by 2 . it should always be at last position but it always should be after 12 rows . the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,618 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.
8,943 questions
asked 2023-09-21T12:32:58.41+00:00
ankit goel 546 Reputation points
answered 2023-09-21T15:25:10.0733333+00:00
KOZ6.0 235 Reputation points
1 answer

Use Azure Function (.Net 6) with JwtBearer middleware

Hello, I couldn't find any official documentation on the following: I want Azure function to use bearer token authentication. Is it possible to use Azure Function (.Net 6) with JwtBearer middleware? So like in an ASP.NET app, set this code into…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,426 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
asked 2023-09-19T15:32:07.0833333+00:00
Anita A 25 Reputation points
commented 2023-09-21T15:16:44.26+00:00
MuthuKumaranMurugaachari-MSFT 15,956 Reputation points