24,196 questions with .NET-related tags

Sort by: Updated
1 answer

The process cannot access the file because it is being used by another process.

I have a function to write log to a text file: using (var mutex = new Mutex(false, fullPath.Replace("\\", ""))) { mutex.WaitOne(Timeout.Infinite, false); File.AppendAllText(fullPath, content.ToString()); …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,444 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,996 questions
asked 2024-05-16T02:43:07.7033333+00:00
Jimmy Koo 0 Reputation points
answered 2024-05-21T03:07:11.8133333+00:00
brtrach-MSFT 15,351 Reputation points Microsoft Employee
2 answers

Is it correct to make connection string dynamic?

Hi, I'm currently working on a project which need data from other databases. The database where I'll get the datas are depends on users. Now I want to make my connectionString dynamic. Is it correct to make connection strnig dynamic. The user will enter…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
701 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,229 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,870 questions
asked 2024-05-20T19:12:10.4966667+00:00
Atilla Rüstəmli 0 Reputation points
commented 2024-05-21T02:47:45.0633333+00:00
CosmogHong-MSFT 23,561 Reputation points Microsoft Vendor
1 answer

.net maui MVVM exit button wont file but collection button does. what did I miss?

I'm converting a xaml app to .net maui. I'm not able to find where I'm missing code that is keeping the button from firing the exit code in my viewmodel. i've compared the code for the exit page to my collection page ( In which the button works) but I…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,678 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-05-20T14:54:19.5166667+00:00
tim 120 Reputation points
answered 2024-05-21T02:46:08.67+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,311 Reputation points Microsoft Vendor
0 answers

ASP.NET Core APIプロジェクトでIISのApplication Initialization処理を使う方法

Visual Statio 2022でASP.NET Core APIテンプレートを使って.NET 6のアプリケーションを作成しています。 このアプリケーションをIISの運用環境に配置し、Application Initializaion機能を有効化していますが、アプリケーションプールのリサイクル後に期待通りに動きません。 調べた結果、ASP.NET Core…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,444 questions
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.
304 questions
asked 2024-05-21T01:32:57.14+00:00
20927774 0 Reputation points
commented 2024-05-21T02:43:56.4533333+00:00
Lan Huang-MSFT 26,196 Reputation points Microsoft Vendor
0 answers

Connection Target does not give me any subscription

Hello, I followed the instructions at https://learn.microsoft.com/en-us/training/modules/dotnet-debug-visual-studio-azure-web-apps/4-attach-to-process. At step Attach the debugger to the App Service, I clicked the Find button, but the Subscription name…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
5 questions
asked 2024-05-20T21:40:24.7333333+00:00
NM 1 Reputation point
edited the question 2024-05-21T02:23:48.76+00:00
Anna Xiu-MSFT 26,561 Reputation points Microsoft Vendor
0 answers

VS Nuget doesn't work with MAUI but does with WPF

I'm currently using Visual Studio Professional 2022 17.8.9. If I create a WPF project, I'm able to browse Nuget packages. However, if I create a MAUI project and try to browse Nuget, I get the following error message [nuget.org] Unable to load the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,444 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,678 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-05-20T19:47:16.7166667+00:00
Surico, Joseph [CCC-OT] 0 Reputation points
commented 2024-05-21T02:20:07.84+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,871 Reputation points Microsoft Vendor
0 answers

Maui app for Android how to get rid of this dialog

Hello All. I use Ver 17.10 preview 7 and android Ver 34. I get the following dialog (image) and when I cancel it all go OK But every time I build my app it's appears and I need to cancel it to continue the build task. Please how I can get rid of it. …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,678 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-05-19T08:46:12.7066667+00:00
Haviv Elbsz 1,946 Reputation points
commented 2024-05-21T02:02:49.3166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,871 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

WEALTH SNAP CustOmeR care Toll-free Number(→ 07795121170 ←)(→ 78=11=06=70=35←)♻️ ((Call★<÷>★Me))) WEALTH SNAP CustOmeR care Toll-free Number(→ 07795121170 ←)(→ 78=11=06=70=35←)♻️ ((Call★<÷>★Me))) www

Cu respect to end the end to end the end to

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,688 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,880 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,253 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,748 questions
asked 2024-05-21T01:54:04.3633333+00:00
Chi Fu 0 Reputation points
commented 2024-05-21T01:56:06.7566667+00:00
Chi Fu 0 Reputation points
1 answer One of the answers was accepted by the question author.

WEALTH SNAP CustOmeR care Toll-free Number(→ 07795121170 ←)(→ 78=11=06=70=35←)♻️ ((Call★<÷>★Me))) WEALTH SNAP CustOmeR care Toll-free Number(→ 07795121170 ←)(→ 78=11=06=70=35←)♻️ ((Call★<÷>★Me)))

Fi fu panda bear with me know what you want me and would

Universal Windows Platform (UWP)
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,688 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,833 questions
Microsoft Intune Grouping
Microsoft Intune Grouping
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Grouping: The arrangement or formation of people or things in a group or groups.
41 questions
asked 2024-05-21T01:49:31.89+00:00
Chi Fu 0 Reputation points
commented 2024-05-21T01:50:34.5533333+00:00
Chi Fu 0 Reputation points
0 answers

Every time I open File location it updates LastAccessTime Since I updated to the newest windows 10 version, but wasnt before it

I noticed that after the recent update for windows 10 22H2(5/18/2024) I noticed that every time i opened a file location lets say CS2 folder or PureVPN File location it updated the LastAccessTime for the Files of that Application that was in the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,849 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,775 questions
asked 2024-05-20T11:09:25.1766667+00:00
LuzuVlogs Gamer 0 Reputation points
edited the question 2024-05-21T01:43:38.7333333+00:00
Jiale Xue - MSFT 35,556 Reputation points Microsoft Vendor
0 answers

How To Download .NET Runtime For MSIX Or Appx?

I Want To Use MSIX Hero On My PC And It Requires .NET Runtime 6.0 but i can run exe's for some reason i cant figure out. i am not looking into figure out how to run exes i just want to know or if there is a way do get .NET Runtime 6.0 for msix (bundle)…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,444 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
729 questions
asked 2024-05-20T20:10:07.3866667+00:00
QuickSilver 0 Reputation points
commented 2024-05-21T01:34:49.6966667+00:00
Jeanine Zhang-MSFT 9,181 Reputation points Microsoft Vendor
1 answer

What is the best way to install .net Runtime v8.0 via Intune?

What is the current best way to install .net Runtime v8.0 via Intune to a large number of users? The .net website offers an .exe file but it doesn't contain an .msi I can turn into an Intune app. There are also winget instructions listed but winget…

.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,130 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,457 questions
asked 2024-05-15T22:58:19.7133333+00:00
Woodson Baldwin 0 Reputation points
commented 2024-05-21T01:23:46.4266667+00:00
Crystal-MSFT 44,156 Reputation points Microsoft Vendor
3 answers

Javascript Gridview checkbox alert message not working properly.

I am using javascript validation in gridview. I have selected checkboxes in the gridview. but, still it's throwing alert message unncessarily. where is the problem in the below code. kindly update asap if anyone identified the issues. or pls. provide…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,363 questions
asked 2024-05-19T14:52:29.7566667+00:00
Gani_tpt 1,706 Reputation points
commented 2024-05-21T01:21:56.0266667+00:00
Gani_tpt 1,706 Reputation points
0 answers

How to Integrating Windows WebAuthn API with Custom Credential Provider in WPF C#

I've developed a Custom Credential Providers application that interacts with the Windows WebAuthn API's WebAuthNAuthenticatorGetAssertion() method for Authentication using Window Hello or External Fido2 Security Key. However, the CredentialUIBroker.exe…

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,830 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,444 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,688 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,363 questions
asked 2024-05-20T12:24:14.5966667+00:00
Harshit Patidar 0 Reputation points
edited the question 2024-05-21T01:04:57.0033333+00:00
Jiachen Li-MSFT 27,001 Reputation points Microsoft Vendor
1 answer

image do not show in .net android?

I add ImageView in activity_main.xml and set the src android:src="@mipmap/tab_index" but it is not show. just white .

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-05-19T15:06:04.2166667+00:00
mc 3,701 Reputation points
commented 2024-05-21T00:46:49.8866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,311 Reputation points Microsoft Vendor
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,229 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,207 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,856 questions
asked 2024-05-10T11:41:44.0866667+00:00
SivaD 0 Reputation points Microsoft Vendor
commented 2024-05-21T00:38:52.4666667+00:00
SivaD 0 Reputation points Microsoft Vendor
1 answer

How to Increase/Decrease mouse pointer moving speed on a WPF application surface?

Hi there, I have a simple WPF application where I need to control the mouse pointer speed. Suppose I run the application and as soon as my mouse pointer enter the application area, the mouse pointer speed should be increase and I want some more…

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,688 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,441 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,363 questions
asked 2024-05-13T21:28:00.4833333+00:00
MERUN KUMAR MAITY 511 Reputation points
commented 2024-05-20T23:48:26.32+00:00
MERUN KUMAR MAITY 511 Reputation points
2 answers

What is the correct way to upgrade dotnet SDKs for MAUI

Can someone tell me the proper way to upgrade .net? I have kept mine on an older version for a while now because it has been working with xcode 15.3 for me. Since it appears the issues with xcode 15.3 have been resolved in the latest version, I would…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,963 questions
asked 2024-05-16T15:01:48.6366667+00:00
Tony Pitman 40 Reputation points
commented 2024-05-20T23:32:40.2166667+00:00
Tony Pitman 40 Reputation points
0 answers

Outlook synchronization problem

I have just purchased Microsoft 365. I am having a problem with Outlook.com which is not synchronizing my emails with third-party applications such as the phone's outlook or the Mac's mail application.

.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.
95 questions
asked 2024-05-20T22:34:44.63+00:00
CONTACT CHAUTRAM 0 Reputation points
2 answers

What is a good way of track link clicks in Asp.Net Core 7 MVC app in Application Insights?

I have an MVC app with several <a> tags, and I want to have a way of tracking link clicks, preferably without doing redirects (i.e., without changing link addresses). Is there any way this can be done? and the link clicks are tracked on Application…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,229 questions
asked 2024-05-20T07:49:05.8166667+00:00
Astha Gangwar 0 Reputation points
answered 2024-05-20T22:00:43.68+00:00
Bruce (SqlWork.com) 57,646 Reputation points