Help me understand this please!!!!
Hello, im a programmer stundent im doing a project about Cua(Queue in catalan), its a dynamic queue where the data are stored in Nodes, and i want to understand why, in the next code i can use the .Count to get the total of the nodes linked in the…
Using SQL Server Read/Write Image Ever Day With A Table
I've a case that need to save Image in database, than user can search/upload site(DB) to site(DB) ever day from winform. Every image size average 250kb - 350kb, The total usage with image perhaps growth 110GB/year without delete form database. I'll…
How should I add a Blazor UI to an existing .NET Core API?
We have a .NET Core product with an API that we want to create a UI for. We've decided to switch from React (which we've used on other projects) to Blazor because our team all knows C# and only one person knows React/JS. I've done some initial learning…
Custom ApiController Model Binding type conversion error
According to the Model Binding documentation: In an API controller that has the [ApiController] attribute, invalid model state results in an automatic HTTP 400 response. So when I send an invalid type in the request body (e.g. int instead of string),…
Error loading report.rdlc,Unable to copy bin\debug\
Good afternoon again, I have already searched for information online, but I have not been able to find the error. The error is the following: An error occurred during local report processing. The report definition has not been specified, the file is not…
Looking for suggestion on storage
I am look for a suggestion on file storage with .net Maui. In my existing .net Android app, I am reading/writing files to a custom folder in the device root basicall /myfolder, this allows the user to connect and transfer files to/from the device…
EditForm in Blazor does not work on submit
Below is the source code, brand new blazor project vs2022 , Version 17.9.5 put a break point on string breakpointhere = "z"; examine xx variable - for the model, you will see that the MyTitle string is always null. Such basic stuff…
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 to fix vite error in Angular ASP.NET project?
I have started my Angular ASP.NET project and ended up with the following error, just want to find out how to fix it: Thank you!
How to Sum, Join, Union, Group By Month And Year Using LINQ Query
I have two tables. I want to find the sum of the data in one table and the subtraction of the second table. I am trying to explain the matter by attaching an image below. Note here that I don't know which table's data will come first. Maybe the data of…
How to include in my App on Android text files
Hi to All. I've done a App for Android. This App uses particular files in old format MSDOS. First: how can include with the app on the tablet this files? (i.e. in the same directoy of the App).Second: the code page of MSDOS is quite different with…
How can I prevent window titles from overlapping in a Maui app with shell navigation and modals?
I'm developing a Maui app with shell navigation and modals, and I'm encountering an issue with overlapping window titles. When navigating from the main page to another page using shell navigation, a back button appears, causing the window title to shift…
Create, Reference and use a Razor class library.
Hello! I'm training on Microsoft Learn. My current stage is the following module: https://learn.microsoft.com/en-us/training/modules/blazor-build-reusable-components/3-create-razor-class-library First of all, this exercise starts saying that it uses…
Enable a button after scrolling to the bottom of the webview
I am trying to enable a button when the user has scrolled to the bottom of a webview , i tried using navigated , it does not work. In xamarin, we used a customRenderer to achieve this , Can we do this in a simpler way in MAUI? Platform : Android ,…
Issue of slow data loading in Radzen grid in .net 8 blazor web app in both SSR and CSR And Auto mode ? How to Fix this?
Hi, I have a Razor component and in this component I have Radzen grid to show data , In my data base i have 60000 + rows and I am showing this data to component page using Radzen Datagrid but its taking more then 1 minute to load the data how i can…
How to add a placeholder with ability to change placeholder color to DatePicker and TimePicker in Dot Net MAUI?
Previously in Xamarin.Forms I used below code to do that? [assembly: ExportRenderer(typeof(CustomDatePicker), typeof(CustomDatePickerRenderer))] namespace MyEstateLife.Droid.CustomRenderers { public class CustomDatePickerRenderer :…
Bluetooth Plugin.Ble not showing any device.
I am using visual studio 2022 Maui, installed latest update and bluetooth Plugin.Ble ver 3. Also added all permission #if ANDROID public override (string androidPermission, bool isRuntime)[] RequiredPermissions => new List<(string Permission,…
Returning consistent errors in .NET Web API
I have a backend .NET Core Web API application and React App on the front. I would like to be able to return errors from the API and display them in the app. The problem I'm facing is that some classes return errors differently. For example, I'm using…
Maui mobile app using Signalr is encoding hub name in ConnectionData parameter on iOS 17
We have a mobile app in production built using Maui. The server running the api is it connecting to uses .net framework. There are issues connecting to signalR from iOS17 devices. From debug we can see the following: iOS 17 device sets the connectionData…
I'm trying to read excel from sharepoint by using asp.net but its giving me following error fail: PowerBi_Report.Controllers.HomeController[0] An error occurred while processing the request: The remote server returned an error: (401) Unauthorized.
I have all the permissions for excel present in sharepoint still I'm getting same error can someone please help me out on this I'm pasting my code below using System; using System.Diagnostics; using System.Net; using Microsoft.AspNetCore.Mvc; using…