Rule is not created expectedly
Hi, What is wrong below? I want to call Command prompt (by running it as Administrator) and further apply firewall rule. It seems relevant rule is not created expectedly. Why? fld1 = "netsh advfirewall…
Trying to execute multiple stored procedures in multiple calls in parallel from .net core WebApi
Trying to execute multiple stored procedures in multiple calls in parallel from .net core WebApi Hi. I've been trying to find a way to execute stored procedures in SQL Server in parallel from a web API in .net core. The request are being done by an…
System.Reflection.TargetInvocationException / Lineagradientbrush
Hi Everyone, I'm having a hard time trying to implement a Gradient. In Xamarin Forms I'm using this code, but when I try to run I get System.Reflection.TargetInvocationException Message=Exception has been thrown by the target of an invocation. It…
TargetPlatformVersion is -1
Xamarin.Forms recommends TargetPlatformMinVersion >= 10.0.14393.0 (current project is -1) App1 C:\Microsoft\Xamarin\NuGet\xamarin.forms\4.8.0.1451\buildTransitive\Xamarin.Forms.targets 232 Xamarin.Forms recommends TargetPlatformVersion >=…
ImageButton FontImageSource.Glyph and FontImageSource.Color binding in csharp
Hi I have an ImageButton and I set a static source: iconCancellaOModificaQuantitaOBarcode.Source = new FontImageSource { Glyph = Library.IconaCancella, FontFamily = "ionicons", …
C# Task - LazyAsyncResult - NullReferenceException
There is something wrong with the following method: public async Task<ExtendedProductDTO> GetProductByUniqueIDAsync(string id) { var product = await _productRepo.FindFirstOrDefaultAsync(i => i.UniqueID ==…
How to expose properties of a child control in a Custom Control
Hello, I'm not sure which is the best way for achieve this. I have a custom control which is a grid that contains a Label and an Entry. I want to access the property "Text" of both controls when I use this custom control in my XAML. I…
Xamarin.Auth Google
Hello. I am using Xamarin.Auth library to authorize via Google in android app. When I click on my account, the redirect does not work. What could be the reason? I recorded a video of this problem Download the project
how i get the column header text when clicked in gridview in asp.net
Hi members how i get the column header text when clicked in gridview please help
Blazor - Progress Indicator - Timer Object
I have a requirement to display the progress of jobs on an application server in a Blazor Server app. Currently I'm using a timer to poll the database for progress and display the results to the user. I have no control over the app server and can't…
WPF: How can I update Text in TextBox in code without losing binding information?
I created a validating WPF user control, derived from TextBox. The Text property in my TextBox is bound using something like <my:MyTextBox Text={Binding ..., Mode=OneWay}. The user may update the displayed text therein, so I can further process…
Xamarin WEP API Development Enviroment with Android Device
Hi There, I am new to Xamarin and trying to get some pieces up and running in a development enviroment. Stuck at a point where I have a WEB API sample which works fine with Postman but cannot send any messages from my (USB connected) Anroid device…
Will Microsoft Support for Xamarin Stop (2021?)
"Where does it leave Xamarin.Native development (Xamarin.iOS & Xamarin.Android)? Both will be incorporated into the .NET 6 Platform and renamed to .NET for iOS & .NET for Android respectively. They’ll get CLI support as well: dotnet new ios…
iOS renderer in VS2019 broken
For some reason, I've never been able to get the iOS xaml previewer working. The Android one works. Both simulators work. VS Community 2019 V16.8.2 Xamarin 16.8.000.255 Xamarin Designer 16.8.0.507 Xamarin.ios sdk 14.4.1.3 Message: Something…
Build Solution vs. Rebuild Solution
Every time when I modify code, I rebuild solution, then use the application file (under Bin > Debug folder) as the final product. Is it correct process? I am not exactly sure the difference among Build Solution, Rebuild Solution and Clean…
Calling and call-recording sdk/nuget for xamarin.forms
I am working on a xamarin. forms, as a part of the requirement I need to allow the user to call other users (like Amazon or Flipcart calls customer before delivery) and also has to record the conversions. I came across Twilio but the support team…
EF Core question regarding relations
I'm building a ticket system. I have two models: User and Ticket. A user can have multiple tickets, and is bound to the ticket via the Customer_Id field. Another user, with the role of Practitioner, can also be assigned to the ticket, via the…
Dataset.ReadXML too slow (compared to the binary format)
Hello, I have a project in .NET 4.6 that I would like to "upgrade" to .NET Core 5.0 One of the problems I have is that I use the Binary format that is obsolete. In .NET 4.6, it takes a little less than 3 sec. to load (with the binary…
Shell FlyoutItem AsMultipleItems
in my application I have roles and depending on the role it will have different menu options for example: <FlyoutItem Route="AdminMain" FlyoutDisplayOptions="AsMultipleItems" IsTabStop="False"…
System.IO.FileNotFoundException Problem
Hello, I am trying to use Roslyn compiler: g_ms = new MemoryStream(); g_result = g_compilation.Emit(g_ms); But I am getting this very suspicious error: FileNotFoundException: Could not load file or assembly…