25,915 questions with .NET-related tags

Sort by: Updated
0 answers

Issue with AuthenticateAsync

If anyone can give me a clue as to where I am going wrong. I have slowly been upgrading my code base from .NET 6 to .NET 8. With my authorization controller, in the authorize method with .NET 6 this line of code var results = await…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2024-10-16T13:58:20.7166667+00:00
Michael Mastro II 51 Reputation points
commented 2024-10-19T18:06:26.0066667+00:00
Michael Mastro II 51 Reputation points
2 answers

Cannot upload a file using ASP.NET Core REST Web API and Swagger

Hello, The [FromForm] IFormFile file is null for a REST API HttpPost. The project was created using the Visual Studio 2022 ASP.NET Core Web API template. I deleted the Weather model and controller. And added my own controller. Here is my controller…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
asked 2024-10-18T13:30:16.2766667+00:00
William Johnston 61 Reputation points
edited an answer 2024-10-19T17:22:01.22+00:00
Mokhtar Brada 0 Reputation points
0 answers

BINDING DOES NOT RECOGNIZE TYPE

I have a custom component that exposes a property 'Amount64' of type Int64; I would like to bind it to a property 'Amount', also of type Int64, in the host page: <components:MyNumericKeyboard x:Name="keypad" Amount64="{Binding Amount,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2024-10-18T21:09:35.5033333+00:00
Giorgio Sfiligoi 186 Reputation points
commented 2024-10-19T16:37:45.4466667+00:00
Viorel 117.6K Reputation points
0 answers

MAUI: Slider ThumbImageSource is not moving after disabling the slider to select lower time

Using this and this threads I implemented the slider reduction prevention logic on my MAUI application. My requirement is that after dragging the slider, the user should not be allowed to select a lower value. However, if they choose a higher value, it…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2024-10-19T12:21:20.81+00:00
Sreejith Sreenivasan 896 Reputation points
1 answer

Embedding of Blazor Server Component in Web Forms

We have a legacy application on ASP.NET Web Forms (version .NET 4.8), now we want to shift it to latest tech stack Blazor using Server Hosting Model only (version .NET 8). I am facing issues in embedding the Blazor Server components in Web Forms. Is…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
743 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,584 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,494 questions
asked 2024-10-18T07:27:11.24+00:00
Aima Maqsood 0 Reputation points
edited a comment 2024-10-19T12:17:50.9366667+00:00
Aima Maqsood 0 Reputation points
1 answer One of the answers was accepted by the question author.

Error in navigation: Shell.Current is null. MainPage is null or not an instance of AppShell

hi, When I click on the buttons this error appears in the console: Error in navigation: Shell.Current is null. MainPage is null or not an instance of AppShell. Macos visual studio for mac .net8 .net maui AppShell.xaml.cs using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2024-01-16T15:45:40.55+00:00
Samuel Pimenta 40 Reputation points
commented 2024-10-19T11:33:54.68+00:00
santiago carela 0 Reputation points
1 answer

Azure Data Factory SFTP Linked Service: Failed to read binary packet data! (ProtocolError)

Hi everyone, I'm facing a problem with a SFTP server, where some restrictions are applied to avoid the usage of RSA Keys with SHA1 signature. I can connect without any problem to the SFTP server using WinSCP. There are no network restrictions so I can…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,740 questions
asked 2024-06-17T09:23:48.5933333+00:00
Paul Hernandez 666 Reputation points Microsoft Employee
commented 2024-10-19T10:41:52.88+00:00
Ashwin Antony 0 Reputation points
0 answers

ASP.NET API + Swagger + Azure B2C

This is my 3. try to get help for a ASP.NET Core + Swagger + Azure B2C demo project. I am not sending code because this results into…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
338 questions
asked 2024-10-19T09:59:42.05+00:00
Bernhard 111 Reputation points
0 answers

CRITICAL ERROR | Ask a question -> Page not found!

I worked OVER 1 HOUR on a question and when I submitted it I got redirected to PAGE NOT FOUND! My draft I had IS GONE! I am very unhappy with this.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
338 questions
asked 2024-10-19T09:48:58.1+00:00
Bernhard 111 Reputation points
edited the question 2024-10-19T09:57:19.9733333+00:00
Bernhard 111 Reputation points
0 answers

BINDING CONVERTER THROWS EXCEPTION

HELP I have a simple binding like that: <Entry Text="{Binding Amount" OK <Entry Text="{Binding Amount, Converter={StaticResource amountConverter}}" THROWS an exception. Here is the complete page: <?xml…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2024-10-16T18:08:53.4533333+00:00
Giorgio Sfiligoi 186 Reputation points
commented 2024-10-19T07:07:05.2+00:00
Giorgio Sfiligoi 186 Reputation points
1 answer

How to make "RefreshView" friends with "AbsoluteLayout"

public CollectionPage() : base() { collection.SelectionChanged += _OnSelectionChanged; collection.ItemTemplate = GetDataTemplate(); LoadedCollection(); refresh.Command = new Command(LoadedCollection); refresh.Content = collection; var fabButton…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2024-10-08T16:42:53.7533333+00:00
валера карманов 361 Reputation points
commented 2024-10-19T05:58:03.72+00:00
валера карманов 361 Reputation points
0 answers

Xamarin iOS How to File.ReadAllBytes a file inside /private/var/mobile/Containers/Shared/AppGroup/

string filePath = "/private/var/mobile/Containers/Shared/AppGroup/7E6455EB-2EF9-417E-BC79-71BA25B53853/File Provider Storage/file.pdf" byte[] byteFile = File.ReadAllBytes(filePath); When I run the code above on Xamarin iOS I get an…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 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.
10,962 questions
asked 2024-10-19T02:14:17.65+00:00
Jimmy Oku 0 Reputation points
2 answers One of the answers was accepted by the question author.

Cannot call an aspx file in MVC .NET 4.7.2 Web App from MVC .NET 4.7.2

Hi, I have two MVC projects, MVCWebappDLL project and MVCRegularDLL project. Both in two different solutions.    I reference MVCWebappDLL from inside the MVCRegularDLL.   I have an .aspx with its .aspx.cs that resides in MVCWebappDLL.   In my…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,494 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.
10,962 questions
asked 2024-10-17T18:45:49.48+00:00
iqworks Information Quality Works 276 Reputation points
commented 2024-10-19T01:42:43.9+00:00
SurferOnWww 2,906 Reputation points
1 answer

Help with GitHub Actions CI/CD Blazor Web App .NET8-> Azure App Service

yaml-copy.txtThe publish directly from Visual Studio works correctly but my yaml script results in the css/bootstrap not being applied correctly. Are there any changes needed to be made with my yaml script? It is a Blazor Web App .NET8 interactive…

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,584 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,807 questions
asked 2024-10-18T14:32:05.2433333+00:00
Christopher Abbondandelo 0 Reputation points
answered 2024-10-19T00:01:34.6666667+00:00
brtrach-MSFT 16,431 Reputation points Microsoft Employee
0 answers

MAUI Application refuse to run due to microsoft family

When I run MAUI app from VS on windows machine , I get the following error and the app get prevented from running : I am running on Windows 10 PRO edition I am the organizer in Microsoft Family Safty app , so technically I should be able to run and…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,642 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,642 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2024-10-18T20:44:15+00:00
S H 25 Reputation points
0 answers

MAUI Application refuse to run due to microsoft family

When I run MAUI app from VS on windows machine , I get the following error and the app get prevented from running : I am running on Windows 10 PRO edition I am the organizer in Microsoft Family Safty app , so technically I should be able to run and…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,642 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,642 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2024-10-18T20:44:15+00:00
S H 25 Reputation points
0 answers

System.NotSupportedException: The given path's format is not supported

I have a project that has been building and publishing successfully. However, after attempting to solve the iOS 18 white screen issue, a new error has started to appear, and I am unsure where to look to fix it. The following changes have been made since…

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,584 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 questions
asked 2024-10-10T06:08:54.01+00:00
Dan Taxbøl 20 Reputation points
edited a comment 2024-10-18T19:57:51.9166667+00:00
Dan Taxbøl 20 Reputation points
3 answers

Get property that is not in class C# (Android)

public class DashboardPage : ContentPage { public DashboardPage() { RunObject(new DemoObject { Name = "Text" }); RunObject(new Demo1Object { Name = "Text 1" }); } private void RunObject(BaseObject…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,541 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.
10,962 questions
asked 2024-10-16T18:46:38.1266667+00:00
валера карманов 361 Reputation points
commented 2024-10-18T19:54:10.6966667+00:00
Bruce (SqlWork.com) 65,576 Reputation points
1 answer

Lifetime validation failed, the token is expired.

Even if the token is new then also it gives me this error.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,183 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 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.
10,962 questions
asked 2024-10-18T14:36:07.8433333+00:00
Mayur 0 Reputation points
commented 2024-10-18T19:00:39.98+00:00
Bruce (SqlWork.com) 65,576 Reputation points
0 answers

ImageView not updating in RecyclerView

I have a RecyclerView with the following item layout: <?xml version="1.0" encoding="utf-8"?> <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 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.
10,962 questions
asked 2024-10-18T18:02:52.0833333+00:00
Nathan Sokalski 4,106 Reputation points