26,707 questions with .NET-related tags

Sort by: Updated
2 answers

Bootstrap dropdown menu and modal pop up not working when using bootstrap reference file in ASP.NET

I'm using bootstrap dropdown menu and also using modal popup inside the gridview.i used below bootstrap reference for modal popup. <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,572 questions
asked 2025-01-22T16:52:06.3566667+00:00
BeUnique 2,272 Reputation points
commented 2025-01-22T22:35:11.8066667+00:00
SurferOnWww 3,791 Reputation points
0 answers

How to Pass Parameters to a Dockerfile in Visual Studio Publish Profiles

I have an ASP.NET solution in Visual Studio 2022 with Docker support enabled. I created a publish profile to deploy my application to Azure Container Apps. When I right-click the project and select publish, I see a window for publishing to Azure. In my…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,747 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,372 questions
asked 2025-01-22T15:37:20.7466667+00:00
Tony Pitman 76 Reputation points
commented 2025-01-22T22:34:32.14+00:00
Tony Pitman 76 Reputation points
0 answers

Error while using stripe android sdk native interopt

I am trying to bind stripe sdk of android in .net maui. I try template and it works fine. But, when i try it, it is binding and when i call , it gets me…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-21T20:34:23.2733333+00:00
Haider Ali Faizi 100 Reputation points
edited a comment 2025-01-22T21:34:38.0433333+00:00
Haider Ali Faizi 100 Reputation points
0 answers

Error while using stripe android sdk native interopt

I am trying to bind stripe sdk of android in .net maui. I try template and it works fine. But, when i try it, it is binding and when i call , it gets me…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-21T20:34:23.2733333+00:00
Haider Ali Faizi 100 Reputation points
edited a comment 2025-01-22T21:34:38.0433333+00:00
Haider Ali Faizi 100 Reputation points
1 answer

Move from .NET 8 to NET 9 in MAC

Hi, I have project in MAC using VS code in NET 8 in MAC. I move it to .NET 9. Can you please give the steps what to do ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-22T15:05:25.4+00:00
Dani_S 3,911 Reputation points
commented 2025-01-22T21:25:10.72+00:00
Michael Taylor 56,346 Reputation points
0 answers

How to upload a file from my local computer to a Sharepoint folder

Hi,  I´m using something like this:   string userName = “nelson.soares@********.pt”; string password = “*********”; var securePassword = new SecureString();   foreach (char c in password) {  securePassword.AppendChar(c); }  using (var…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,098 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,221 questions
asked 2025-01-22T20:48:33.8166667+00:00
Nelson Soares 0 Reputation points
edited the question 2025-01-22T20:52:15.6166667+00:00
Nelson Soares 0 Reputation points
1 answer

Can't get address or phone from Microsoft Login

Hi all; I have a Blazor Server app using the Identity Library. I have added the following code and it works for login: var microsoftClientId = configMgr.GetValue("Authentication:Microsoft:ClientId"); var microsoftClientSecret =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,747 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,949 questions
asked 2025-01-22T18:56:38.86+00:00
David Thielen 3,166 Reputation points
edited an answer 2025-01-22T20:48:31.5266667+00:00
Bruce (SqlWork.com) 69,881 Reputation points
2 answers

How I can adjust which fields I will have in the response of a model validation (.NET Core Web Api)?

Hi, I have the following response when there is a validation error; { "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1", "title": "One or more validation errors occurred.", "status":…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,747 questions
asked 2023-07-26T05:54:19.46+00:00
Cenk 1,021 Reputation points
commented 2025-01-22T20:30:26.6766667+00:00
Zoran Petrović 0 Reputation points
0 answers

How do I fix Run Time Error 53 on a Mac, I have tried using the information from this forum and I can't locate where this error is actually occurring.

Every time I open a word document I get a run time error 53. I have fixed it before by going to the library-users-group containers-microsoft and that fixed it but now I get the error and it states the full path /Library/Application…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,188 questions
asked 2025-01-22T20:23:59.4633333+00:00
Daylene 0 Reputation points
1 answer One of the answers was accepted by the question author.

Weird disappearing error

I have a very weird error where everything disappears after a while and I think the fault is here <?xml version="1.0" encoding="utf-8" ?> <ContentPage x:Class="METROWIND.Views.NewsPage" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-17T23:11:03.83+00:00
Eduardo Gomez Romero 1,235 Reputation points
commented 2025-01-22T19:57:19.1266667+00:00
Eduardo Gomez Romero 1,235 Reputation points
0 answers

Issue with Azure AD B2C Custom Policy: "Basic credentials specified for 'REST-fetchUserProfile-APAC' are invalid

Description I am working on an Azure AD B2C custom policy for the Global Identity Framework, designed to support traveling user sign-ins across multiple regions. This setup involves two major components Right now im only working on region tenant…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,747 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.
366 questions
asked 2025-01-13T02:44:31.7266667+00:00
Ray Garg 20 Reputation points
commented 2025-01-22T19:17:15.72+00:00
Sanoop M 255 Reputation points Microsoft Vendor
1 answer

Visual Studio failed to publish to Azure Container Registry

Hi, I have an ASP.NET Core application that I am trying to migrate to Azure. I am using Azure Container Registry to publish my app's images and run it on Container App. Until a few days ago, I was able to successfully push the image to the container…

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
477 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,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.
11,221 questions
asked 2025-01-21T15:33:13.06+00:00
Pampua84 1 Reputation point
commented 2025-01-22T18:42:42.6966667+00:00
Akshay kumar Mandha 2,185 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

'Interact with data in Blazor web apps' Training module out of order

Pages 4 & 5 are…

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,980 questions
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.
13 questions
asked 2025-01-20T00:21:46.81+00:00
Pino 20 Reputation points
accepted 2025-01-22T17:45:19.64+00:00
Pino 20 Reputation points
4 answers

SqlDataReader error “Invalid attempt to read when no data is present”

My environment used is Visual Studio 2022 v17.12.4. Language is C# and connecting to SQL Server Express v16.0.1135.2. This is a Windows form using .Net Framework 4.8.1. I am getting the error message “Invalid attempt to read when no data is present”…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 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,353 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,221 questions
asked 2025-01-21T22:31:10.9133333+00:00
Pat 0 Reputation points
commented 2025-01-22T16:50:16.47+00:00
Bruce (SqlWork.com) 69,881 Reputation points
2 answers

Why can't I create a Blazor Server App with .NET 8?

I'm trying to create a Blazor Server App using .NET 8. I've done this at home, but here at work Visual Studio 2022 only allows me to create a Blazor Server App using .NET 6. I've gotten into Visual Studio Installer, to check to make sure I have .NET 8 as…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,747 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,651 questions
asked 2024-08-20T17:14:53.12+00:00
Falanga, Rod, DOH 260 Reputation points
answered 2025-01-22T16:33:54.0566667+00:00
Marc Roussel 0 Reputation points
0 answers

How to fix the blank screen after splash screen on .net maui app

I have an application that I have deployed to an ios device that is now showing a black screen after the splash screen is loaded. I am running the latest xcode, vs versions and the project is targeting .net 9. What should I be looking for as a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-22T01:38:29.3933333+00:00
Daniel Man 0 Reputation points
commented 2025-01-22T16:33:42.08+00:00
Daniel Man 0 Reputation points
0 answers

Do Dev Tunnels Have an HTTP Timeout Issue?

Using a dev tunnel to connect a Mac client app to an ASP.NET service running on a PC has raised a timeout issue. One API call takes about 70 seconds to complete, but when the client runs on the Mac via the dev tunnel, an HTTP timeout occurs after 60…

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.
366 questions
asked 2025-01-17T14:50:58.46+00:00
Tony Pitman 76 Reputation points
commented 2025-01-22T16:27:31.22+00:00
Tony Pitman 76 Reputation points
3 answers

How to use ASP.NET Code Behind to launch FileUpload

Is it possible to include an asp:Button with OnClick=DoFileUpload_Click, and the method runs whatever to launch the FileUpload class?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,572 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,572 questions
asked 2025-01-22T01:45:28.4866667+00:00
Coreysan 1,806 Reputation points
commented 2025-01-22T16:22:56.41+00:00
Albert Kallal 5,491 Reputation points
3 answers

How to use ASP.NET Code Behind to launch FileUpload

Is it possible to include an asp:Button with OnClick=DoFileUpload_Click, and the method runs whatever to launch the FileUpload class?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,572 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,061 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,572 questions
asked 2025-01-22T01:45:28.4866667+00:00
Coreysan 1,806 Reputation points
commented 2025-01-22T16:22:56.41+00:00
Albert Kallal 5,491 Reputation points
1 answer One of the answers was accepted by the question author.

unable to hide the error popup while run the visual studio

I am using visual studio 2022 for ASP.NET Application. whenever i'm running the application through visual studio, i am getting the below error. Even though, the application is running while showing the popup. How to hide this error...? Note : Visual…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,572 questions
asked 2024-12-12T08:38:24.0666667+00:00
BeUnique 2,272 Reputation points
accepted 2025-01-22T15:24:18.8633333+00:00
BeUnique 2,272 Reputation points