24,711 questions with .NET-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Different situations occur when action information is not given when the form is posted.

Hi, If you allow, I would like to ask a question. Even though I did not provide action information in the form post operation in the View of the "Index Action" in the "Login Controller", the Index Action is running in the post…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
asked 2024-06-28T13:28:47.1+00:00
Yalçın Mete 60 Reputation points
accepted 2024-06-28T15:23:39.8966667+00:00
Yalçın Mete 60 Reputation points
2 answers One of the answers was accepted by the question author.

Display Image in asp.net core postgresql

The below code works in Index Page <td> @{ var base642 = Convert.ToBase64String(item.Imagesol); var Image2 = String.Format("data:image/gif;base64,{0}", base642); } …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
asked 2024-06-28T13:57:08.1166667+00:00
Maui Learner 560 Reputation points
commented 2024-06-28T15:23:10.09+00:00
Maui Learner 560 Reputation points
2 answers

The current .NET SDK does ot support targeting .NET 8.0. Either target .NET 6.0 or lower, or use a version of the .net SDK that supports .NET 8.0

Hi all... I have been searching all over the internet for a solution to this problem, and I thought I would come here to try and get it resolved after coming up empty... Up till now, I have been using Visual Studio 2019 for other project types. Now, I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,561 questions
asked 2024-06-27T16:34:46.2433333+00:00
Rick Blacker 10 Reputation points
answered 2024-06-28T14:57:10.2333333+00:00
Rick Blacker 10 Reputation points
1 answer

Back button navigation doesn't work in xamarin android

Hello I have a table of buttons each button displays a number When i click one of them i start a new activity Then if i click the back button i doesn't return to the precedent activity i have to click once again the back button. It depends on which…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,317 questions
asked 2024-06-28T12:27:23.36+00:00
Shay Wilner 1,746 Reputation points
answered 2024-06-28T14:34:26.9366667+00:00
Shay Wilner 1,746 Reputation points
1 answer One of the answers was accepted by the question author.

publish app in mac

Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,117 questions
asked 2024-05-29T07:47:18.4366667+00:00
Dani_S 3,186 Reputation points
commented 2024-06-28T13:30:35.76+00:00
Dani_S 3,186 Reputation points
1 answer

Bug in the tutorial: How to change the space between views in a StackLayout

In this part of the training I found an error. When the tutorial explain "How to change the space between views in a StackLayout" it needs to add for example the HeightRequest or WidthRequest depending the Orientation of the StackLayout. …

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
8 questions
asked 2024-06-19T00:22:23.2066667+00:00
Albert Einstein 0 Reputation points
answered 2024-06-28T11:01:29.1666667+00:00
Pradeep M 1,385 Reputation points Microsoft Vendor
1 answer

No templates or subcommands found matching: 'blazorserver'

Question Under "Create Blazor components" Section There is a dotnet command for creating a Blazor app by using the blazorserver template in CLI, it doesn't work anymore. The command is below: dotnet new blazorserver -o BlazingPizzaSite -f…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
1 question
asked 2024-06-07T11:18:52.7766667+00:00
FRED 0 Reputation points
answered 2024-06-28T10:42:13.14+00:00
Pradeep M 1,385 Reputation points Microsoft Vendor
0 answers

How to apply search in collection view with portion loaded data?

i want to display filtred product in collectionview defined as: <CollectionView Grid.Row="0" Grid.ColumnSpan="3" IsVisible="{Binding IsNoResult, Converter={StaticResource…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,117 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,550 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
780 questions
asked 2024-06-24T16:24:32.32+00:00
Kaouthar GR AOUICHAOUI 80 Reputation points
commented 2024-06-28T10:06:12.08+00:00
Kaouthar GR AOUICHAOUI 80 Reputation points
2 answers

When attempting to add Microsoft.Windows.Desktop.App 8.0.6 I am getting "Package ... has packagetype 'DotnetPlatform' that is not supported

As part of moving from the deprecated WMPLib.WindowsMediaPlayer class to the current Windows.Media.Playback.MediaPlayer class, I am attempting to properly include the required DLL and all dependencies. The MediaPlayer class is a Windows Desktop 8 class…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,561 questions
asked 2024-06-12T19:59:06.6766667+00:00
Ron Oakes 0 Reputation points
answered 2024-06-28T08:28:47.32+00:00
Jiale Xue - MSFT 41,976 Reputation points Microsoft Vendor
1 answer

Integrate Swagger with Azure Function using .Net 8.0

Hi, I'm currently trying to integrate Azure Functions with Swagger. I've successfully done this for .NET 6.0, and now I am trying to do it using .NET 8.0. However, I am unable to find a proper solution, and all the references I find on the internet have…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,543 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
asked 2024-06-27T14:15:01.5966667+00:00
Chethan Ramesh 0 Reputation points
commented 2024-06-28T06:21:56.87+00:00
Chethan Ramesh 0 Reputation points
0 answers

Web app with Entra authentication got 403 error

Webapp1 is a asp.net 8.0 app with Entra as authentication provider. The registered app is app1. Webapp1 used to work but I got the 403 app after a deployment. The error page showed "Access to webapp1.azurewebsites.net was denied. You don't have the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
824 questions
asked 2024-06-17T20:06:33.8233333+00:00
Ben Wilson 0 Reputation points
commented 2024-06-28T04:51:45.16+00:00
Ben Wilson 0 Reputation points
1 answer

Application sends Email when on local pc but stops working when deployed on Azure

I created a simple web page with a form on it that sends an email to the owner. When I enter the data and click Send button, you can see on one of the pictures that in the console there is an Error. When I investigated further within Azure Portal in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 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,550 questions
asked 2024-06-27T10:36:06.89+00:00
Ivan7777 0 Reputation points
edited the question 2024-06-28T03:37:37.09+00:00
PRADEEPCHEEKATLA-MSFT 83,891 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

How to restrict same value section on for each loop in XSLT 1

Hi Team, Currently we have a created xslt map with for each to restrict looping same value section on for each loop - , in the below example repeating <poNumber> tag need to block on related section(Base on the order line, its mean same child…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,561 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,959 questions
asked 2024-06-23T11:53:58.34+00:00
Mahesh Madhusanka 216 Reputation points
commented 2024-06-28T03:14:25.84+00:00
Mahesh Madhusanka 216 Reputation points
1 answer

Other map than Google Maps

Hi I have a children app that is all about music and dancing for kindergarden kids. In one of the pages we ha a world map where we put out pins for opening songs and to show where they come from. I used the google maps plugin in Xamarin and it worked…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,117 questions
asked 2024-06-27T09:41:00.17+00:00
Magnus Wallon 0 Reputation points
answered 2024-06-28T03:02:07.2133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,141 Reputation points Microsoft Vendor
0 answers

Data is not populating in WPF Form

I am working on a VSTO Excel Addin and on a button click I am opening a WPF form. case 1: I am working on a Citrix environment and Citrix opened on a single screen now I open excel and click on my ribbon button and my WPF form is working fine. But when I…

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,703 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,639 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,550 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,673 questions
asked 2024-06-27T10:30:54.05+00:00
Abhishek Bali 0 Reputation points
edited the question 2024-06-28T02:33:14.1666667+00:00
Jiachen Li-MSFT 28,001 Reputation points Microsoft Vendor
11 answers

A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI

Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 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.
13,166 questions
asked 2021-12-14T12:23:52.077+00:00
Amit Potdar 151 Reputation points
answered 2024-06-28T00:02:44.02+00:00
سیدمحمدمهدی موسوی 0 Reputation points
3 answers

Error CS0246: The type or namespace name 'MauiUIApplicationDelegate' could not be found (are you missing a using directive or an assembly reference?)

Hi i am all of sudden getting this error message in my MAUI project after upgrading Visual Studio Mac.... How to fix it? Error CS0246: The type or namespace name 'MauiUIApplicationDelegate' could not be found (are you missing a using directive or an…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,117 questions
asked 2024-02-16T10:26:31.4433333+00:00
SSB 111 Reputation points
commented 2024-06-27T23:08:25.6966667+00:00
EmDe 21 Reputation points
1 answer

Why the 1 sec delay after the websocket request?

Hi all; I have a Blazor server app running on Azure App Services. The Blazor app uses SignalR and I have it set to use web sockets. What is going on here on the web socket request? It looks like that request is causing a 1 second delay until it then…

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,470 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,249 questions
asked 2024-06-26T14:04:53.61+00:00
David Thielen 2,506 Reputation points
commented 2024-06-27T22:32:48.5166667+00:00
Bruce (SqlWork.com) 59,966 Reputation points
1 answer One of the answers was accepted by the question author.

How can I play a video from a folder in my iOS project with the native iOS AVPlayer?

I want to add a video file, for example an .mp4 file, to my iOS project. Can I create a folder named Resources in my iOS project, adding the .mp4 file into this folder and playing it with AVPlayer? How can I play a video from my iOS project instead of a…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,806 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,117 questions
asked 2024-06-25T22:54:11.0433333+00:00
Kim Strasser 811 Reputation points
accepted 2024-06-27T22:01:15+00:00
Kim Strasser 811 Reputation points
3 answers

Cancellation Token signal not being received by the application code

looks like there is a limitation as it can be read here https://github.com/dotnet/aspnetcore/issues/20229#issuecomment-623289191 https://video2.skills-academy.com/en-us/answers/questions/391343/cancellationtoken-in-controller-endpoint-hosted-in but is there…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,391 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,550 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.
313 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,249 questions
asked 2024-06-20T19:01:11.7333333+00:00
Michel Fornaris 0 Reputation points
answered 2024-06-27T22:00:06.9433333+00:00
Bruce (SqlWork.com) 59,966 Reputation points