How to Implement Secure User Login with SQLite in a C# WPF Project?
Hello I am working on a C# WPF project that uses an SQLite database. I want to implement a username and password mechanism to prevent unauthorized access to the application. At the same time, I’m concerned about protecting sensitive information in the…
pass a parameter to controller of partial view
I have an asp.net mvc View Report.cshtml that is a report and displays info from many classes. For most of the report I put info into arrays then do loops on the page to get the values from the arrays. There are two sections that I thought I would…
Custom Javascript/Css files are returning 404 resource not found when deploying .net 8 Razor Pages web app. The page loads Site.js/.css perfectly fine and all the files are in respective directories what could the issue be?
So I developed a simple .net 8 razor pages tool that uses two custom.js files that work fine locally but when I deploy to server in IIS they return 404 resource not found. The site.js/.css files load perfectly fine and all the files are located in the…
Api call wait on mobile
For some reason, the api that I am calling in the home page, in windows is loaded when I start the app, but on mobile, I have to wait Question Can I do something to make it faster? Why in desktop I do not have to…
Exception calling "Start" with "1" argument(s): "The specified executable is not a valid application for this OS platform." with all ef core commands
When I run one of the ef core commands, I encounter the following error: Exception calling "Start" with "1" argument(s): "The specified executable is not a valid application for this OS platform." At line:1 char:1 For…
showing turbines in page
I completely redid my app, because I was making too much work on a page calling 2 apis Serviece public class TurbinesService(FirestoreService firestoreService, BlobServiceClient blobServiceClient) { private const string collectionName =…
Maui navigation and TitleView is very confusing
I am trying to customize the TitleView in a Maui app. 1st - I am trying to get the page title but this is not happening. The property CurrentPage does not seem to get updated and this means that the Title prop of the CurrentPage is not accessable. 2nd…
How to fix an error System.TypeLoadException: in an swagger api project ?
System.TypeLoadException: Method 'get_LockReleaseBehavior' in type 'MySql.EntityFrameworkCore.Migrations.Internal.MySQLHistoryRepository' from assembly 'MySql.EntityFrameworkCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' does…
How to bypass "Pick an account" popup after Sign out
Hello all, Is there any possibility to bypass the "Pick user popup" after Sign out with Endpoint v2.0 at Azure AD? We need to execute automatic sign out at Blazor app while user is not active, but we got redirect at the popup and the user is…
Publishing MAUI Project on Windows: Grayed Out Option
I want to publish my MAUI project on the Windows platform, but the publishing option is grayed out. What steps can be taken to resolve this issue? Here's my C# project configuration: <Project…
Multiple emails validation with split comma in a Textbox
Hi, If I have a TetxtBox that will be used to send messages to multiple emails, how can I validate these emails that will be inputted in the textbox? The emails are separated by comma. e.g. myfirstmail@hotmail.com, mymail@outlook.com,…
Multiple emails validation with split comma in a Textbox
Hi, If I have a TetxtBox that will be used to send messages to multiple emails, how can I validate these emails that will be inputted in the textbox? The emails are separated by comma. e.g. myfirstmail@hotmail.com, mymail@outlook.com,…
How to fix System.IO.FileNotFoundException exception caused by a missing System.Memory.Data.dll in the bin folder
I am experiencing this issue across all my Azure Function apps after a recent NuGet update to SDK v8.0.403. All of these function apps are using the In-Process model. I have updated all my NuGet packages, including…
Controllers do not appear in Visual Studio 2022
I have a project I created with ASP.Net Core on Visual Studio 2022. I also save my project on Github. When I want to add a Controller to my project content, the options do not appear and it is not available in NuGet Package. What can I do about this?
How Remove DatePicker underline in .NET MAUI
In .NET MAUI, I am using a DatePicker to display a date on a page. However, on Android, it is showing an underline below it. I want to hide this underline. I have written the following code to achieve this, but it's not working. Could you please help me…
How to close Bootstrap modal in Blazor WASM?
Hi, In my Blazor WASM (.net 6) application, I am displaying a modal popup as follows. <!-- Modal --> <div class="modal fade bg-transparent" id="templatemo_search" tabindex="-1" role="dialog"…
search bar in shell behavior
So, I need to modify, my behavior on desktop I have the shell, with the Seach bar <Window x:Class="METROWIND.Views.MainWindow" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …
navigation errors
I have my services public ObservableCollection<TurbinePin> TurbinePins { get; set; } = []; public TurbinesService(FirestoreService firestoreService, BlobServiceClient blobServiceClient) { _firestoreService = firestoreService; …
Can EF Core Code First Approach Be Used with Azure Synapse?
I have a requirement to fetch all the client data using an API and then store it in Azure Synapse. I need to create the tables in Synapse and sync data every day based on the Last Modified Timestamp in Synapse. Can EF Core Code First approach be used to…
How can I implement right and left swipe gestures to navigate back and forward in a .NET MAUI WebView? My current implementation isn't working, and the WebView's navigation stack seems to always return null. Can you help me troubleshoot and improve this
public WebAppView() { InitializeComponent(); BindingContext = this; _globalData = ServiceHelper.GetService<GlobalDataService>(); _Notification = ServiceHelper.GetService<NotificationService>(); //…