Windows Form App - VB.Net: Change default path of UserAppDataPath
Hi, I wanted to access the Windows.storage.dll assembly but VS 2019 keeps saying : Anyway, it seems I can't use that assembly because it's for UAW apps. So my issue is: I want users to store their data anywhere in their local…
Troubles with Entity Framework Get Started
I tried play with ef(Net6.0, ef 6.0.1, Sqlite) I took code from "Getting Started with EF Core". I have adds some modifications to Program.cs: var allblogs = db.Blogs .OrderBy(b => b.BlogId) ; foreach(Blog b in allblogs) { …
How can I add Pause and Resume Functionality in My Download Application in WPF?
I am developing a Download Manager in which you have to enter link and press Download button. I want to implement multiple files downloading feature ( lets say user have entered one link and press download button after that he can able to enter another…
Xamarin Forms (Android) - JNIEnv.cs not found
Hello ! I have updated Xamarin Forms and I have an issue right now. After build was done, at launch, VS says that JNIEnv.cs was not found. How I can fix this issue ? Thanks !
Xamarin - Save data captured from multiple screens.
I have several screens in an application that capture data for a single entity. The entity is composed of many objects. Example: First Screen Student First name Student Last Name Student Date of Birth. Second Screen Student Photograph (from…
The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[DB_Payment.Models.GetInvoice]', but this dictionary requires a model item of type 'DB_Payment.Models.GetInvoice'. C# MVC
Hi, Getting an error in C# MVC application: The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[DB_Payment.Models.GetInvoice]', but this dictionary requires a model item of type 'DB_Payment.Models.GetInvoice'. …
Clicking Unused Space in RecyclerView
I have a RecyclerView that does not always have enough items to fill the screen (it has varying numbers of items as is usually the case). Therefore, part of the RecyclerView will be transparent, which is what I want. However, I want to detect when the…
Error Handling in .net6 minimal API
Hi, I am working on a project which uses minimal API. The project has a only 2 endpoints, GetAllItems and GetItem(with id). For the get all item the code is, app.MapGet("/items", ([FromServices] ItemRepository items) => { return…
How to block website access on mobile devices?
Hi, Is it possible to block website access/browsing on all mobile phones? I have already tried HttpContext.Request to check IsMobileDevice and User Agent to cross check browser type. It does not work when I select chrome option "Request…
Xamarin.iOS issue with Google Libraries
I was having trouble building a release version of a Xamarin.iOS app. In my work to attempt to fix, I tried deleting all NuGet packages and re-adding them. For some reason now, it seems like anything Google related is broken. The app has a map and…
Microsoft.Diagnostics.Runtime throw excepton on iOS
I am looking for the Stack traces for all the threads in the current process. The following code works fine for windows but throws an exception when the same code runs on the iOS platform. using (var target =…
Get the current windows logged username to my ASP.net application
I created a small application that I need to get the currently logged user's username. I am running this on a domain pc. In domain pc, my application is working correctly. A popup login is displaying and when I type the username and password it will give…
Bluetooth issue when navigating in XAML
Hi, I have a Xamarin mobile app in C# that connects to Bluetooth, using Android.Bluetooth. In that XAML page, all the Bluetooth operation is great/fine tested on the Amazon Android device. If I navigate to another XAML page, the remote bluetooth…
watchOS app does not deploy to Simulator
Hi macOS Big Sur 11.3.1 - Intel Core i5 Visual Studio 2019 Community Edition For Mac XCode 12.5 watchOS (WatchKit) app refuses to load on the simulator. The simulator loads just fine. Have tried changing compile targets of both the iOS and…
Issues updating an ObservableCollection from a background thread
I am attempting to run my data collection process in a background thread and then update an ObservableCollection that is bound to a DataGrid. I have tried most different solutions that I have found around the web and unfortunately all keep leading me…
The behavior of SpeechRecognitionResult.Status = Unknown of Windows.Media.SpeechRecognition has changed.
Hello. Using the speech recognition API (Windows.Media.SpeechRecognition) I'm creating a WPF app. 〇 What happened: Windows.Media.SpeechRecognition API on January 17, 2022 Used to perform speech recognition. SpeechRecognitionResult.Status =…
The Frame does not respond to Height set
Good Day i have the following <Frame BackgroundColor="#6966AE" CornerRadius="8" HorizontalOptions="CenterAndExpand" HeightRequest="40" > <StackLayout Margin="15" >…
Value issue
Hi, To the code, it does override the original value of field tb_valid_from. How to resolve it? $(function () { $("#tb_valid_from").datepicker({ autoclose: true, todayHighlight: true …
Loadon Demand in a ListView Xamarin
Good Day i followed this Example https://github.com/HoussemDellai/Infinite-Scroll-Xamarin-Forms-Demo to implement the LoadOnDemand on a Listview and it works perfectly. but it takes time to load the data as compared to when i was just binding 300…
Hadoop and Big Data
I recently started studying Big Data in my university. But i am having troubles in understanding how is Hadoop and Big Data related? Anyone can explain this?