4,263 questions with ASP.NET Core tags

Sort by: Updated
1 answer

How to add a different CSS to a razor page in Blazor WASM?

I am working on a Blazor WASM e-commerce application using the .NET 6 old version with a default template. I want to add a new razor page with a different look while keeping the old ones in the project. How can I achieve this? Specifically, I want to add…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 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,440 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,431 questions
asked 2024-06-04T13:24:09.7766667+00:00
Cenk 976 Reputation points
answered 2024-06-04T21:02:00.1466667+00:00
Karen Payne MVP 35,201 Reputation points
2 answers

SQL connection and transaction Idle Time

Hi, I am having a asp.net core application, which opens a sql connection and running commands in a sql transaction. The transaction might take overall 15 minutes to complete, The connection and transaction might be idle as we sleep the current thread for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 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,971 questions
asked 2024-06-04T16:49:15.8066667+00:00
Santhi Dhanuskodi 165 Reputation points
answered 2024-06-04T21:01:55.6+00:00
Erland Sommarskog 102.7K Reputation points
1 answer

Azure Adb2c External IDP Authentication Browser Back Button Click redirects to External IDP Again

We have AD B2C Authentication with .NET 8 MVC Web Application. We configured Open Id Provider with Custom Policy in Adb2c. The authentication is working successfully. But the problem is, after the External IDP successful authentication, the provider…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 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,957 questions
asked 2024-05-07T09:47:53.4+00:00
Logesh Palani 1 Reputation point MVP
commented 2024-06-04T20:50:06.35+00:00
James Hamil 22,526 Reputation points Microsoft Employee
1 answer

How to use Azure RMS to protect documents on a local machine.

Hello everyone, how are you? It is possible to use Azure RMS to protect files and maintain control over them even on the user's machine. I would like to enforce authentication regardless of the program they are using to open the files, especially PDF and…

Azure Information Protection
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
523 questions
Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,191 questions
Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,373 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,486 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
asked 2024-05-21T19:01:52.56+00:00
Guilherme Pineda 0 Reputation points
commented 2024-06-04T20:46:25.07+00:00
James Hamil 22,526 Reputation points Microsoft Employee
0 answers

Databricks Simba Spark ODBC .NET8 C# Driver Parameters in SQL Queries

Hello, I'm using Simba ODBC driver v2.8.0 in order to query data from my azure databrick sql warehouse into a .net 8 Asp.net Api App. The ODBC driver works fine using plain text query but i need to parametrize the query. Searching around I found that it…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,993 questions
asked 2024-06-03T15:30:12.4666667+00:00
Luigi Navarra 0 Reputation points
commented 2024-06-04T09:04:43.1033333+00:00
Luigi Navarra 0 Reputation points
0 answers

How can I trigger a method from the OrderConfirmation page in Blazor WASM?

Hi, I have a Blazor WASM Client e-commerce application where I'm showing cart counts in the NavMenu. I'm trying to call the GetCartCount() method from the OrderConfirmation razor page after payment has been completed to make the cart count zero, but I'm…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 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,440 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,431 questions
asked 2024-06-03T10:46:35.6966667+00:00
Cenk 976 Reputation points
edited a comment 2024-06-04T08:26:25.0666667+00:00
JasonPan - MSFT 4,626 Reputation points Microsoft Vendor
3 answers

How to pass values from a Razor page to an Asp.Net MVC controller

I am working on an Asp.Net Core MVC project. The identity was scaffolded and uses Razor pages. When the user enters the username and password, if they are valid, they will be redirected to an MVC controller where they have to answer a security question.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 questions
asked 2024-05-07T02:32:23.82+00:00
Sherpa 181 Reputation points
commented 2024-06-04T07:51:57.7866667+00:00
Brando Zhang-MSFT 3,191 Reputation points Microsoft Vendor
0 answers

How to run a docker compose file from .Net Aspire?

I have multiple services that require a Docker Compose file to be run before starting. I have added a .NET Aspire application to manage all the services, but now I cannot run the Docker Compose file from the .NET Aspire application. Is there any way to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 questions
asked 2024-06-04T02:53:47.74+00:00
Md Akhtar Uzzaman 0 Reputation points
0 answers

Creating Excel with EPPlus: Set Column Widths in Pixels and Add Logo

Hello Friends; I have a question for you, I want to pull the data according to id and process it with excell, I even want to add a logo but I couldn't do it somehow, the thing is that I actually want to give the size to the columns and add a logo, but…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,564 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,608 questions
asked 2024-06-03T15:08:17.0233333+00:00
kadir 60 Reputation points
edited the question 2024-06-04T00:57:45.2766667+00:00
Emi Zhang-MSFT 22,716 Reputation points Microsoft Vendor
3 answers

REST interface, server for GET,PUT,POST,DELETE

Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,337 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,431 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.
309 questions
asked 2024-05-23T17:15:44.0466667+00:00
Noah Aas 280 Reputation points
commented 2024-06-04T00:46:38.2333333+00:00
SurferOnWww 2,086 Reputation points
2 answers

Blazor HeadContent

I have some Open Graph meta tags that I add within the HeadContent. The problem is that I must add all those tags on every page. <HeadContent> <meta name="description" content="@metaDescription" /> <meta…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 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,440 questions
asked 2024-06-03T17:10:50.0233333+00:00
Kuler Master 246 Reputation points
answered 2024-06-03T19:58:43.87+00:00
Lightroom MOD APK 0 Reputation points
0 answers

How to use SystemWebAdapter SessionClient to share only registered keys and ignore the others

I am learning how to migrate a large .net framework application to .net core and am happy with the tooling provided by SystemWebAdapters and RemoteAppClient. The framework application uses session state extensively and it looks like the default behaviour…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,486 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
asked 2024-05-15T08:37:39.3666667+00:00
Rob de Bruin 5 Reputation points
commented 2024-06-03T17:12:38.72+00:00
Kyle Fuller 0 Reputation points
1 answer One of the answers was accepted by the question author.

I want to verify that we're using the correct settings in IIS Application Pool

We're beginning to get away from the old .NET Frameworks, and start using .NET Core for our ASP.NET Core web applications. I've got an ASP.NET Core app written using .NET 6 in IIS 10 on a Windows 2019 Server. I've configured an application pool that for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
asked 2024-06-03T15:25:03.68+00:00
Falanga, Rod, DOH 100 Reputation points
accepted 2024-06-03T16:55:58.4433333+00:00
Falanga, Rod, DOH 100 Reputation points
1 answer One of the answers was accepted by the question author.

How to resolve CORS errors when running Blazor WASM alongside Blazor Server and ASP.NET Core Web API?

Hi, I have a solution having Blazor WASM, Blazor Server and Asp.Net Core Web API. When I try to run the applications, the Blazor server and API work without any problem but I get this error while running the WASM. Cross-Origin Request Blocked: The Same…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 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,440 questions
asked 2024-05-26T09:22:59.9066667+00:00
Cenk 976 Reputation points
accepted 2024-06-03T11:01:33.95+00:00
Cenk 976 Reputation points
1 answer

How to fix my slow internet only Microsoft store application

slow network connection in an only microsoft store application

Azure NetApp Files
Azure NetApp Files
An Azure service that provides enterprise-grade file shares powered by NetApp.
85 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,211 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
Azure Network Watcher
Azure Network Watcher
An Azure service that is used to monitor, diagnose, and gain insights into network performance and health.
160 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,289 questions
asked 2024-06-03T10:54:03.6066667+00:00
ayush nandanwar 0 Reputation points
answered 2024-06-03T10:55:11.07+00:00
ayush nandanwar 0 Reputation points
0 answers

System.Reflection.TargetInvocationException: "Expression 'dest => dest' must resolve to top-level member" when configuring AutoMapper profile

I'm encountering an exception when trying to configure AutoMapper in my ASP.NET Core application. The exception message is: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
708 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,486 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 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,431 questions
asked 2024-06-01T08:50:47.3466667+00:00
Julia Ohorodnichuk 0 Reputation points
commented 2024-06-03T09:34:57.7866667+00:00
Ping Ni-MSFT 2,405 Reputation points Microsoft Vendor
0 answers

How do I override the default Blazor scaffolding template in Visual Studio 2022

I want to edit the scaffolding template for Blazor CRUD pages, but my changes to the template are not being reflected in the output. I tried researching this issue, and the closest answers I could find are how to edit Razor templates, or MVC component…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 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,440 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,732 questions
asked 2024-05-28T21:54:43.2466667+00:00
Andrew Karpinski 0 Reputation points
commented 2024-06-03T07:12:48.24+00:00
Brando Zhang-MSFT 3,191 Reputation points Microsoft Vendor
1 answer

How to find the .net version of app service, if we are using a old framework

Hi, Our app service is using an old version of .Net framework, which is no longer support. I wish to check the exact version we are using (it is either 2.1 or 3.1), but we end up seeing this in the Configuration section How can I find the framework we…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,085 questions
asked 2024-05-30T08:30:35.7533333+00:00
Zavier Chan 0 Reputation points
commented 2024-06-03T05:04:14.6966667+00:00
Grmacjon-MSFT 16,956 Reputation points
0 answers

Microsoft.Web/serverfarms (BadGateway error) in Azure Web App service deployment

{ "status": "Failed", "error": { "code": "Forbidden", "message": "The subscription '5c793fb4-62d4-4c5b-a17a-07fc43a67282' is not allowed to create or update the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,486 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 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,440 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,431 questions
asked 2024-05-31T15:10:39.8633333+00:00
Muhammad Ali 0 Reputation points
commented 2024-06-03T01:51:47.7766667+00:00
JasonPan - MSFT 4,626 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

ResetPassword in .net core web api

Hi, I'm currently working on a .NET core web API project and writing ResetPassword. The user wrote the email and front-end sent it to my ForgotPassword Endpoint, I checked the database and send the url with email and token in it to the user's email. This…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,263 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,431 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.
309 questions
asked 2024-05-31T18:45:26.5333333+00:00
Atilla Rüstəmli 20 Reputation points
accepted 2024-06-02T15:16:13.8566667+00:00
Atilla Rüstəmli 20 Reputation points