24,362 questions with .NET-related tags

Sort by: Updated
0 answers

Disable local authentication for Application Insights

Hello, I have a .NET 8 Api App hosted in Azure that sends telemetry to Application Insights. This applications has some web jobs that are configured like this to connect to Application Insights: var connectionString =…

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,887 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,074 questions
asked 2024-05-10T08:30:50.8933333+00:00
Angela Calborean 71 Reputation points
edited the question 2024-06-03T10:37:09.6+00:00
Givary-MSFT 28,756 Reputation points Microsoft Employee
0 answers

The project file cannot be opened. Version 7.0.410 of the .NET SDK requires at least version 17.4.0 of MSBuild.

Due to some issue my PC got reinstalled the OS. then after i have done the same setup IDE for my work related software's in the same PC. now I'm trying to open my previous application(Azure webjob app) appearing unloaded (files are not appearing) at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 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,727 questions
asked 2024-06-03T10:36:36.9033333+00:00
Praveen Chandra T 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to identify usage of Azure SQL Database 2014-04-01 APIs

I have a very old windows forms project using azure database and I'm very unsure if this project is affected by the API retirement. The project uses DataSets, TableAdapters and the old library Microsoft.Practices.TransientFaultHandling. Is this going to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 questions
Azure SQL Database
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,871 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 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,417 questions
asked 2023-12-05T10:46:25.9466667+00:00
Becker, W 46 Reputation points
accepted 2024-06-03T10:07:03.01+00:00
Becker, W 46 Reputation points
4 answers

Where has MapIcon gone in Windows MAUI Maps ?

Hi team. I try to migrate a custom renderer for Maps from Xamarin to MAUI. I need to show a custom icon on the Map in Windows platform (found multiple examples how to do that in IOs and Droid) In Xamarin there was a MapIcon class , derived from…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-29T10:42:51.1733333+00:00
Andreas Wegener 0 Reputation points
answered 2024-06-03T10:06:39.25+00:00
Andreas Wegener 0 Reputation points
2 answers

How can I open Microsoft Excel in Visual Basic.NET

I am using Visual Studio 2023 for using Visual Basic. I have latest version of Microsoft Office. I want to open Excel using Visual Basic (not VBA). Please tell me how to go about it. It is very important for me.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 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,614 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,603 questions
asked 2024-06-02T16:30:14.32+00:00
Rajendra Deshpande 0 Reputation points
commented 2024-06-03T10:01:40.7266667+00:00
Jiachen Li-MSFT 27,411 Reputation points Microsoft Vendor
0 answers

How to disable push refresh on IOS .net maui?

Hi I have a scroll view with horizontal orientation. Couple frames in view. In android work perfect. But on IOS if touch or push down the refresh start. How can I disable this refresh?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-31T04:08:45.5366667+00:00
Баходир Кадыров 0 Reputation points
commented 2024-06-03T09:50:41.86+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,356 Reputation points Microsoft Vendor
0 answers

Register close button in mac

Hi, In window i did, how to do it in mac ? builder .UseMauiApp<App>() .ConfigureLifecycleEvents(events => { #if WINDOWS events.AddWindows(windowsLifecycleBuilder…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-06-02T07:04:04.6633333+00:00
Dani_S 2,946 Reputation points
commented 2024-06-03T09:48:03.39+00:00
Dani_S 2,946 Reputation points
0 answers

System.Reflection.TargetInvocationException: "Expression 'dest => dest' must resolve to top-level member" when configuring AutoMapper profile

I'm encountering an exception when trying to configure AutoMapper in my ASP.NET Core application. The exception message is: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
708 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 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,417 questions
asked 2024-06-01T08:50:47.3466667+00:00
Julia Ohorodnichuk 0 Reputation points
commented 2024-06-03T09:34:57.7866667+00:00
Ping Ni-MSFT 2,405 Reputation points Microsoft Vendor
1 answer

Migrate .net6 project to the .Net8

Hi Team, I have some of the class library, console app WPF and WinUI projects developed using .net6 in my solution. Now i need to migrate all the projects in that solution from .net6 to the .net8. Could you please provide the guide or help link for this…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 questions
asked 2024-06-03T08:34:19.4233333+00:00
Sunil AM 0 Reputation points
answered 2024-06-03T09:31:41.55+00:00
Jiale Xue - MSFT 38,931 Reputation points Microsoft Vendor
0 answers

root is missing error, while making frontend using window form application in VS 2022 using C#

Root is missing error, while making frontend using window form application in VS 2022 using C#. How to troubleshoot this issue.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,857 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,727 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,417 questions
asked 2024-05-20T04:10:28.07+00:00
DevNinja 0 Reputation points
commented 2024-06-03T09:23:03.1033333+00:00
Tianyu Sun-MSFT 28,066 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to assign value from session upload file into upload posted file again

i am trying to save uploaded file after some big process. i am saving uploaded file in session to retain the file upload data. i.e : uploaded file will be saving into session variable. after saving to session upload file will be cleared. but, the upload…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,331 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,417 questions
asked 2024-05-31T18:44:51.0666667+00:00
Gani_tpt 1,826 Reputation points
commented 2024-06-03T09:18:03.65+00:00
Lan Huang-MSFT 26,916 Reputation points Microsoft Vendor
0 answers

Mitigation for Dll hijacking

Hello Team, I found dll injection in c#, .net and c++thick client applications. But to perform dll here I needed admin access. in this case I had admin access. So what will be the standard mitigation to prevent dll injection after even get the admin…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 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,417 questions
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,572 questions
asked 2024-06-03T09:12:59.99+00:00
Mashuk Raza 0 Reputation points
2 answers

How to insert new,update, delete existing record in single row of gridview

I am developing ASP.NET application and i am using gridview in that. Here, i am not using any textbox controls outside of the gridview to save the record. everything i want to maintain in same row of the records. for example, when page load, if any…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,331 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,417 questions
asked 2024-05-28T14:36:20.12+00:00
Gani_tpt 1,826 Reputation points
commented 2024-06-03T08:56:15.8333333+00:00
Lan Huang-MSFT 26,916 Reputation points Microsoft Vendor
0 answers

Getting BitLockerRecoveryKey via GraphServiceClient returns wrong VolumeType

Hi, i recently installed the newest Graph.Beta 5.75.0-preview and noticed a bug with the according Microsoft.Graph.Beta.Models. I want to get all BitLockerRecoveryKeys in my tenant. this is my Code: var allBitlockerRecoveryKeys = await…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,922 questions
asked 2024-06-03T08:45:47.9733333+00:00
Kronsteiner, Felix 0 Reputation points
1 answer

.net maui grouping data binding not working, displays blank lines.

My listview does not bind correctly, I'm getting blank lines. ( I'm missing something in the code) (in debug) the for each loop show there is data in the Items object but it does not show up in the listview. Xaml <?xml version="1.0"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-30T12:51:24.5833333+00:00
tim 140 Reputation points
edited an answer 2024-06-03T08:35:59.43+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,356 Reputation points Microsoft Vendor
1 answer

Will VS2022 17.9 get updated for .Net 8 and 6 servicing updates released on May 28?

Components installed with VS2022 (e.g., .Net 8, .Net 6) are not shown separately in Windows settings for Apps or control panel's Programs and Features. These components have been updated as needed through the monthly patch Tuesday updates to VS through…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,483 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,727 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,135 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.
982 questions
asked 2024-05-29T11:38:25.6966667+00:00
RLWA32 41,456 Reputation points
commented 2024-06-03T08:33:46.0933333+00:00
Anna Xiu-MSFT 26,731 Reputation points Microsoft Vendor
0 answers

Microsoft (R) Visual Basic Compiler asking the upgrade the version.

We are trying to Execute SSRS report using rs.exe and will store result in CSV file. For this We have prepared (.rss) file, and executed from command prompt with following command. rs -i filename.rss -s https://server_name/ReportServer -v…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,836 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
97 questions
asked 2024-05-29T09:11:40.0433333+00:00
Kalee Mamillapalli 0 Reputation points
commented 2024-06-03T08:28:16.0466667+00:00
Kalee Mamillapalli 0 Reputation points
1 answer

Certification configuration: I'm not able to verify my domain

Hello, after developing a Blazor Web App I tried to connect the app with my own domain. So I have to verify my domain to bind the certificate to my app. First step (import certificate to key fault) seems to work (step is checked). But I do not see the…

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,436 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,074 questions
asked 2024-05-30T11:31:18.76+00:00
Stefan Brieger 0 Reputation points
commented 2024-06-03T08:05:54.9433333+00:00
SnehaAgrawal-MSFT 19,186 Reputation points
1 answer

Search bar corrupted in MAC

Hi, In windos it works but in MAC is corrupted, why? <HorizontalStackLayout Grid.Row="1" Grid.Column="0" Margin="10,10,0,5" HorizontalOptions="Start"> <SearchBar x:Name="searchBar"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-06-02T09:47:40.4066667+00:00
Dani_S 2,946 Reputation points
edited an answer 2024-06-03T08:03:57.1933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,356 Reputation points Microsoft Vendor
0 answers

Error AMM0000 after updating Android project to .NET 8.0 and Android Target OS Version 34.0

I get many errors after updating my Android project to .NET 8.0 and Android Target OS Version 34.0. I use Visual Studio Version 17.10.1 on my Windows 11 laptop. Error…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-06-01T13:39:25.6066667+00:00
Kim Strasser 666 Reputation points
commented 2024-06-03T07:43:25.4266667+00:00
Kim Strasser 666 Reputation points