Microsoft Q&A

.NET

20,776 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,776 questions with .NET-related tags

Sort by: Updated
1 answer

Reporting Tool for WPF-C# 10.0-Net 6.0-Entity Framework Core- MS SQL

Hi, I need a Reporting Tool to produce outputs for my application. Crystal Report from SAP works only with .Net version lower than 4.8, I had a look and some tests with FastReport WPF but I'm facing some problems in particular with Swiss QrCode. Do you…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 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,485 questions
asked 2023-10-03T14:25:37.76+00:00
Dimitri Garmaise 291 Reputation points
answered 2023-10-04T02:03:50.9866667+00:00
Hui Liu-MSFT 21,616 Reputation points Microsoft Vendor
1 answer

Numeric Datagridview column

HI , i have a datagridview whose columns requires some extra features like only numeric is allowed and one decimal point and digits after decimal should be only 2 . The alignment must be right only . Which event i should choose as my datagridview is a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,641 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.
9,035 questions
asked 2023-10-01T10:05:23.36+00:00
OmkarHcl 146 Reputation points
commented 2023-10-04T02:01:02.5966667+00:00
Jiale Xue - MSFT 11,441 Reputation points Microsoft Vendor
0 answers

App insights auto instrumentation not working properly - no requests logged but dependencies show up

I've attempted to use the inter-op feature to have my app ignore the SDK, but it does not appear to be working. I attempted to remove all traces of AppInsights from my code (though there is still an ApplicationInsights.config file remaining after…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,336 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
570 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,682 questions
asked 2023-10-04T01:38:29.4633333+00:00
Robert Russell 0 Reputation points
edited the question 2023-10-04T01:39:22.4066667+00:00
Robert Russell 0 Reputation points
0 answers

App insights auto instrumentation not working properly - no requests logged but dependencies show up

I am trying to remove the AppInsights SDK completely from my application and want to allow it to use the codeless extension. I'm currently seeing logs for dependencies in my app, but no requests (when there should be). On the kudu /DiagnosticServices it…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,336 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
570 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,682 questions
asked 2023-10-04T01:36:29.94+00:00
Robert Russell 0 Reputation points
2 answers

Background worker not setting textbox.backcolor in UI thread

[windows forms, dotnet 4.8.1 VB] I have several applications that use a common non-indexed "message log" database file to communicate - works great! Each application tells the dashboard app when it starts, reports progress, completes, and is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,641 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.
3,093 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,324 questions
asked 2023-10-03T16:55:24.0233333+00:00
JBDayrelton 0 Reputation points
edited the question 2023-10-04T01:34:22.7066667+00:00
Jiale Xue - MSFT 11,441 Reputation points Microsoft Vendor
0 answers

PrintToPdfAsync with custom header and footer. How can I take full control of these elements?

var setting = webView2.CoreWebView2.Environment.CreatePrintSettings(); setting.ShouldPrintHeaderAndFooter = true; setting.HeaderTitle = headerText; setting.FooterUri = footerText; await webView2.CoreWebView2.PrintToPdfAsync( pdfFile, setting ); …

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
1,817 questions
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.
624 questions
asked 2023-10-03T15:53:24.8266667+00:00
Vasanth Ramakrishnan 0 Reputation points
edited the question 2023-10-04T01:33:38.03+00:00
Lan Huang-MSFT 18,036 Reputation points Microsoft Vendor
1 answer

How to authenticate with SMS/whatsapp in MAUI App

Hello everyone. I'm developing mobile app in MAUI. Everything (db, API, etc etc) is on Azure. I wonder if there's an Azure function that allow developers to authenticate user of my app through SMS or whatsapp. So I would like to open app and allow user…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
4,040 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,885 questions
asked 2023-10-03T22:53:04.56+00:00
MC App 0 Reputation points
answered 2023-10-04T01:32:42.76+00:00
Bruce (SqlWork.com) 44,966 Reputation points
0 answers

Event ID 1309 ASP.NET 4.0.30319.0 Warning

I put the whole error below, but before I continue there's a phrase in this error people are going to focus on and it's NOT the problem. There is no trust relationship problem with the server. What I don't doubt is at issue is communication to the…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,646 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
10,643 questions
asked 2023-10-03T16:00:54.65+00:00
Will 0 Reputation points
edited the question 2023-10-04T01:26:23.8433333+00:00
Lan Huang-MSFT 18,036 Reputation points Microsoft Vendor
0 answers

Error when try read data from Excel File in ASP.NET MVC

In an ASP.NET MVC app, I am trying to read data from Excel file but I get this error: The error appears in production mode, but in development mode there's no problem. I am making host on Local Host on my computer Microsoft Excel cannot access the file…

Internet Information Services
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
991 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.
9,035 questions
asked 2023-10-03T17:37:39.96+00:00
mostafa ahmed 1 Reputation point
edited the question 2023-10-04T01:25:19.4733333+00:00
Lan Huang-MSFT 18,036 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

WCFTestClient gives Error message by disabling TLS 1.0 & TLS 1.1

We have disabled TLS 1.0 & TLS 1.1 in our server as a security concern and enabled TLS 1.2 When ever we invoke the WCF Webservice using WCFTestClient we are getting below error message. I tried so many ways to fix but nothing works (refer:-…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
291 questions
asked 2021-12-03T03:38:18.617+00:00
sagar jena 96 Reputation points
commented 2023-10-04T01:16:45.3766667+00:00
Sega Wang 0 Reputation points
4 answers

which is better use data reader ado.net technology or entity framework core 7 ?

I work on blazor application server side I design web API to interact with razor pages my issue is which is suitable for my scenario using ado.net or entity framework core what I try as below : [HttpGet] …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,591 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,115 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,646 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.
11,026 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.
9,035 questions
asked 2023-10-02T22:47:53.42+00:00
Ahmed Abd El Aziz 285 Reputation points
edited an answer 2023-10-04T01:16:19.8633333+00:00
Bruce (SqlWork.com) 44,966 Reputation points
1 answer

I got 503 Http Error when deploying to Azure Portal with blazor web app .net 8 with the RenderModeAuto

I got 503 Http Error when deploying to Azure Portal with blazor web app .net 8 with the RenderModeAuto. If I choose .net 6 lts the website is working with server mode and wasm files are not downloading. If I switch back to .net 8 in azure portal, I got…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,591 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,682 questions
asked 2023-10-03T07:52:12.6933333+00:00
bhone myint kyaw 0 Reputation points
answered 2023-10-04T00:49:16.07+00:00
brtrach-MSFT 10,681 Reputation points Microsoft Employee
0 answers

Xamarin ADM unable to create device. Says: "avdmanager has returned non-zero exit code: -2147467259. Please check logs for more information."

I am a beginner on Xamarin which makes me all the more frustrated with this problem. I have tried countless times to create an android emulator in Visual Studio and EACH TIME I get this same error. Please help me with this it has put all my learning on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,164 questions
asked 2021-08-18T23:46:10.987+00:00
Manuel 11 Reputation points
edited a comment 2023-10-03T23:48:00.1633333+00:00
Aaron Hooper 0 Reputation points
1 answer

ths 00905074475555 الدفع بعد البرهان جلب الحبيب العنيدjn

How to manage conflicting policies in a chatbot for different countries? I am working on a chatbot that answers questions from my organization's policies, which I have provided as an Azure Cognitive Search index in the API. However, I have a problem…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
8,919 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
10,643 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.
132 questions
asked 2023-10-03T23:05:17.76+00:00
تالا 0 Reputation points
answered 2023-10-03T23:05:39.5666667+00:00
تالا 0 Reputation points
3 answers

ASP.NET Core MVC: Unable to set focus on input element on view load

I am trying to set focus using javascript on the first unfocused input element of MVC view in a load window event listener. But element is focused only after page reloading. Attached browser - MS Edge I tried reloading the page programmatically using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,591 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
694 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
991 questions
asked 2023-09-24T21:57:19.01+00:00
Stanislav Panferov 45 Reputation points
commented 2023-10-03T22:59:42.6+00:00
0 answers

No me deja crear proyectos ASP.NET y me sale el error HRESULT E_FAIL de una llamada a un componente COM

Hola, les quería preguntar si existe una solución para este error que me esta saliendo a la hora de crear un nuevo proyecto asp.net Framework pero si me deja usar el resto de proyectos. intente reparando, quitando modificaciones y reinstalando pero no se…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,646 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,831 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.
9,035 questions
asked 2023-10-03T21:50:09.91+00:00
Varpu 0 Reputation points
1 answer

dotnet blazor maui UAE PASS authentication unable to redirect to the mobile app after authentication is done

I'm Developing the app with UAE pass authentication using Maui Blazor technology(C#). successfully obtained the authorization code from UAE Pass but i am facing difficulties redirecting back to mobile app. Please find the attached file. I have…

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,115 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,885 questions
asked 2023-10-03T05:25:23.7233333+00:00
Raju Gadda 26 Reputation points
edited an answer 2023-10-03T21:13:11.84+00:00
Bruce (SqlWork.com) 44,966 Reputation points
1 answer

How does setting the ExceptionHandlerOptions.AllowStatusCode404Response property work at the version and server level?

I have a nuget which contains a custom exception handler in .NET 7 and then I consume it in an API created in .NET 6, but it presents problems regarding StatusCode 404, in Development it correctly responds to this error, but in the cloud it responds to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,591 questions
asked 2023-08-09T15:48:19.6233333+00:00
Diaz, Francisca 0 Reputation points
commented 2023-10-03T20:51:29.12+00:00
Moisés Ferreira 0 Reputation points
1 answer

NuGet Package restore failed...The underlying connection was closed.., error in VisualStudio ultimate 2012

Hi, Below is machine and VS details: Windows 7 Visual studio Ultimate 2012 Version 11.0.61219.00 Update 5 Microsoft .NET framework version 4.5.50709 Project: MVC 4 project - C# Everything was working fine till today; But my…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
991 questions
asked 2022-10-01T17:10:31.447+00:00
bharat 1 Reputation point
commented 2023-10-03T19:56:48.8833333+00:00
Balbir Singh 0 Reputation points
0 answers

Modify MVC5 project template so that admin can accept\reject account

Hi, I used the default MVC 5 template to create my project. The project allows a user to create their account (self register): I'd like to modify it so that a user cannot self register. Instead they create their account and an admin needs to either…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
991 questions
asked 2023-10-03T19:38:20.83+00:00
Bill Johnson 1 Reputation point