How can I save the original state of my Model and its XAML bindings in C# in a Variable?
I need to save the original state of my viewmodel and XAML bindings in C# when a View is originally loaded, so that I can revert back to the original Model property values if the user chooses to cancel their changes. I attempted to use the code below,…
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…
Helper folders in MAC
Hi, I need for my app in mac some helpers folders to : 1.for log file 2.for dwnload files .... where to put them ? I nee absoulth path for them to read from code of mac app. Thanks,
Blazor HeadContent
I have some Open Graph meta tags that I add within the HeadContent. The problem is that I must add all those tags on every page. <HeadContent> <meta name="description" content="@metaDescription" /> <meta…
How to maintain file upload values in session while editing and updating Gridview
Hi @Anonymous , we have discussed a lot about the file upload and we were maintaining the upload file using session in gridview footer and emptydata template. i want the same logic have to be implement for gridview editing and updating. Below is my…
How to detect Windows dark mode
In the Windows settings, dark mode is enabled for Windows and light mode is enabled for applications. The following keys are missing from the registry: HKCU\Microsoft\Windows\CurrentVersion\Themes\Personalize. …
When using AutoML for training a Win32Exception arises indicating that the wait operation timed out after 30 seconds
CPU: i7-12800h (14 cores, Total Threads: 20) RAM: 32 GB SSD: Samsung 980 Pro, 2 TB Windows Server 2019 Datacenter Evaluation NET Framework: 4.8 Microsoft.ML: 3.0.1 Microsoft.ML.AutoML: 0.21.1 Issue: When I start to train a model using AutoML, I get…
How to use OCR Google cloud vision
I got this error Grpc.Core.RpcException HResult=0x80131500 Message=Status(StatusCode="Internal", Detail="Received RST_STREAM with error code 2", DebugException="Grpc.Core.Internal.CoreErrorDetailException:…
REST interface, server for GET,PUT,POST,DELETE
Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…
Issue Connecting With An Azure SQL Database from .NET WinForms Application
I'm having an issue connecting to an Azure SQL database from a WinForms application after it has been packaged using InstallShield. The database exists on a virtual network and I'm using a virtual network gateway point-to-site connection. The database is…
Not remembering source control plug-in (Git)
Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…
How to use SystemWebAdapter SessionClient to share only registered keys and ignore the others
I am learning how to migrate a large .net framework application to .net core and am happy with the tooling provided by SystemWebAdapters and RemoteAppClient. The framework application uses session state extensively and it looks like the default behaviour…
How to get a teams of developers setup for Co-Pilot for Visual Studio?
Where I work, all the developers have Visual Studio "GitHub Enterprise" licenses attached to our Microsoft accounts. We recently asked the higher ups if we could start a Co-Pilot for Visual Studio co-pilot. We did some standard security reviews…
I want to verify that we're using the correct settings in IIS Application Pool
We're beginning to get away from the old .NET Frameworks, and start using .NET Core for our ASP.NET Core web applications. I've got an ASP.NET Core app written using .NET 6 in IIS 10 on a Windows 2019 Server. I've configured an application pool that for…
403 Forbidden Error When Running SSRS Reports from Azure Web App within VNet
Hello everyone, I’m facing an issue with accessing SSRS reports hosted on a virtual machine from an Azure Web App with the database on a separate managed instance and the SSRS on a VM with access done via URL. Here’s the situation: The reports execute…
pdb file was not present when IL code was compiled to native in vs2022
I have installed 3 new nugets to my project. After installing everything works fine in Android and ios (in release and debug modes). But in Xamarin.Forms.UWP (debug mode is fine). In release mode getting the below exception.. myproject.pdb contains the…
MAUI: The CollectionView items collide with each other when scrolling
When I try to scroll top to bottom at that time, the CollectionView items collide on the iOS platform, but it works fine on the Android platform. Below, I am adding a screenshot and Screen record of this issue. Screenshot: Screen Record: screen record…
Databricks Simba Spark ODBC .NET8 C# Driver Parameters in SQL Queries
Hello, I'm using Simba ODBC driver v2.8.0 in order to query data from my azure databrick sql warehouse into a .net 8 Asp.net Api App. The ODBC driver works fine using plain text query but i need to parametrize the query. Searching around I found that it…
IIS 10.0 will not allow an application pool identity to be set to a valid service account on .NET482. How do I fix this?
I have a series of production websites that are currently running 4.6 with IIS 10. I can set the application pool identity to an internal service account. I can also set WCF services to that service account. On my development and test servers, which…
Creating Excel with EPPlus: Set Column Widths in Pixels and Add Logo
Hello Friends; I have a question for you, I want to pull the data according to id and process it with excell, I even want to add a logo but I couldn't do it somehow, the thing is that I actually want to give the size to the columns and add a logo, but…