Simulate dead lock with sampfore slim
Hi, How I simulate deadlock with with this code? `public async Task<string> GetSessionToken(string developmentApiKey)` { await _semLock.WaitAsync(); try { if…
How to connect different Azure Id with Visual Studio 2022 Id
Is it possible to connect a personal Azure account and a company Azure account ?? ( For Test Purpose ) If so, how can this be done? Thank you.
ASP.NET framework 4.8 code for file uploding into Azure storage/container using FileUpload control
Hello For file uploading into Azure Storage / containers using the FileUpload control—preferably upon button click—ASP.NET framework 4.8 code is required. Thanks in advance Regards Chandrakant
How to fix StackOverflowException after upgrading from .Net 6 to .Net 8
Hello, I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…
How to target .NET Framework 4.0 in VS 2022 on Windows 11?
Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …
Will Visual Studio upgrade project files accordingly?
I may have an old .NET Framework app dumped into my lap. I've been looking at it for a while, to try and wrap my head around it. It's got 18 projects in the solution file, comprised of 5 different .NET Frameworks. Everything from .NET Framework 2, to…
Editor is vanish when I move to full screen
Hi, When I resize the page to full screen the editor cotent disappered? why? Thanks, <ScrollView x:Name="scrollView"> <Editor x:Name="editor" IsReadOnly="False" AutoSize="TextChanges"…
Data Models
I have two Models, CustomerModel and CustomerInfo neither one relates to the other except that the Model(s) have fields in the same table and I wanted to separate the fields in the Models because they are used in different views of my .Net Maui…
Create a new instance from Database and API
Hi All i have Azure subscription with Database and WebApp(.net Core) i need to create a new database and webapp from the old i.e replicate the old to the new with a different Name and connection Thanks
How to validate textbox with empty field in wpf forms
Hi Team I have these two fields i want to validate, does anyone knows how to achieve this in wpf on the forms? The bottom seal and TopSeal fields, if empty it must prompt a window dialog message.
How to copy big file 5g with task and within impersonation
Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,
How can I prevent the device font size effect of a MAUI iOS app?
When ever I change the font size in the iOS device, that font size is effecting on the MAUI application. I want to restrict that. Thanks Vaibhav Methuku.
.NET 6 In-process worker model
I have Azure Function Apps running on .NET 6 (LTS) In-process worker model. There is a service health advisory released from Microsoft that they will end the support of .NET 6 on Azure Function from 12th November 2024 onwards. Also,there is one more…
.NET MAUI Community Toolkit Popup page is breaking
I am using the .NET Community toolkit for the Popup page. When we try to load the popup page the entire UI is breaking on iOS platform but it is working fine on Android platform. On the popup page I am using listView. Screenshot: I am using below codes…
Upgrading to .Net 8 results in errors when referenced by a project targeting '.NetFramework=4.61'
I am using the upgrade assistant to upgrade the framework, but it's resulting in many errors. Is there any documentation available that explains step-by-step how to fix the errors that occur during the framework upgrade process?
how to fix this?
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference.…
The type Prism not found in MAUI (prism.form dll not found in MAUI)
public partial class App { private static readonly string StartPage = DebugAppConfig.StartupPage; public App(IPlatformInitializer initializer = null) : base(initializer) { } private Maybe<Uri> LaunchUri { get; set; } =…
Migrate SQLite db from Xamarin Android to NET Maui app?
I am having issue with one of my app migration to .NET MAUI. When I migrate SQLlite databse is not being accessed. in XAMARIN database was being accessed as…
how to use signalr in minimal api?
can not use AddSignalR and I can use AddSignalRCore but there will be error. I created the ASP.NET Core Web API (native aot).