25,354 questions with .NET-related tags

Sort by: Updated
1 answer

How do I resolve this controller issue when creating new instance of a class in my web app?

I'm developing an asp.net core MVC app and I have an issue when I try to add a new service. My database is fine because I can create instances of other classes and save them to my database. My build is succesful so I don't get any error messages. When I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,480 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,480 questions
asked 2024-08-26T08:14:38.52+00:00
Amra Akmadzic 20 Reputation points
answered 2024-08-26T11:26:04.0033333+00:00
JasonPan - MSFT 5,136 Reputation points Microsoft Vendor
1 answer

How do I resolve this controller issue when creating new instance of a class in my web app?

I'm developing an asp.net core MVC app and I have an issue when I try to add a new service. My database is fine because I can create instances of other classes and save them to my database. My build is succesful so I don't get any error messages. When I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,480 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,480 questions
asked 2024-08-26T08:14:38.52+00:00
Amra Akmadzic 20 Reputation points
answered 2024-08-26T11:26:04.0033333+00:00
JasonPan - MSFT 5,136 Reputation points Microsoft Vendor
1 answer

Error in AVVideoSettingsCompressed

videoSettings = new AVVideoSettingsCompressed { Codec = AVVideoCodec.H264, Width = 1078, Height = 1645, }; var assetWriterInput = new AVAssetWriterInput("video", videoSettings); Error: {ObjCRuntime.ObjCException: Objective-C…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
asked 2024-08-15T15:54:13.65+00:00
Анастасия Зорина 0 Reputation points
edited a comment 2024-08-26T10:45:36.23+00:00
Анастасия Зорина 0 Reputation points
1 answer One of the answers was accepted by the question author.

How can I resolve a HTTP 405 error in my ASP.NET Core MVC web application using Identity for authentication and authorization?

My asp.net core MVC web application uses Identity for authentication and authorization, but my login doesn't work. After entering data and pressing the button in login I get a HTTP 405 error and message "This page isn't working". My view uses…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,480 questions
asked 2024-08-20T15:44:37.0933333+00:00
Amra Akmadžić 0 Reputation points
accepted 2024-08-26T10:23:59.19+00:00
Amra Akmadžić 0 Reputation points
1 answer

How to avoid multiple selected index change Event in TabbedPage on OnCurrentPageChanged

I have a TabbedPage in MAUI with API level 34 <TabbedPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" > <TabbedPage.ItemTemplate> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
asked 2024-08-17T04:20:14.7466667+00:00
Faiz Quraishi 60 Reputation points
commented 2024-08-26T09:58:59.2866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,186 Reputation points Microsoft Vendor
1 answer

On CurrentPagechange Event of TabbedPage custom Font is not applied on title of last but one Child Page click item

I have TabbedPage in MAUI 8 and API level 34 . I have multiple tabs loading 3 on each Tab change event, 1-I have applied Font to each child Tab as mentioned…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
asked 2024-08-19T16:10:22.2133333+00:00
Faiz Quraishi 60 Reputation points
edited a comment 2024-08-26T09:47:19.35+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 41,041 Reputation points Microsoft Vendor
0 answers

How to Keep smooth Navigation in self TabbedPage call on each Tab click Currentpagechanged event

I am using .Net MAUI 8 API 34 . I have multiple records in collection to load on TabbedPage. On Page Load I am binding only first three and then on CurrentPageChanged event of TabbedPage means when click on any Tab ,when CurrentPageChanged fire I am…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
asked 2024-08-21T18:14:33.6333333+00:00
Faiz Quraishi 60 Reputation points
commented 2024-08-26T09:33:39.06+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,186 Reputation points Microsoft Vendor
2 answers

Would copying registry entries to get access to all installed TTS voices be against the MS TOS?

Hello, I'm building an accessibility app that uses TTS voices already installed on a Windows 10/11 machine. However, GetInstalledVoices() provided by the SpeechSynthesizer class only gives me two options despite having installed German, English, and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 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,777 questions
asked 2024-08-26T07:33:56.2533333+00:00
AlexS 20 Reputation points
edited an answer 2024-08-26T09:20:50.32+00:00
Castorix31 83,736 Reputation points
1 answer

Maui Performance Issue while set Application.Current.Mainpage as My CustomPage

In Maui, when we set MainPage using Application.Current.MainPage right? there while I set my custompage as MainPage its take around 15 to 30 seconds to initialize page in UI part, apart from the loading custompage code for example: …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
asked 2024-08-09T07:49:18.6566667+00:00
Muhesh Kumar 0 Reputation points
commented 2024-08-26T09:05:02.63+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 73,841 Reputation points Microsoft Vendor
1 answer

WPF: Drag & Drop virtual folder from WPF to File Explorer

Hi, I am developing ADB Explorer, a UI for ADB in WPF. I am trying to implement support for Drag & Drop to Push / Pull files between PC and a device connected via ADB, and while accepting files dragged into the app is quite easy since I can just use…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 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,747 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,777 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 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,747 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,777 questions
asked 2024-08-24T08:50:24.6533333+00:00
Alex SSB 20 Reputation points
commented 2024-08-26T09:03:44.81+00:00
Hongrui Yu-MSFT 1,275 Reputation points Microsoft Vendor
1 answer

WPF: Drag & Drop virtual folder from WPF to File Explorer

Hi, I am developing ADB Explorer, a UI for ADB in WPF. I am trying to implement support for Drag & Drop to Push / Pull files between PC and a device connected via ADB, and while accepting files dragged into the app is quite easy since I can just use…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 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,747 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,777 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 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,747 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,777 questions
asked 2024-08-24T08:50:24.6533333+00:00
Alex SSB 20 Reputation points
commented 2024-08-26T09:03:44.81+00:00
Hongrui Yu-MSFT 1,275 Reputation points Microsoft Vendor
0 answers

Publish a .NET MAUI Mac Catalyst app

Hi, I have mac app in net 8 ready to publish. I see this articlehttps://learn.microsoft.com/en-us/dotnet/maui/mac-catalyst/deployment/?view=net-maui-8.0 and i don't want which option to use. I do not want to upload it to app store. Which one to use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
asked 2024-08-26T08:26:46.9033333+00:00
Dani_S 3,581 Reputation points
edited the question 2024-08-26T08:56:40.9333333+00:00
Dani_S 3,581 Reputation points
1 answer

Inbound JSON to WebApi returning 500 error

Hello everyone and thanks for the help in advance. I am working on a Asp.Net Core WebApi that receives json from a third party external vendor. Here is a sample message…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,480 questions
asked 2024-08-24T18:47:05.2733333+00:00
Kmcnet 766 Reputation points
edited an answer 2024-08-26T08:23:51.23+00:00
Jerry Fu - MSFT 666 Reputation points Microsoft Vendor
1 answer

How to authenticate On IIS deployed blazor web app using azure entra ID (OIDC)

Hello I have created a Blazor web app in .NET 8. where I have a client and a server project. In this application I want to apply authentication through azure Entra ID. and replicate the flow from https://github.com/dotnet/blazor-samples and it is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,480 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,536 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,777 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,095 questions
asked 2024-08-23T13:05:48.8866667+00:00
Kuldeep Y 41 Reputation points
edited a comment 2024-08-26T08:18:33.4966667+00:00
Tiny Wang-MSFT 2,486 Reputation points Microsoft Vendor
0 answers

.NET MAUI: The tab switching functionality is not working properly on the iOS platform

We have three tabs in our application. Initially, switching from the first tab to the third tab works fine. However, when trying to switch back from the third tab to the first tab, it does not work as expected. Instead, it navigates from the third tab to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
asked 2024-08-26T07:53:50.65+00:00
Aleena George 30 Reputation points
edited the question 2024-08-26T08:02:01.5533333+00:00
Aleena George 30 Reputation points
15 answers

How to save the Comment and where to place, example some directory

@page "/PageBu" @rendermode InteractiveServer <h3>PageBu</h3> <h1 style="color: blue;">Letak Product Anda</h1> <p> </p> @for (int i = 0; i < images.Count; ++i) { string tempImageName =…

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,536 questions
asked 2024-08-17T11:08:23.0466667+00:00
MIPAKTEH_1 305 Reputation points
commented 2024-08-26T07:58:37.28+00:00
Brando Zhang-MSFT 3,521 Reputation points Microsoft Vendor
2 answers

Asp.Net and gridView: how to create a link that initiates a method

The asp.net GridView might not be able to do this, but I'm looking for a way to display a link in a grid column, where the the user can click on the link which sends the value (a string) to a method, and does work. If not GridView, is there another…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,441 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,441 questions
asked 2024-08-26T02:34:02.55+00:00
Coreysan 1,651 Reputation points
answered 2024-08-26T07:46:05.64+00:00
Lan Huang-MSFT 29,086 Reputation points Microsoft Vendor
2 answers

Asp.Net and gridView: how to create a link that initiates a method

The asp.net GridView might not be able to do this, but I'm looking for a way to display a link in a grid column, where the the user can click on the link which sends the value (a string) to a method, and does work. If not GridView, is there another…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,441 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,441 questions
asked 2024-08-26T02:34:02.55+00:00
Coreysan 1,651 Reputation points
answered 2024-08-26T07:46:05.64+00:00
Lan Huang-MSFT 29,086 Reputation points Microsoft Vendor
0 answers

file exists function on unc path with server name possible?

Hi, I'm in net 8, if i have unc path = \servername\domain\myfolde \myfile.xml Can i used function File.Exists(uncPath)? Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
asked 2024-08-21T08:19:58.9566667+00:00
Dani_S 3,581 Reputation points
commented 2024-08-26T07:45:54.71+00:00
Dani_S 3,581 Reputation points
0 answers

file exists function on unc path with server name possible?

Hi, I'm in net 8, if i have unc path = \servername\domain\myfolde \myfile.xml Can i used function File.Exists(uncPath)? Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,744 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,323 questions
asked 2024-08-21T08:19:58.9566667+00:00
Dani_S 3,581 Reputation points
commented 2024-08-26T07:45:54.71+00:00
Dani_S 3,581 Reputation points