Cant install .NET Framework 3.5 error code 0x800F0922
I need to install the .NET Framework 3.5 but appears the error code 0x800F0922. It tried to follow the instructions in the page of "How to solve this problem": ".NET Framework 3.5 installation errors: 0x800F0906, 0x800F081F,…
ToolbarItem IconImageSource original colors on Android
ToolbarItem image is using mono color instead of its original colors. Here is my code: <ContentPage.ToolbarItems> <ToolbarItem IconImageSource="logo.png" Order="Primary" …
How to user Azure Key Vault with an Entity Framework connection string
I am trying to encrypt my app service's connection string via Azure Key Vault and this guide and I am getting the following error: The specified named connection is either not found in the configuration, not intended to be used with the EntityClient…
Why is my iOS build much bigger than my Android build in debug and release mode?
I get the following results on Android when I click on Build-->Archive for Publishing: Shrinking not enabled: Estimated App Store Size: 70,66 MB Dex Compiler: d8 Code Shrinker: / Shrinking enabled: Estimated App Store Size:…
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail. [ZR0P278CA0017.CHEP278.PROD.OUTLOOK.COM]
Getting error while sending email using .net and web.config has the following details- The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail.…
How to use existing .net framework 4.8 class library in .NET 6 project?
We have .NET 6 Blazor Server-side project in Visual Studio 2022. We would like to use .Net Framework 4.8 class library in .NET 6. In this class library, we are using System.Windows.Form and we cannot recompile the class library with .NET Standard 2.0. …
How to replace EF Core .Contains in LINQ query?
Hi Team, I am facing issue with .Contains, where there are multiple values, how to rewrite this linq query and how to replace .Contains? LINQ Query: return await this.context.Data.Where(f => f.DataId == this.workingDataId && !f.IsActive…
How to update progress bar value in WPF from backend?
I am developing a download manager, and I want to implement a progress bar, I have added that and it is working fine with webclient but now I am using HttpWebRequest and I am updating progress bar value but it is not updating sometimes it throws an…
What VS options to chooose at the start?
(C#): A few years ago, I wrote a desktop APP in JAVA where the lead-off Class presents a frame (FORM in C#) with a radio button set of choices. Each choice loads a new class with its own frame and so on; there are many others of these. I want to…
WPF application not always responsive to touch?
I have developed a Point-of-Sale solution with WPF using .NET Framework 4.8 running on a touch resistive screen. I am getting complaints from customer that the application doesn't always respond to touch, when for example a button is pressed, or tab item…
Xamarin.Forms Shapes disappeared in UWP
We have created XF shapes (Ellipse, Rectangle) to the ContentPresenter in the Button click event. And we are replacing the content of the ContentPresenter at run time. This is our XAML, <ContentPage…
Image is not displaying after adding items to cart
this error is showing in the console. and the url is fine <asp:Image ID="img" runat="server" ImageUrl=<%# Eval("ImageFile") %> /> protected void AllData() { if…
Deploy file during Xamarin deploy
Is there a way to have a file (.json) which exists on my development PC copied to the app storage on my Android?
c# wpf XamlParseException
i work a project with visual studio 2022 and i use gifs. i save the canvas and use method XamlWriter but when i load canvas, i give an error "System.Windows.Markup.XamlParseException: "Unable to set unknown member…
Is there any way at runtime/programmatically to update the [Display(Name = "...")] display attribute?
I have a database with a large number of tables that I have imported into a .net 6 project using scaffolding (database-first). So all of the tables have been created as C# classes with no attributes decorating them, but separate code automatically…
Xamarin Forms detect device language has changed
If the user changes the selected language in the Android settings, how can I detect that change in my App and update the content to use / show the correct content from the Resources file? Other apps, such as Settings itself, GMail, etc update as soon…
WCF InstancePersistenceCommand Exception
I have a WCF application which consists in some async communications with ecternal services. When we start a new expedient, a new instance is created; it process data and send an xml to a external service and waits for the response. This response…
Protecting C# Windows Application from .Net Reflector and creating setup file
People are installing my app on their computers. I should hide the table structure and connection string information for security. I do this with ConfuserEx:…
System.NullReferenceException in Datagrid.Items (export DataGrid.Items into PDF), in WPF (by C#)
First and foremost, I apologize for my grammatical errors; my first language is Persian (Iran). I want to display DataGrid as a table in PDF through the following codes and DataGrid has 10 columns, there is no problem when I add 8 rows but when I add…
Creating web Apis Auto Gen Services code VIA Poco Classes.
I am seeing to do this all the time create my services and interfaces is their no tool out their at present where it will take a poco class and create a service class based off that or the db context? Im mostly creating web apis using swagger for the…