24,775 questions with .NET-related tags

Sort by: Updated
0 answers

I have 3 image in Blazor page.Want do every image have own Uploadfile that mean one image one uploadfile

@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <h1 style="color: blue;">Promosi Barang Anda!</h1> <p></p> Welcome to your new app. <p></p> @for (int i = 0; i <…

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,476 questions
asked 2024-07-04T15:27:00.7266667+00:00
MIPAKTEH_1 260 Reputation points
2 answers

Send email from a .Net Framework Winforms application and service using Microsoft accounts.

Hello. We provide a .Net Framework Winforms application with a service. Both share code which allows our customers to send email from their own email accounts, currently using MailKit, although we could use another client if necessary. Where they want…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,571 questions
Microsoft Entra
asked 2024-06-28T11:56:45.4266667+00:00
Fortecho Solutions Ltd 0 Reputation points
commented 2024-07-04T15:24:30.19+00:00
Raja Pothuraju 1,190 Reputation points Microsoft Vendor
0 answers

Issue with CollectionView RemainingItemsThresholdReached event

I am facing 2 issues with the CollectionView: I have given RemainingItemsThreshold="0" for CollectionView, but the RemainingItemsThresholdReached event is firing before reaching the last item. It is calling around 6 items before the last…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,140 questions
asked 2024-07-02T15:15:25.8366667+00:00
Sreejith Sreenivasan 811 Reputation points
commented 2024-07-04T15:18:30.8366667+00:00
Sreejith Sreenivasan 811 Reputation points
0 answers

I am having an issue , the textbov does allow space when pressing space bar

<TextBox x:Name="txtLocationName" Grid.Column="3" Grid.Row="5" Height="22" VerticalAlignment="Center" TabIndex="17" …

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,706 questions
asked 2024-07-04T11:30:05.2+00:00
Sgcino Ngema 0 Reputation points
commented 2024-07-04T15:14:08.5066667+00:00
Viorel 114.1K Reputation points
0 answers

Microsoft Cognitive Services Voise to text doesn't work on uploaded to Azure website

I'm using Azure AI services to recognize speach and convert it into text with .Net SpeechConfig speechConfig = SpeechConfig.FromSubscription(subscriptionKey, region); SpeechRecognitionResult result; using (SpeechRecognizer…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,342 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,576 questions
asked 2024-07-04T14:41:38.0133333+00:00
Sviatlana 0 Reputation points
2 answers

Why does my newly created .NET 8 azure function use dotnet, while upgraded ones use dotnet-isolated?

Hello all, I recently migrated a few azure functions from .NET 6.0 to .NET 8.0, mostly using the in place Visual Studio 2022 upgrade process. One of the last steps after upgrading is to update your local.settings.json to this…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,564 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,571 questions
asked 2024-07-03T21:23:52.92+00:00
Brendan Finnegan 46 Reputation points
answered 2024-07-04T14:07:15.3033333+00:00
Pinaki Ghatak 2,795 Reputation points Microsoft Employee
1 answer

MAUI - How can slider reduction be prevented?

In my MAUI application, I am using a slider to set a timer. The user can set the desired time by sliding the slider to the appropriate position. Once the timer is started, I want to prevent the user from reducing the set time until the timer completes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,140 questions
asked 2024-07-02T15:01:31.2433333+00:00
Sakshi Poojary 55 Reputation points
commented 2024-07-04T13:56:21.1766667+00:00
Sreejith Sreenivasan 811 Reputation points
1 answer

MAUI - Issue with saving an Image as a ByteArrayContent

In my MAUI application, there is a profile page where users can view and edit their personal details. This page includes functionality for updating the profile image. Users have three options for adding a profile image: Taking a photo using the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,140 questions
asked 2024-07-02T15:35:00.11+00:00
Sakshi Poojary 55 Reputation points
commented 2024-07-04T13:48:19.85+00:00
Sreejith Sreenivasan 811 Reputation points
0 answers

Getting 500.30 for no appeanant reasons

using: Azure app services Stack: Asp.Net 6 API, C# I sometimes do deployments changing a variable or even as small as changing a condition to look for something. which result in 500.30 errors from azure. When that happened recently i went into the dev…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,571 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.
314 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,267 questions
asked 2024-07-03T17:38:28.2266667+00:00
Gershy Menzer 0 Reputation points
commented 2024-07-04T13:09:02.3966667+00:00
Gershy Menzer 0 Reputation points
0 answers

MAUI library for Native Android binding failing with aar files that have Java Interfaces

I recently started working on MAUI Android binding library. I have created an aar file which has a simple Kotlin class and an Interface. This interface is implemented by the Kotlin class. The simple Kotlin class package package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,140 questions
asked 2024-07-04T11:55:27.93+00:00
Arnold laishram 1 Reputation point
edited the question 2024-07-04T12:59:26.2333333+00:00
Arnold laishram 1 Reputation point
1 answer

can not use UIKit or others in .net ios Bindings?

I created ios Binding project. and want to compile .a file to .dll there is ApiDefinition and StructsAndEnums.cs but both of them can not use ios UIImage NativeHandle Export Verify and all of it. CGSize Static can not use too. I can not use this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,140 questions
asked 2024-07-01T10:46:09.4966667+00:00
mc 4,006 Reputation points
commented 2024-07-04T12:24:28.6333333+00:00
mc 4,006 Reputation points
1 answer One of the answers was accepted by the question author.

How to align the message to center in snackbar in MAUI

Hi, I am using a snackbar in MAUI with a message. Currently, the message in the snackbar is left aligned but I want to show a message aligned in the center of the snackbar. Also I do not want to have an action button in the snackbar. Is there a way to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,140 questions
asked 2024-07-03T09:32:57.3466667+00:00
Srilekha Chowdary 40 Reputation points
accepted 2024-07-04T12:06:59.67+00:00
Srilekha Chowdary 40 Reputation points
1 answer

Clear button in the entry is not clearing the text

Hi, I am using an entry to take user input. I am showing the clear button using the WhileEditing value for ClearButtonVisibility but clicking on the button does not perform any action. It does not clear the text in the entry. Also there is no command…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,140 questions
asked 2024-07-03T09:49:22.7766667+00:00
Srilekha Chowdary 40 Reputation points
answered 2024-07-04T12:04:08.2533333+00:00
Srilekha Chowdary 40 Reputation points
0 answers

MAUI: Issue with uploading project's local image to database via post API as ByteArrayContent - System.ArgumentNullException

I have added a few avatar images on the project folder named Avatars and set its Build Action to Embedded Resource. I added it for profile image update for the user. I need to upload the selected image to our database using a POST API. Below is the code…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,140 questions
asked 2024-07-04T11:31:00.18+00:00
Sreejith Sreenivasan 811 Reputation points
1 answer

MS .NET editor not loading

Hi- how can I fix the .NET editor? I've cleared cache, tried alternative browsers and incognito but the editor is stuck on loading when run is clicked. Thanks

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,571 questions
asked 2024-07-04T11:26:22.5966667+00:00
Amna 0 Reputation points
answered 2024-07-04T11:30:50.05+00:00
Gary Reed 0 Reputation points
1 answer

I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board

When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,571 questions
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,706 questions
asked 2024-04-15T13:52:54.78+00:00
Sgcino Ngema 0 Reputation points
commented 2024-07-04T11:26:57.9866667+00:00
Sgcino Ngema 0 Reputation points
2 answers

.net8 mvc application hosting/local issue

I have hosted my .net8 mvc application on IIS after publishing. this system doesn't have internet access. after a month of hosting the application stopped working because of db connection. its trying to find some local libraries like thread/timer,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,342 questions
asked 2024-07-03T16:44:36.17+00:00
Kumar, P Uday 0 Reputation points
commented 2024-07-04T11:26:12.6033333+00:00
Kumar, P Uday 0 Reputation points
3 answers One of the answers was accepted by the question author.

Getting Error: CS0234 The type or namespace name 'Android' does not exist in the namespace 'Xamarin.Forms.Platform' (are you missing an assembly reference?)

i have a Xamarin App (UWP & Android). The UWP still works, but after upgrading Nuget pacjkages i get the errors shown below. All the errors are in the MainActivity.cs File. Am I missing a Nuget Package or other reference? If so, which? Error CS0234:…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,319 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,571 questions
asked 2023-11-22T10:55:00.7566667+00:00
Moshe Raab 21 Reputation points
commented 2024-07-04T11:25:15.44+00:00
Dan Z 0 Reputation points
0 answers

WPF: Could not load file or assembly error in the designer but application runs with no problems

To try to solve another issue with the designer I've deleted bin and obj directories. Since then I'm facing this error while being in the designer: "The error message "Could not load file or assembly 'DesktopClient, Version=1.0.0.0,…

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,706 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,820 questions
asked 2024-03-01T08:49:05.19+00:00
Kratochvíl Lukáš 0 Reputation points
commented 2024-07-04T10:38:07.99+00:00
Thomas Froitzheim 0 Reputation points
1 answer

MAUI .NET 8 on iOS -System.ArgumentException: NaN is not a valid value for width

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. When tried to run the project with the iOS simulator, which threw the exception below, System.ArgumentException: NaN is not a valid value for width at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,140 questions
asked 2024-07-02T12:36:32.7033333+00:00
Aneetha 25 Reputation points
answered 2024-07-04T10:09:34.43+00:00
Aneetha 25 Reputation points