26,251 questions with .NET-related tags

Sort by: Updated
1 answer

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,789 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,072 questions
asked 2024-11-26T09:50:21.2+00:00
fatih uyanık 100 Reputation points
commented 2024-11-26T21:19:18.05+00:00
Karen Payne MVP 35,446 Reputation points
1 answer

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,526 questions
asked 2024-11-26T20:53:32.3233333+00:00
M J 661 Reputation points
answered 2024-11-26T21:09:53.3233333+00:00
AgaveJoe 28,626 Reputation points
1 answer

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,526 questions
asked 2024-11-20T18:22:14.6+00:00
Nunez, Juan 0 Reputation points
edited a comment 2024-11-26T20:30:42.34+00:00
AgaveJoe 28,626 Reputation points
0 answers

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,671 questions
asked 2024-11-22T09:36:43.77+00:00
Eduardo Gomez Romero 975 Reputation points
commented 2024-11-26T20:17:43.9433333+00:00
Eduardo Gomez Romero 975 Reputation points
1 answer

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…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
760 questions
asked 2024-11-26T12:02:35.5866667+00:00
Arman Espiar 1 Reputation point
commented 2024-11-26T19:03:19.87+00:00
Arman Espiar 1 Reputation point
0 answers

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 =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,671 questions
asked 2024-11-26T17:59:18.75+00:00
Eduardo Gomez Romero 975 Reputation points
edited the question 2024-11-26T18:54:36.3033333+00:00
Eduardo Gomez Romero 975 Reputation points
1 answer

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,671 questions
asked 2023-02-12T18:10:32.7866667+00:00
Lloyd Sheen 1,481 Reputation points
edited the question 2024-11-26T18:25:57.7066667+00:00
TP 99,681 Reputation points
1 answer

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…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
760 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,650 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,091 questions
asked 2024-10-11T08:15:59.3133333+00:00
Mathis De Sousa 0 Reputation points
commented 2024-11-26T17:05:48.5433333+00:00
Mark Palnau 0 Reputation points
1 answer

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…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,606 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,337 questions
asked 2023-10-25T08:23:23.9666667+00:00
JT 5 Reputation points
commented 2024-11-26T16:29:05.3033333+00:00
Robert Walsh 0 Reputation points
0 answers

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,671 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,072 questions
asked 2024-10-05T14:00:54.4366667+00:00
Smith Tom 65 Reputation points
commented 2024-11-26T15:24:17.45+00:00
niico 45 Reputation points
3 answers

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,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,526 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,072 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,526 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,072 questions
asked 2024-11-25T16:16:54.6466667+00:00
Donald Symmons 2,946 Reputation points
commented 2024-11-26T14:47:32.87+00:00
Michael Taylor 55,221 Reputation points
3 answers

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,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,526 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,072 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,526 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,072 questions
asked 2024-11-25T16:16:54.6466667+00:00
Donald Symmons 2,946 Reputation points
commented 2024-11-26T14:47:32.87+00:00
Michael Taylor 55,221 Reputation points
1 answer

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…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,165 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 questions
asked 2024-10-22T05:05:47.63+00:00
Chandran, Ajith 0 Reputation points
commented 2024-11-26T14:34:44.2266667+00:00
binil_hon 0 Reputation points
1 answer One of the answers was accepted by the question author.

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?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,650 questions
asked 2024-09-17T18:31:59.8166667+00:00
kübra artı 20 Reputation points
commented 2024-11-26T14:31:13.29+00:00
Daniel Nogueira Maximiano 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,671 questions
asked 2024-03-04T07:11:22.7533333+00:00
Bhuwan 726 Reputation points
edited a comment 2024-11-26T14:11:14.01+00:00
Bhuwan 726 Reputation points
4 answers

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"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,650 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,606 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,072 questions
asked 2024-06-21T19:34:00.18+00:00
Cenk 1,021 Reputation points
answered 2024-11-26T13:49:21.5866667+00:00
Robert Haken 1 Reputation point MVP
1 answer

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" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,671 questions
asked 2024-11-22T10:58:06.6833333+00:00
Eduardo Gomez Romero 975 Reputation points
edited a comment 2024-11-26T11:44:36.6233333+00:00
Eduardo Gomez Romero 975 Reputation points
0 answers

navigation errors

I have my services public ObservableCollection<TurbinePin> TurbinePins { get; set; } = []; public TurbinesService(FirestoreService firestoreService, BlobServiceClient blobServiceClient) { _firestoreService = firestoreService; …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,671 questions
asked 2024-11-25T21:16:53.8533333+00:00
Eduardo Gomez Romero 975 Reputation points
edited a comment 2024-11-26T11:42:19.1533333+00:00
Eduardo Gomez Romero 975 Reputation points
1 answer

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…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
760 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,021 questions
asked 2024-11-26T07:34:00.2466667+00:00
sonal khatri 66 Reputation points
answered 2024-11-26T11:21:22.6033333+00:00
phemanth 11,475 Reputation points Microsoft Vendor
1 answer

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>(); //…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,671 questions
asked 2024-11-25T10:18:23.1733333+00:00
Satyasai Gunnam 20 Reputation points
answered 2024-11-26T11:03:58.74+00:00
Satyasai Gunnam 20 Reputation points