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()); …
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…
.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…
ASP.NET Core APIプロジェクトでIISのApplication Initialization処理を使う方法
Visual Statio 2022でASP.NET Core APIテンプレートを使って.NET 6のアプリケーションを作成しています。 このアプリケーションをIISの運用環境に配置し、Application Initializaion機能を有効化していますが、アプリケーションプールのリサイクル後に期待通りに動きません。 調べた結果、ASP.NET Core…
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…
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…
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. …
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
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…
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)…
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…
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…
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…
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 .
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…
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…
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…
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.
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…