Microsoft Q&A

.NET

20,065 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,065 questions with .NET-related tags

Sort by: Updated
0 answers

How to setup an Web API in IIS that should run on specific windows account

Hi, I want to host an Web API developed in .NET Core in IIS 10 (Microsoft Hyper-V Server) and want to know how to setup the Web API that should run on a specific windows account. Please assist me on setting up the wep api run on a specific windows…

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
229 questions
asked 2023-08-22T04:21:23.5333333+00:00
Vijay Chidrambram 0 Reputation points
1 answer One of the answers was accepted by the question author.

Deserialize Trivial XML

Hi, Everybody!... All I need to do is to deserialize the following, seemingly trivial XML... <ExtendedProperties> <ExtendedProperty> <Property>Some Property</Property> <Value>Some…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,909 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,740 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,034 questions
asked 2023-08-11T20:50:49.1866667+00:00
Julio Bello 181 Reputation points
accepted 2023-08-22T04:10:15.2133333+00:00
Julio Bello 181 Reputation points
0 answers

Conversion error from DECF34 to byte[]

  When there is a RFC call to function module from SAP we are getting error from dot net code as below  When there is a function call via RFC we are getting below error ERROR IN Y_BC_IXOS_CHECK_LINE_ITEMS FUNCTION : FIELD HIST_TAX_FACTOR1 of STRUCTURE…

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
318 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,909 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,034 questions
asked 2023-08-21T16:50:09.5866667+00:00
Dk, Shreya /IN/EXT 0 Reputation points
edited the question 2023-08-22T04:00:09.7466667+00:00
XuDong Peng-MSFT 6,071 Reputation points Microsoft Vendor
0 answers

How to configure Auto update in MAUI application ?

Hi, Consider we have developed a MAUI application. For deployment of this MAUI application in multiple machine we created a setup file / package following this link -…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,711 questions
asked 2023-03-08T07:34:42.23+00:00
Sanket Vinod Solanki 0 Reputation points
commented 2023-08-22T03:59:33.1733333+00:00
Sanket Vinod Solanki 0 Reputation points
1 answer

Publish iOS MAUI Application on Existing Apple App Store Application built on .net Xamarin.Forms?

Is it possible to Publish iOS MAUI Application on Existing Apple App Store Application built on .net Xamarin.Forms? The current Application is developed in Xamarin.Forms and Published on Apple App Store. Expecting: While Publishing an upgraded…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,711 questions
asked 2023-08-21T12:32:54.32+00:00
Lomesh Parmar 0 Reputation points
edited an answer 2023-08-22T03:35:45.92+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 21,581 Reputation points Microsoft Vendor
2 answers

C# SCROLLINFO not working on Chrome window

I am attempting to retrieve scroll information from the window handle, but I keep getting a value of 0. I am pursuing this approach because my goal is to capture a complete scrolling screenshot of the window. The intention is to enable automatic…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,909 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,168 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,740 questions
asked 2023-08-13T10:53:38.2166667+00:00
Ankur Tripathi 1 Reputation point
commented 2023-08-22T03:24:11.8866667+00:00
Jeanine Zhang-MSFT 6,611 Reputation points Microsoft Vendor
2 answers

Custom Dependency injection in .NET 7

Hello all, I have come across a scenario in our application where I have to initialize my services project with a URL. Earlier the URL was stored in configuration so we could pass the configuration variable while adding the services. e.g. …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,909 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,450 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,034 questions
asked 2023-08-21T13:36:36.7966667+00:00
Amit Dimri 21 Reputation points
answered 2023-08-22T03:20:44.62+00:00
Xinran Shen - MSFT 1,751 Reputation points Microsoft Vendor
10 answers One of the answers was accepted by the question author.

Problem with multiple ClickOnce applications needing to be reinstalled every day

We've been using multiple ClickOnce applications (now last built with Visual Studio 2022) on Windows 10 for many years without problems on 20 or so on production and staff computers. In the last week or so we've run into a problem where every day when…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
8,439 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,909 questions
asked 2023-08-09T23:06:18.1166667+00:00
William Wolthuis (RJC) 195 Reputation points
edited a comment 2023-08-22T03:18:37.28+00:00
0 answers

Hiding and showing the div tags in Razor page

I have the following code in my controller: public async Task<IActionResult> Index() { string destinationDirectory = _configuration["DestinationPath"].ToString(); string DocHash =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,450 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,740 questions
asked 2023-08-22T03:10:21.1733333+00:00
Anjali Agarwal 1,001 Reputation points
1 answer

Routing and URL in ASP.NET Core Razor Pages

Hello, What is the ultimate form of URL in the following routing? I don't know when to use the forward slash. https://localhost:7147/ @page "/Products/Add" @page "/Products/Add/" @page "Products/Add" @page…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,450 questions
asked 2023-08-21T07:32:55.92+00:00
Shervan360 1,306 Reputation points
answered 2023-08-22T02:58:58.5966667+00:00
Zhi Lv - MSFT 27,226 Reputation points Microsoft Vendor
1 answer

Is there a way to add Material Design to ASP.NET Webforms?

I haven't found many resources to add Material Design to ASP.NET Webforms. The closest I found was this stackoverflow which didn't help much.

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.
609 questions
asked 2023-08-22T00:06:23.8533333+00:00
Brian Tan 0 Reputation points
answered 2023-08-22T02:56:17.74+00:00
Lan Huang-MSFT 16,916 Reputation points Microsoft Vendor
0 answers

How to shipped UWP platform specific assemblies (ANY CPU, X86,x64,ARM) inside lib/uap10.0

How to shipped UWP platform specific assemblies (ANY CPU, X86,x64,ARM) inside lib/uap10.0

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,088 questions
Universal Windows Platform (UWP)
asked 2023-08-18T05:45:53.7466667+00:00
Hemalatha Duraisamy 0 Reputation points
commented 2023-08-22T02:42:32.3033333+00:00
Roy Li - MSFT 29,746 Reputation points Microsoft Vendor
0 answers

Release Configuration Causes Exited with Code 1

I have an app that works great in debug mode, but in release mode it does not give an error that prevents it from building, but it gives the following warning: MSB3073: The command ""C:\Program Files…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,711 questions
asked 2023-08-18T09:13:29.8+00:00
suresh tanukula 10 Reputation points
commented 2023-08-22T02:30:48.6666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 19,501 Reputation points Microsoft Vendor
1 answer

Is it safe to manually delete the "...\Microsoft.AspNetCore.App\5.0.3\.version" folder and all of it's sub contents located from the local C disk drive?

Hello, is it safe to manually delete the "...\Microsoft.AspNetCore.App\5.0.3.version" folder and all of it's sub contents located from the local C disk drive? Believe this is related to Web based development which we don't use. Reason it was…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,450 questions
asked 2023-08-21T17:27:27.8666667+00:00
techresearch7777777 1,551 Reputation points
commented 2023-08-22T02:22:44.3666667+00:00
Farid Uddin Kiron MSFT 451 Reputation points Microsoft Vendor
1 answer

How can I change the Toggle Button in WPF Expander to Radio Button so that i can only select one expander in a group of expanders?

In my side Menu i have some expanders like five of them, i wanted my user to only select one expander at a time, then i thought of using expanders based on radio buttons, in the default style of wpf expanders i found this xaml below where i thought it is…

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,433 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,740 questions
asked 2023-08-21T16:50:59.73+00:00
Mesh Ka 40 Reputation points
answered 2023-08-22T02:04:53.53+00:00
Hui Liu-MSFT 20,406 Reputation points Microsoft Vendor
2 answers

Replacing DbContext.Attach()

I've found Attach() to be problematic as it's tricky to mark everything needed modified. For example, if all you change is a property in Address where Address is builder.OwnsOne(org => org.Address), it doesn't see it. My use case is pretty standard.…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
564 questions
asked 2023-08-17T15:51:17.6166667+00:00
David Thielen 1,386 Reputation points
commented 2023-08-22T01:58:40.4366667+00:00
Wenbin Geng 161 Reputation points Microsoft Vendor
1 answer

dynamic combobox

Hi, I would like if you  can give a small sample for combobox  that show the name of drives. If I insert or remove disk on key it will reflect the changes in the combobox  - how is can be done. Thanks in advance, private void UploadDriveItems() …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,711 questions
asked 2023-08-15T14:54:18.7733333+00:00
דני שטרית 1,001 Reputation points
edited a comment 2023-08-22T01:54:14.1333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 51,986 Reputation points Microsoft Vendor
0 answers

MAUI project iOS simulator startup failed MT7091

onnxruntime.xcframework/ios-arm64_x86_64-simulator/onnxruntime.framework/onnxruntime File format not recognized I have a MAUI project. When I tried to start using the iOS emulator, an error occurred. VS was able to connect to the MAC machine normally,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,711 questions
Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
109 questions
asked 2023-08-21T07:46:08.6066667+00:00
Jax Dai 0 Reputation points
commented 2023-08-22T01:52:12.38+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 21,581 Reputation points Microsoft Vendor
0 answers

.NET framework version missing

Hallo, I am quite new to VS. I installed the Community version 2022 recently but I cannot run my script. I get the error which I copied here below. I checked in my registry editor and I can see that I have the version 4.8.04084 (even though in the…

.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,034 questions
asked 2023-08-21T15:23:50.7833333+00:00
Vasiliki Anagnostatou 0 Reputation points
edited the question 2023-08-22T01:23:38.6666667+00:00
Jiale Xue - MSFT 8,286 Reputation points Microsoft Vendor
0 answers

LINQ questions using contain

Hello, the source code is shown below. private async Task<IEnumerable<SearchResource>> GetSearchItemByIdAsync(IEnumerable<string> querys, int offset, int maxResults) { var allQueries = querys.SelectMany(q =>…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
564 questions
asked 2023-08-22T01:18:11.04+00:00
JSH 0 Reputation points