4,281 questions with ASP.NET Core tags

Sort by: Updated
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,281 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
2 answers

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,281 questions
asked 2024-06-09T04:35:25.08+00:00
Malam Malam 161 Reputation points
commented 2024-06-13T00:43:54.0933333+00:00
SurferOnWww 2,091 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,281 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,135 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) 59,021 Reputation points
0 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,281 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,045 questions
asked 2024-06-12T10:32:54.79+00:00
Sagar Lugade 0 Reputation points
commented 2024-06-12T11:09:43.39+00:00
ShaktiSingh-MSFT 14,166 Reputation points Microsoft Employee
0 answers

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,281 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,449 questions
asked 2024-06-11T08:22:45.62+00:00
Ioannis Karakostas 0 Reputation points
commented 2024-06-12T07:18:55.05+00:00
Brando Zhang-MSFT 3,201 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,281 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,449 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,751 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,201 Reputation points Microsoft Vendor
0 answers

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,281 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,358 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
804 questions
asked 2024-06-11T20:15:24.4333333+00:00
Anel Hodžić 0 Reputation points
edited the question 2024-06-12T06:30:30.0033333+00:00
GitaraniSharma-MSFT 48,286 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Not able to Insert Image data for two images Postgresql

[HttpPost] [ValidateAntiForgeryToken] public async Task<IActionResult> Create([Bind("Sno,No,Topic,QuestionTitle,Opt1,Opt2,Opt3,Opt4,Answer,Time,Correct,Solution,Imagedata,Imagesol")] Question question, IFormFile…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 questions
Azure Database for PostgreSQL
asked 2024-06-11T19:37:32.6+00:00
Maui Learner 500 Reputation points
accepted 2024-06-12T06:25:14.9933333+00:00
Maui Learner 500 Reputation points
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,281 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
1 answer

StackOverflowException after upgrading from .Net 6 to .Net 8

Hi, 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,517 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 questions
asked 2024-05-29T09:57:50.6666667+00:00
Abhishek, Burra 5 Reputation points
commented 2024-06-12T06:16:59.29+00:00
Abhishek, Burra 5 Reputation points
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,281 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,449 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,465 questions
asked 2024-06-04T13:24:09.7766667+00:00
Cenk 981 Reputation points
commented 2024-06-11T20:00:28.92+00:00
Bruce (SqlWork.com) 59,021 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,281 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,449 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,465 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,067 questions
asked 2024-01-17T05:24:28.51+00:00
Kuldeep Y 36 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,281 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 49,701 Reputation points
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,281 questions
asked 2024-06-10T06:12:45.8866667+00:00
Malam Malam 161 Reputation points
edited an answer 2024-06-11T08:27:39.13+00:00
Ping Ni-MSFT 2,640 Reputation points Microsoft Vendor
0 answers

How to Github azure/publish action fails to start app?

Hello, I've spent 3 days going around in circles. have a repo that contains a SOURCE/ folder within which is a *.sln that in turn references an App.Host/App.Host.csproj which is a .net 8.0 asp.mvc app, which locally it builds and runs. …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 questions
asked 2024-06-11T02:54:04.7366667+00:00
skysaz 0 Reputation points
commented 2024-06-11T03:32:43.7266667+00:00
JasonPan - MSFT 4,701 Reputation points Microsoft Vendor
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,281 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,011 questions
asked 2024-06-03T15:30:12.4666667+00:00
Luigi Navarra 5 Reputation points
commented 2024-06-10T06:05:14.48+00:00
PRADEEPCHEEKATLA-MSFT 82,041 Reputation points Microsoft Employee
3 answers

What is a good way of track link clicks in Asp.Net Core 7 MVC app in Application Insights?

I have an MVC app with several <a> tags, and I want to have a way of tracking link clicks, preferably without doing redirects (i.e., without changing link addresses). Is there any way this can be done? and the link clicks are tracked on Application…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,920 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 questions
asked 2024-05-20T07:49:05.8166667+00:00
Astha Gangwar 0 Reputation points
answered 2024-06-10T05:03:54.9066667+00:00
Fei Han - MSFT 306 Reputation points Microsoft Vendor
0 answers

When running the webserver, "System.Net.Sockets.SocketException (97): Address family not supported by protocol" message is displayed.

Hi experts: I use asp.net core 8 write a web server app in visual studio 2022, when running on some embedded Linux system, will report the error "System.Net.Sockets.SocketException (97) : Address family not supported by protocol.". The whole…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,517 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 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,751 questions
asked 2024-06-07T09:31:14.17+00:00
Yiming Chen 0 Reputation points
edited a comment 2024-06-10T02:07:28.9066667+00:00
Zhi Lv - MSFT 32,051 Reputation points Microsoft Vendor
1 answer

Confused about how to use Microsoft.AspNetCore.SystemWebAdapters while trying to port from old ASP.NET website to new ASP.NET Core web app

https://stackoverflow.com/questions/78589165/confused-about-how-to-use-microsoft-aspnetcore-systemwebadapters-while-trying-to Can some one tell me how to approach this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,358 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,465 questions
asked 2024-06-07T21:23:00.4833333+00:00
Sameer Ranade 0 Reputation points
answered 2024-06-10T00:49:04.55+00:00
Bruce (SqlWork.com) 59,021 Reputation points
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,281 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,043 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.
899 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,465 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,067 questions
asked 2024-06-09T22:08:13.59+00:00
Jacques O 0 Reputation points
edited the question 2024-06-09T22:16:19.2866667+00:00
Jacques O 0 Reputation points