24,146 questions with .NET-related tags

Sort by: Updated
0 answers

Getting a 10054 error when calling a Cognitive Services API from VSTO Word Add-in

I am developing a Word VSTO add-in so that I can call a Cognitive Services knowledgebase service. The code is pretty straight-forward and works fine when I run it from a windows console app (a similar call in python also works without…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,434 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,332 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,545 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
362 questions
asked 2024-05-15T21:16:54.8833333+00:00
AdamMorgan-1941 10 Reputation points
6 answers

How can I avoid TaskCanceledException by RemoteNavigationManager

Hi all; I have a Blazor server app and every couple of minutes I get the following in my logs: Error 12:09:54 [] Microsoft.AspNetCore.Components.Server.Circuits.RemoteNavigationManager - Navigation failed when changing the location to…

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,409 questions
asked 2024-03-09T14:03:15.4966667+00:00
David Thielen 2,286 Reputation points
answered 2024-05-15T21:03:37.3766667+00:00
Bruce (SqlWork.com) 57,406 Reputation points
3 answers

set order by based on asc series

Hello This is my sql table with data /****** Object: Table [dbo].[temp_days_order_pending] Script Date: 05/15/2024 23:12:34 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,296 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,833 questions
asked 2024-05-15T17:50:11.12+00:00
RAVI 916 Reputation points
edited an answer 2024-05-15T20:48:13.2566667+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer

In Blazor Web App Server authentication Azure missing iss claims

Hello, I followed this guide to create a Blazor Web App (server) with azure athentication https://learn.microsoft.com/it-it/entra/identity-platform/tutorial-blazor-server and it works. here the authentication…

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,409 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,715 questions
asked 2024-05-14T08:32:37.7933333+00:00
Stefania Robuschi 0 Reputation points
edited an answer 2024-05-15T20:02:47+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer One of the answers was accepted by the question author.

Maui for Android default font size

Hello All. if I have an Entry control that I don't set it's font size. How I can programmatically get it's font size. in other words how I get the default font size of a control that have text in it. Thank you very much.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-14T06:09:21.7466667+00:00
Haviv Elbsz 1,926 Reputation points
accepted 2024-05-15T20:00:41.14+00:00
Haviv Elbsz 1,926 Reputation points
1 answer

Taking long time when handling large amount of data in gridview

I have been developing ASP.NET application. i am storing the image to sql table as binary format. i have more than 5000 customer records in the table. every customer will have the medical certificate as image in will be stored in SQL table in binary…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,296 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,332 questions
asked 2024-05-14T17:50:12.66+00:00
Gani_tpt 1,606 Reputation points
answered 2024-05-15T19:24:36.38+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer

.Net Maui, ability to access external sd card

With the removal of read and write permissions to external storage, is there any way to access external SD cards? My app normally relies on being able to automatically backup data to external SD cards in the event the tablet dies or is broken. Is there…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-15T16:07:34.8933333+00:00
Phunction 206 Reputation points
answered 2024-05-15T19:16:30.7866667+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer

Not able to get all paging checkbox checked records in gridview asp.net c#

I am using gridview with paging. i done all the pagination code and selected checkbox. Checkbox "CheclALL" is working fine with every page. But, when i save the record, it will be saving only last page checkbox checked values. What is the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,296 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,332 questions
asked 2024-05-13T15:30:31.1333333+00:00
Gani_tpt 1,606 Reputation points
edited a comment 2024-05-15T18:27:05.09+00:00
Gani_tpt 1,606 Reputation points
2 answers

CORS configuration does not work as expected

Hello! I am going through the course module "Create a full stack application by using React and minimal API for ASP.NET Core" and this unit describes steps to enable CORS in response to allow client app request data from API -…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
8 questions
asked 2024-05-15T10:07:49.2366667+00:00
RomKo 0 Reputation points
edited an answer 2024-05-15T18:10:44.2366667+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,740 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 20 Reputation points
commented 2024-05-15T17:32:52.2333333+00:00
Grant Schaffer 20 Reputation points
5 answers One of the answers was accepted by the question author.

Visual Studio 2022 won't connect to NuGet

Visual Studio 2022 gives an error when trying to browse NuGet. I get these errors on 2 different Windows Servers (2016) I’ve tried. One running Visual Studio 2017, the other running Visual Studio 2019 and 2022. Visual Studio 2017: “[nuget.org] Unable to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,434 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
973 questions
asked 2022-08-08T17:50:50.513+00:00
mindmischief 36 Reputation points
commented 2024-05-15T17:24:39.9533333+00:00
Chrétien Nzanga 0 Reputation points
1 answer One of the answers was accepted by the question author.

.NET 6 In-process worker model

I have Azure Function Apps running on .NET 6 (LTS) In-process worker model. There is a service health advisory released from Microsoft that they will end the support of .NET 6 on Azure Function from 12th November 2024 onwards. Also,there is one more…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,340 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,434 questions
asked 2024-05-02T05:25:18.2633333+00:00
Chakraborty, Shubham 20 Reputation points
accepted 2024-05-15T17:14:49.5366667+00:00
Chakraborty, Shubham 20 Reputation points
0 answers

What is the Maximum size of a EventMessage or Event Data in Event Viewer. For Security channel and other channels System, Direcory Service.

What is the maximum size of a single event in Event viewer? Event message maximum length and a Event's size in kb? Does it vary for Security channel and System/ Directory Server channels?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,845 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,815 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,435 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,736 questions
asked 2024-05-15T10:27:43.9533333+00:00
Bakya ABL 21 Reputation points
edited the question 2024-05-15T16:55:52.4733333+00:00
Bakya ABL 21 Reputation points
2 answers One of the answers was accepted by the question author.

How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?

Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 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,409 questions
asked 2024-05-10T13:41:33.87+00:00
Matěj Rada 20 Reputation points
accepted 2024-05-15T16:35:51.38+00:00
Matěj Rada 20 Reputation points
1 answer

MAUI: The CollectionView items collide with each other when scrolling

When I try to scroll top to bottom at that time, the CollectionView items collide on the iOS platform, but it works fine on the Android platform. Below, I am adding a screenshot and Screen record of this issue. Screenshot: Screen Record: screen record…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-04-29T14:07:42.5733333+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-15T15:59:30.96+00:00
Aleena George 20 Reputation points
0 answers

Error when uploading CSV files to Azure blob storage using ManagedIdentity with C# and GraphQLAPI. "Total size of resourceFiles is using 147% of available space after processing."

Hello All, I have created a console app using C# where I try to fetch the data from GraphQLAPI and store the data in csv files. post that it would be uploaded to the Azure blob storage using ManagedIdentity. This complete code work fine in my local VS…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,296 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,674 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,332 questions
asked 2024-05-15T08:40:14.42+00:00
Siddhesh Chavan 0 Reputation points
commented 2024-05-15T15:56:22.2233333+00:00
ShaikMaheer-MSFT 38,046 Reputation points Microsoft Employee
12 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.
3,434 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,660 questions
asked 2023-09-06T18:51:27.7633333+00:00
Brad Knode 60 Reputation points
commented 2024-05-15T15:56:01.7733333+00:00
Adrian Stanley 0 Reputation points
1 answer

How to dynamically change the port listened by Webserver in. NET when the Webserver is running

I created a NET 8 Console Application to create a WebServer and make it a Windows Service, in Program.cs, the code implementation is as follows var webOptions = new WebApplicationOptions() { Args = args, ContentRootPath =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,434 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
asked 2024-05-15T07:45:43.5233333+00:00
Aspire 81 Reputation points
answered 2024-05-15T15:43:05.2733333+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer

ManagedIdentityApplication.AcquireTokenForManagedIdentity("api://AzureADTokenExchange") giving error in local machine.

Hi, I am implementing the "Federated Identity Credential" along with User Managed identity in .net core 3.1 web api. Getting the error code: "managed_identity_unreachable_network" with error message "A socket operation was…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,204 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,715 questions
asked 2024-05-10T11:41:44.0866667+00:00
SivaD 0 Reputation points Microsoft Vendor
answered 2024-05-15T15:23:07.7266667+00:00
Bruce (SqlWork.com) 57,406 Reputation points
1 answer

How to get the bindable data from View MAUI

I have a code snippet below where I dynamically add data to StackLayout. For Xamarin Forms using BindingContext, I could access the data bound to the view. But this is not possible in.net MAUI. Is there any documentation for the same? public class MyData…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-14T12:14:20.2066667+00:00
Chinmay Dole 20 Reputation points
accepted 2024-05-15T14:05:49.4666667+00:00
Chinmay Dole 20 Reputation points