4,183 questions with ASP.NET Core tags

Sort by: Updated
0 answers

IMAGE UPLOAD USING PHOTO PICKER DIALOG

RegistrationForm.cshtml <div class="mt-2"> <div class="row"> <div class="col-7 col-sm-6"> <div class="d-flex…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 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.
298 questions
asked 2024-05-02T10:39:55.1833333+00:00
Nandini S 20 Reputation points
commented 2024-05-03T07:57:05.5233333+00:00
SurferOnWww 1,911 Reputation points
0 answers

How can i redirect to my own page after successful login in dotnet maui

i want to redirect my dotnet maui pages after successful login how can i do it in dotnet maui emulator i have sign in redirect uri : "https://localhost:7152//sign-ingoogle and aftter login i want to redirect to my own pages

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,295 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 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.
766 questions
asked 2024-05-03T07:26:25.66+00:00
Kanika Rana 0 Reputation points
0 answers

How to do Search inside a subFolder with Azure AI Search.

In Azure AI Search how to find something inside a subdirectory? right now when I am searching something i am getting result from all of the subfolders, I have to do search within a folder for example right now I am in /Submission directory and there are…

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
718 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
asked 2024-05-01T06:29:32.8333333+00:00
Hassan Kaleem 20 Reputation points
commented 2024-05-03T07:00:40.4466667+00:00
ajkuma 22,416 Reputation points Microsoft Employee
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
1 answer

Adding Token Based Azure EntraID Authentication to GraphQL APIs created on .NET7

I have a set of GraphQL APIs created on .NET7. I want to authenticate the APIs using Azure Entra ID User/App Access Tokens. Is it possible to achieve the same out of the box, else kindly suggest a workaround.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,554 questions
asked 2024-04-24T10:05:50.0733333+00:00
Varun Sridhar 0 Reputation points
commented 2024-05-03T04:20:16.76+00:00
Navya 4,000 Reputation points Microsoft Vendor
0 answers

await how to prevent the next process run before the 1st process finished

Hi there, My async code like below: // 1st Process if (providerId == "1") { await Providers.Provider1.Do_ProcessAsync(token, param1, param2); } // 2nd Process await Do_Other_Process1Async(x,y,z).ContinueWith(async (c1) => { await…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
asked 2024-05-03T04:17:23.7+00:00
Winanjaya Amijoyo 0 Reputation points
1 answer

How to connect different Azure Id with Visual Studio 2022 Id

Can other people connect and use it with one ID(Tenant ID or Subscription ID, ...)? ( For Test Purpose ) If so, how can this be done? Thank you.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,123 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
asked 2024-05-02T08:22:12.4066667+00:00
KHSong 0 Reputation points
edited an answer 2024-05-03T04:15:06.8033333+00:00
Gowtham CP 80 Reputation points
0 answers

How to fix StackOverflowException after upgrading from .Net 6 to .Net 8

Hello,   I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
asked 2024-04-26T06:39:38.71+00:00
Abhishek, Burra 0 Reputation points
commented 2024-05-03T01:49:54.88+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
1 answer

How to fix error "Account already exists" when signing in google users on a customer entra tenant?

Dear Microsoft support team, My name is Javier Ortega, and I am writing to seek assistance with: Authentication from .Net application to Entra tenant, with google users. Currently we have a group of users migrated to a customer (external) entra tenant.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,651 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,554 questions
asked 2024-04-30T15:51:40.8333333+00:00
Javier Herrera 85 Reputation points
commented 2024-05-02T14:00:17.9833333+00:00
Javier Herrera 85 Reputation points
1 answer

Updating app service from .NET 6 to 8

I'm trying to update my asp.net core backend from .NET 6 to 8. I've updated the target framework for the projects, changed the docker images to version 8, and updated the exposed ports. It runs as expected locally. (In the past month, I've updated a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,901 questions
asked 2024-04-30T20:53:38.6433333+00:00
Rebekah Williams 0 Reputation points
edited a comment 2024-05-02T13:32:54.71+00:00
Azizkhon Ishankhonov 195 Reputation points
1 answer One of the answers was accepted by the question author.

how to use signalr in minimal api?

can not use AddSignalR and I can use AddSignalRCore but there will be error. I created the ASP.NET Core Web API (native aot).

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
asked 2024-04-29T13:33:56.15+00:00
mc 3,701 Reputation points
accepted 2024-05-02T01:10:14.1633333+00:00
mc 3,701 Reputation points
1 answer

*System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing

Hi, Why my Polly Timeout handler not working? I still getting: "System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,265 questions
asked 2023-11-07T09:14:10.64+00:00
winanjaya 146 Reputation points
answered 2024-05-01T17:24:47.3066667+00:00
William Saylor 0 Reputation points
1 answer

What is the difference between AddHttpClientInstrumentation and AddAspNetCoreInstrumentation

In Asp.net core, to provide auto trace instrumentation, we can do the followings. services.AddOpenTelemetryTracing(providerBuilder => { providerBuilder …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
asked 2022-09-16T22:57:23.02+00:00
andrew choi 1 Reputation point
answered 2024-05-01T14:34:25.1066667+00:00
Liam Bao 0 Reputation points
5 answers

Error: 'Package restore failed rolling back package change for' while running Scaffold-Dbcontext in Entity Framework Core 7.0.14

Hello, I'm working on a project using .NET Core 7 and encountering an issue when running Scaffold-DbContext with Entity Framework 7.0.14. The error message I'm getting is "there was an error running the selected code generator package restore failed…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
asked 2023-12-19T20:12:20.84+00:00
UMUT CAN 5 Reputation points
answered 2024-05-01T12:35:50.3466667+00:00
Ian Hewitt 0 Reputation points
3 answers

how to solve the error "Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - La chaîne de certificats a été"

Hi I try to connect my asp.net core api to a sql server database I encounter an error like: "Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 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.
12,750 questions
asked 2023-05-23T09:49:55.54+00:00
Marnelle M'BENGUET 20 Reputation points
commented 2024-05-01T12:05:12.3466667+00:00
abofazl jalil 0 Reputation points
2 answers One of the answers was accepted by the question author.

Add Items to List Randomly

I am fetching 50 questions from Api https://supaquizapi.azurewebsites.net/api/Questions Loading into list and deleting 40 questions randomly. Now I just to add 10 questions randomly to Questions List<InQuestion> res = await GetApiData(); …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 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,271 questions
asked 2024-04-30T08:09:59.47+00:00
Maui Learner 440 Reputation points
accepted 2024-05-01T10:16:55.2566667+00:00
Maui Learner 440 Reputation points
9 answers

How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."

Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 40 Reputation points
answered 2024-05-01T01:40:34.87+00:00
Giray Turker 0 Reputation points
0 answers

OutputCaching issue in .NET 8.0

Hi, I have implemented the Output Caching in ASP.NET Core 8.0 and deployed the same S3 bucket and Lambda function and its exposed through AWS API gateway. After implementation output cache and I have tested the local swagger API through postman first…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,394 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
asked 2024-04-26T11:48:11.7033333+00:00
Venkat 1 Reputation point
commented 2024-04-30T18:36:17.5333333+00:00
Venkat 1 Reputation point
2 answers

Dynamically pass the B2C sign-in policy in .NET 8

I am developing the web application using .NET 8 with Asp.NET MVC and using Azure B2C tenant for Authentication. And it will be hosted in the Azure App services that configured with two domain urls. Based on the requested Urls, I wanted to pass the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,554 questions
asked 2024-04-19T16:58:01.86+00:00
Ragu 0 Reputation points
answered 2024-04-30T15:55:04.2+00:00
Ragu 0 Reputation points
0 answers

Content Security Policy Violations happening for whitelisted domains only for Netherlands and Switzerland users.

I have a csp policy where I have whitelisted all the domains from which I want to load the content to my application and have added only default-src directive  which is fallback to all the other directives.   I have tested the policy on lower…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,183 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,901 questions
asked 2024-04-26T11:33:36.0766667+00:00
Gour, Ashish 0 Reputation points
commented 2024-04-30T12:12:08.63+00:00
Gour, Ashish 0 Reputation points