24,364 questions with .NET-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How to resolve CORS errors when running Blazor WASM alongside Blazor Server and ASP.NET Core Web API?

Hi, I have a solution having Blazor WASM, Blazor Server and Asp.Net Core Web API. When I try to run the applications, the Blazor server and API work without any problem but I get this error while running the WASM. Cross-Origin Request Blocked: The Same…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,256 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,437 questions
asked 2024-05-26T09:22:59.9066667+00:00
Cenk 956 Reputation points
accepted 2024-06-03T11:01:33.95+00:00
Cenk 956 Reputation points
3 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,613 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
answered 2024-06-03T11:00:41.7233333+00:00
Rajendra Deshpande 0 Reputation points
1 answer

How to fix my slow internet only Microsoft store application

slow network connection in an only microsoft store application

Azure NetApp Files
Azure NetApp Files
An Azure service that provides enterprise-grade file shares powered by NetApp.
85 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,208 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,256 questions
Azure Network Watcher
Azure Network Watcher
An Azure service that is used to monitor, diagnose, and gain insights into network performance and health.
160 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,289 questions
asked 2024-06-03T10:54:03.6066667+00:00
ayush nandanwar 0 Reputation points
answered 2024-06-03T10:55:11.07+00:00
ayush nandanwar 0 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
commented 2024-06-03T10:50:50.7666667+00:00
Anushka 165 Reputation points
0 answers

How can I trigger a method from the OrderConfirmation page in Blazor WASM?

Hi, I have a Blazor WASM Client e-commerce application where I'm showing cart counts in the NavMenu. I'm trying to call the GetCartCount() method from the OrderConfirmation razor page after payment has been completed to make the cart count zero, but I'm…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,256 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,437 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,418 questions
asked 2024-06-03T10:46:35.6966667+00:00
Cenk 956 Reputation points
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,728 questions
asked 2024-06-03T10:36:36.9033333+00:00
Cherry007 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,418 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
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,256 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,418 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,728 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,418 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,418 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,418 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,418 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,920 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,728 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