4,344 questions with ASP.NET Core tags

Sort by: Updated
2 answers

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,344 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,477 questions
asked 2024-06-04T13:24:09.7766667+00:00
Cenk 986 Reputation points
edited the question 2024-06-19T02:27:07.1733333+00:00
Jack J Jun 24,491 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

What do the "/" and "~" signs mean in file path usage?

Hi, If you allow, I would like to ask a question. I want to access "b5.jpg" in CoreBlogTema from About/Index. Which one should I start with "/", "./", "../", "~/" in the file extension? Can you explain…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 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,573 questions
asked 2024-06-15T11:01:15.27+00:00
Yalçın Mete 60 Reputation points
commented 2024-06-18T23:51:45.99+00:00
Yalçın Mete 60 Reputation points
2 answers

How do you set the default document programmatically in the Program.cs file of an ASP.NET Core Web App (Razor Pages)

I have created a new app using the ASP.NET Core Web App (Razor Pages) template in Visual Studio 2022. I have the app linked up to Azure AD so when a user goes to the site it redirects them to authenticate through AAD before directing them back to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
asked 2024-06-17T19:45:33.41+00:00
Dyllan Jones 20 Reputation points
commented 2024-06-18T17:58:58.4566667+00:00
AgaveJoe 27,421 Reputation points
1 answer One of the answers was accepted by the question author.

Azure Synapse Analytics Developer Endpoint Certificate Issue

I'm encountering an SSL connection issue while trying to call the Azure Synapse Analytics REST API using HttpClient in my ASP.NET Core API deployed on a Web App. The error message 'The SSL connection could not be established, see inner exception. The…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,621 questions
asked 2024-06-14T09:19:22.67+00:00
Andi Leka 20 Reputation points
accepted 2024-06-18T07:23:38.6766667+00:00
Andi Leka 20 Reputation points
1 answer

How to authenticate a user that was redirected to a web application from a desktop application.

I am having an issue trying to use Azure AD B2C to use SSO between my desktop application and my web application. The issues is almost exactly what is described in this question:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,141 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,354 questions
asked 2024-06-14T20:34:10.4766667+00:00
Justin Armstrong 0 Reputation points
commented 2024-06-18T07:21:36.5533333+00:00
Givary-MSFT 30,251 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

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,344 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,045 questions
asked 2024-06-03T15:30:12.4666667+00:00
Luigi Navarra 25 Reputation points
accepted 2024-06-18T07:16:04.8966667+00:00
Luigi Navarra 25 Reputation points
1 answer

ASP.NET azure hosted app / sql server Works on localhost only

When I run my simple CRUD app on localhost it works really good. Hint: It is using SQL server to insert data and server is hosted on my Azure Subscription inside same Resource Group Deployed app : myAzureWebsitesLink.net Not working route : School -…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
830 questions
asked 2024-06-11T20:15:24.4333333+00:00
Anel Hodžić 0 Reputation points
commented 2024-06-18T05:17:19.6033333+00:00
Zohaib khan 0 Reputation points
2 answers One of the answers was accepted by the question author.

Paging Issue in asp.net MVC

I am trying to add paging but get the error: CS1061: 'IEnumerable<Subject>' does not contain a definition for 'PageCount' and no accessible extension method 'PageCount' accepting a first argument of type 'IEnumerable<Subject>' could be…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
asked 2024-06-09T04:35:25.08+00:00
Malam Malam 226 Reputation points
accepted 2024-06-17T23:52:58.6766667+00:00
Malam Malam 226 Reputation points
3 answers

Are there any risks to injecting IHttpContextAccessor into a class registered as a singleton?

I understand that IHttpContextAccessor is registered as a singleton when services.AddHttpContextAccessor() is called, and that it uses AsyncLocal to access information for the current user. In just about all the examples I've seen, services dependent…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
asked 2022-04-21T21:01:29.103+00:00
aethdae 6 Reputation points
commented 2024-06-17T10:49:13.2433333+00:00
Hintee 1 Reputation point
0 answers

How to connect to on-premises SharePoint using ADFS authentication in a .NET 8 application

Since OfficeDevPnP.Core is not supported in .NET 8, are there alternative libraries or approaches to connect to on-premises SharePoint using ADFS authentication in a .NET 8 application? Current Situation: Existing applications written in .NET Framework…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,150 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,219 questions
asked 2024-06-17T03:57:31.1433333+00:00
Vijayan, Neethu 0 Reputation points
2 answers

The type initializer for 'Microsoft.Data.SqlClient.SqlAuthenticationProviderManager' threw an exception.

Getting error while connecting db with .net core Application

Azure SQL Database
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 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,201 questions
asked 2024-06-12T10:32:54.79+00:00
Sagar Lugade 0 Reputation points
answered 2024-06-17T03:36:53.0633333+00:00
ShaktiSingh-MSFT 14,276 Reputation points Microsoft Employee
0 answers

Unable to get access token for microsoft store service

Hi, I am building an app for the Microsoft Store. I require the app's server to connect to the microsoft store to validate purchases. I'm using the Microsoft.StoreServices API provided at: https://github.com/microsoft/Microsoft-Store-Services Basically…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,141 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
915 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,573 questions
asked 2024-06-09T22:08:13.59+00:00
Jacques O 0 Reputation points
edited the question 2024-06-14T04:32:57.34+00:00
Givary-MSFT 30,251 Reputation points Microsoft Employee
2 answers

How to call another view from one view in MVC?

In my main MVC project (Proj1) form's menu (Shared_Menu,cshtml), I've added a new menu item to open up a view from another project (proj2) that has been added to the solution. How do I call the proj2's view when the menu item in proj1 is clicked?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
asked 2024-06-10T06:12:45.8866667+00:00
Malam Malam 226 Reputation points
edited a comment 2024-06-14T00:48:03.82+00:00
SurferOnWww 2,406 Reputation points
1 answer

My aurhorization shows fore alittle my mainlayout and then redirect to unauthorizedpage

<Router AppAssembly="@typeof(Admin).Assembly"> <Found Context="routeData"> <AuthorizeRouteView RouteData="@routeData"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 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,477 questions
asked 2024-06-11T08:22:45.62+00:00
Ioannis Karakostas 0 Reputation points
answered 2024-06-13T22:30:10.0433333+00:00
Bruce (SqlWork.com) 60,361 Reputation points
3 answers One of the answers was accepted by the question author.

How to modify .Aspnetcore.Identity.Application Cookie name?

I wanna hide that i use ASP.NET Core. How to do this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
asked 2021-01-05T11:10:14.757+00:00
Zang-Ho Bae 26 Reputation points
edited an answer 2024-06-13T03:43:49.3933333+00:00
hasan hüseyin topal 0 Reputation points
0 answers

Sporadic System.Net.Http.HttpRequestException: Error while copying content to a stream.

Hi, I receive this sporadic error in subject while calling HttpClient.PostAsync(url, content). I want to make sure that this is not related to my code. public async Task<HttpResponseMessage> UploadPhotoAsync(string productId, MediaGallery…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
.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,136 questions
asked 2021-04-06T18:37:29.78+00:00
Holysmokes-6260 41 Reputation points
commented 2024-06-12T18:03:37.3333333+00:00
Bruce (SqlWork.com) 60,361 Reputation points
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,344 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,477 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,821 questions
asked 2024-05-28T21:54:43.2466667+00:00
Andrew Karpinski 0 Reputation points
edited a comment 2024-06-12T06:32:15.47+00:00
Brando Zhang-MSFT 3,361 Reputation points Microsoft Vendor
2 answers

The package Microsoft.AspNetCore.SignalR is deprecated. May I know the latest package for the same.

The package Microsoft.AspNetCore.SignalR is deprecated. May I know the latest package for the same.I am panning to work with .Net 6.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
asked 2022-08-08T06:12:37.23+00:00
Manjunath Cycle 1 Reputation point
commented 2024-06-12T06:21:28.59+00:00
Chandan Jha 0 Reputation points
3 answers

In .Net 8 Blazor web app template application how I can use azure active directory authentication

Hello, As we know when we create an application using Blazor Web App Template in .Net 8, we get project one for Server and another one for Client. so how azure authentication will apply/configure in this application. More simply I just wanted know…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 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,477 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,573 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,354 questions
asked 2024-01-17T05:24:28.51+00:00
Kuldeep Y 41 Reputation points
commented 2024-06-11T17:50:45.47+00:00
AD 0 Reputation points
2 answers

Use WWF - Windows Workflow Foundation or Similar Workflow tools in current latest .NET CORE application?

Dear Team - WWF - Windows Workflow Foundation in current/latest .NET CORE application My current project is much secured and contains NATIONAL SECURE DATA, so customer is bit hesitant to go with Workflow tools like ELSA Workflow etc as those are…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
asked 2024-06-10T17:51:21.7533333+00:00
Einstein Ravi 0 Reputation points
commented 2024-06-11T17:20:27.2066667+00:00
Michael Taylor 50,586 Reputation points