Content
String and integer needing to be added to exisiting categories.
Hi, I have a grocery list app that I have a browse for groceries on a catalogue and that catalogue adds it to a category with number of database functions and models. The categories are on the listViewModel page. What I am struggling with is being able…
How to set VisualStates in MAUI CollectionView in C# (NOT Xaml)
Hi, In reference to Microsoft MAUI Documentation, it is possible to change visual state of selected CollectionView items in Xaml:…
Using TargetName reference in VisualStates in MAUI in C# (NOT Xaml)
This question is in some way an extension to another question: https://learn.microsoft.com/en-us/answers/questions/1182099/how-to-set-visualstates-in-maui-collectionview-in which Alec Liu (Yonglun Liu) provided an excellent answer for. In that…
Recommendation for Blazor Server use for an application
I would like to know if Blazor Server would be recommended as the way to go for an application that does the following Needs to run on any device able to run .NET apps (i.e. Raspberry PI etc.) Needs to access IOT devices (JSON strings received or sent…
Pending Navigations still processing when navigating from page constructor or OnNavigated method in MAUI
I am using MAUI with .NET 7 and I want to implement login flow. Basic case I have is to have only 2 pages: Dashboard and Login. Third page is Loading page that will have no layout, just serves as a routing page. Flow is: Loading page is the first one…
Strategies for Handling Large File Uploads in a .NET Web API?
I am designing a .NET Web API that needs to handle large file uploads. I am exploring different strategies to efficiently process and store large files while ensuring the application remains responsive. Can anyone provide insights, recommendations, or…
How to Optimize Database Queries in a .NET Entity Framework Application?
I am developing a .NET application using Entity Framework for database interactions. I have noticed some performance bottlenecks related to database queries and am seeking advice on optimizing them. Can anyone share tips, best practices, or resources on…
How to Implement Efficient Logging in a .NET Core Application?
I am developing a .NET Core application and am exploring different approaches to implementing efficient and scalable logging mechanisms. I am considering using libraries like Serilog and NLog but am open to other recommendations. Can anyone provide…
How to Implement Caching Strategies in a .NET Core Web API?
I am developing a .NET Core Web API and am looking to optimize its performance by implementing effective caching strategies. I am considering using in-memory caching and distributed caching but am open to other recommendations. Can anyone provide…
ASP.NET CORE WEBAPI Custom Filter <> Bearer Token
Seeing this article [http://dotnet-concept.com/Tutorials/2020/1/5800875/Web-API-Tutorial-Csharp-Part-3-Implementing-basic-Bearer-authentication-in-Web-API-application] I created a custom filter CustomAuthenticationAttribute , I am trying use Custom…
How to Reduce Splash screen time in .net maui?
I am working on .net maui apps and I want to set fully custom splash screen using page like doing in modern apps (due to android 12 or later limitations). So, I make one page that shows immediately after splash screen that is actually my splash screen.…
Runtime Error 424 when the module was running fine before.
Sub Report() Worksheets("Report").Activate Cells(41, 14).Select Dim baris, kira As Integer Dim Nama, ProperPath, Namafail As String baris = 41 kira = Cells(40, 17).Value Do While baris < kira + 41 Nama = Cells(baris,…
calling REST API
I am trying to call a REST API on my local host for testing purposes. This is what I have in my controller: public class SMSController : ControllerBase { private readonly IWebHostEnvironment _webHostEnvironment; public readonly…
ComboBox Appears Black in Windows 10 Using .NET Framework 4.8
Hello, I'm currently facing an issue with a ComboBox in a Windows application I developed using .NET Framework 4.8 on Windows 10. The ComboBox is appearing black, making it difficult to see which item is selected. However, when I click on it, it…
How to run AI model in a Blazor frontend
Hi, What is the best way to run a AI model (programmed in Python) that has been deployed in Azure as a managed endpoint in the Blazor frontend of each user of a Blazor website? Is there a way to run the AI model in the Blazor frontend in a simple and…
system.drawing.icon from System.Windows.Shapes.Path
<Path x:Key="Icon.Path.ExpandAll" Style="{StaticResource Style.Path.Icon.Base}" StrokeThickness="0.2" Data="M19,19V5H5V19H19M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5C3,3.89 3.9,3…
issue in opacity of the parent form and panel
Hi , my other problem is there is a scenario in which i have a form named child which is opened inside a panel of a form named father . what i am trying is when i press F2 on my keyboard a new form opens asking for current date . at this moment i want…
Is there some way to get VS 2022 to stop closing my Maui app with no reason/no error in VS?
The last few days I am getting VS closing my app in the Android emulator for no apparent reason. If I plug in my phone and do testing from there I don't get the problem. I have gone thru the horrible process of trying to re-init the emulator but it…
.net maui fully custom splash screen
I am working on . net maui splash screen but there are android 12 and later issues. So I can not set splash screen like make image like previous android versions. But I want and set it image that has contents on all screen. I have seen many splash…
InvalidProgramException in Windows Forms application
Hello, I'm a developer of the desktop .NET Windows Forms application. I faced a strange exception thrown by .NET runtime on a single production PC. On a component initialization phase .NET throws the following: System.InvalidProgramException: Common…