4,134 questions with ASP.NET Core tags

Sort by: Updated
0 answers

Help with sign-up with unsupported OAuth2.0 provider

Hello! I'm new to ASP.NET Core Identity and I'm having a hard time figuring out how to add support for an unsupported OAuth2.0 provider like Discord. From my understanding I need to use the AddOAuth() method but I have some questions. When I configure…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-09T17:04:08.6133333+00:00
iKingNinja 40 Reputation points
edited the question 2024-04-09T17:05:01.01+00:00
iKingNinja 40 Reputation points
1 answer

I can't publish my ASP.NET core web API to somee.com

It's been one mouth since i published my API to somee.com and it was working fine and even when i update the API in my local machine and publish it again it worked fine but now it doesn't want to publish to somee.com anymore and i don't know if the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 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,573 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.
292 questions
asked 2024-04-08T17:36:40.94+00:00
Faris Mohamed 0 Reputation points
commented 2024-04-09T08:08:36.9433333+00:00
Faris Mohamed 0 Reputation points
1 answer

Asp.Net MVC and SignalR

Hello everyone and thanks for the help in advance. I am refactoring older SignalR code to work with the latest versions of Asp.Net. The application attempts to use Sql Dependency notifications to send updates to the client, however, there appears to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-04T21:20:36.25+00:00
Kmcnet 691 Reputation points
commented 2024-04-09T02:41:19.77+00:00
SurferOnWww 1,906 Reputation points
2 answers One of the answers was accepted by the question author.

how to install the template from a previous .net SDK?

There are several templates come with .net SDK installation. I am using .net 8 SDK now, but I would like to install some blazor related templates which are coming with .net7 SDK, as I am studying some blazor tutorial videos which were made in .net 7. I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 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,573 questions
asked 2024-04-08T00:58:02.7833333+00:00
William Liu 246 Reputation points
edited a comment 2024-04-08T18:35:19.2966667+00:00
AgaveJoe 26,181 Reputation points
2 answers

ASP.Net Core 7.0 Web App (Model-View-Controller) ErrorViewModel OnGet OnPost do not get called or executed

I'm trying to follow the following article in order to implement global error handling and a custom error page for my web site. https://learn.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-7.0 Running the app with IIS Express…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-03-27T14:09:17.93+00:00
Rob Kemp 0 Reputation points
edited the question 2024-04-08T05:40:42.9133333+00:00
Jack J Jun 24,276 Reputation points Microsoft Vendor
0 answers

RDLC Report Device Info in ASP.Net Core

string deviceInfo = "<DeviceInfo>" + " <OutputFormat>jpeg</OutputFormat>" + " <PageWidth>9.1in</PageWidth>" + " <PageHeight>10.05in</PageHeight>" + …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-06T17:32:43.6966667+00:00
AHSAN ALI 81 Reputation points
commented 2024-04-08T02:37:33.4633333+00:00
JasonPan - MSFT 4,201 Reputation points Microsoft Vendor
0 answers

The connection either timed out or was lost.

I have problem connect to analysis server through application. Getting below error and we are recently updated .netcore 5.0 to .netcore 7.0 and Data base server is windows 2019 Message: The connection either timed out or was lost. Source:…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,443 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,717 questions
asked 2024-04-05T16:09:01.0166667+00:00
siva naik 0 Reputation points
edited the question 2024-04-08T01:51:40.75+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

I want write "Hello World" with ASP.NET Core.

I want write "Hello World" with ASP.NET Core. Can you help me?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-06T09:13:16.2333333+00:00
Abdurrahman KAYA 40 Reputation points
commented 2024-04-07T05:03:44.9966667+00:00
Abdurrahman KAYA 40 Reputation points
2 answers One of the answers was accepted by the question author.

I want write "Hello World" with ASP.NET Core

I want write "Hello World" with ASP.NET Core. Can you help me ?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-06T09:10:18.8033333+00:00
Abdurrahman KAYA 40 Reputation points
accepted 2024-04-07T05:00:13.12+00:00
Abdurrahman KAYA 40 Reputation points
1 answer

Error after installing Net8

Hi all, I installed Net8 runtime on my windows 2016 (Windows Server 2016 Datacenter). But if I run any program using NET8 as it's framework, the program will breakdown. The same programs work well on other server( Windows Server 2016, not the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-01-16T05:23:11.56+00:00
Chilly Sun 0 Reputation points
edited a comment 2024-04-07T03:45:46.0866667+00:00
A. Kornienko 0 Reputation points
8 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,134 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 30 Reputation points
commented 2024-04-06T12:09:14.6766667+00:00
Olumuyiwa Agboola 0 Reputation points
1 answer

Session Management

I am currently in the middle of setting up my user session management using ASP.NetCore Web API. I am able to register users and log in successfully. After checking my Dev Tools on Chrome I can see that a JWT token is created and added to the cookie with…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-03T23:03:28.9366667+00:00
Mendenzon Tatis Rosario 20 Reputation points
edited an answer 2024-04-05T21:38:06.7466667+00:00
Bruce (SqlWork.com) 54,866 Reputation points
1 answer One of the answers was accepted by the question author.

How to solve “An asynchronous socket operation is already in progress using this SocketAsyncEventArgs instance” question

Question: An asynchronous socket operation is already in progress using this SocketAsyncEventArgs instance. "I want help, Currently using Netcore2.1, IIS, IhttpclientFactory, async await, some time suddenly suggest this mistake, because I lead to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-05T15:52:45.4233333+00:00
海阔天空 20 Reputation points
commented 2024-04-05T16:42:07.87+00:00
Michael Taylor 47,711 Reputation points
1 answer One of the answers was accepted by the question author.

Api Call Fails with 500 despite returning Data

The below code is failing with "the server responded with a status of 500 ()" But data is being populated in elevation, I am trying to populate the elevation in browser using ajax call but couldn't…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-04T17:22:51.1533333+00:00
Maui Learner 420 Reputation points
commented 2024-04-05T07:53:37.18+00:00
Maui Learner 420 Reputation points
1 answer

Trying to pass complex object as a parameter of the HttpGet request (FromQuery)

Hi, i have standard ASP.NET application with controllers and what i try to do is to pass complex object as a parameter of the HttpGet request. Like : [HttpGet(Name = "GetWeatherForecast")] public IEnumerable<WeatherForecast>…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-04T09:13:35.4+00:00
Stas G 0 Reputation points
commented 2024-04-05T04:02:31.2533333+00:00
Ping Ni-MSFT 2,085 Reputation points Microsoft Vendor
2 answers

Add Web API Calls to Blazor Web App Migrating from .Net6 to 8 Redirects to Login with [Authorize] controllers.

I have a .Net WASM project that I am migrating to .Net 8 from .Net6. I want to take advantage of some of the advanced render modes. I used the template in VS2022 with Individual accounts, With 'Auto (Server and WebAssemby) and per page/component as the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 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,375 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.
292 questions
asked 2024-04-03T11:48:39.5566667+00:00
Brett Butcher 0 Reputation points
answered 2024-04-05T02:09:38.44+00:00
Zhi Lv - MSFT 32,006 Reputation points Microsoft Vendor
3 answers

How to utilize print report the lists of data in the table of an inventory webapp

I have a print report functionality but its output is that the print report javascript takes all of the page looking like a screenshot, what i wanted is that the data in the table only has to be printed, and when i click the print button it'll be in pdf…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-02-28T01:08:11.6333333+00:00
MiKhel Navarra 20 Reputation points
answered 2024-04-04T20:01:11.89+00:00
Bruce (SqlWork.com) 54,866 Reputation points
1 answer One of the answers was accepted by the question author.

LINQ join group by multiple tables

I have created a linq query for the child row table of the jquery datatable. It's working. The problem is that I want to display the product name instead of the productid of the table order. I would appreciate it if someone could help. public…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2024-04-03T07:13:21.8533333+00:00
jewel 701 Reputation points
accepted 2024-04-04T16:52:59.74+00:00
jewel 701 Reputation points
2 answers

Int property sorting

How do I get an int property to sort "normally?" 0, 1, 2 ,3...9, 10, 11... instead of the sort that is pictured in the first number below (below). current sort in the view is being sorted by the following... <script> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 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,197 questions
asked 2024-04-04T09:36:50.18+00:00
Dean Everhart 1,496 Reputation points
answered 2024-04-04T15:56:31.7966667+00:00
Bruce (SqlWork.com) 54,866 Reputation points
2 answers

Receive complex object FromQuery in .Net 6.0 Web API

Hi all, I have a solution .Net 6.0 Web API project in which I want to use an object like these as model for query string: public class UserParam { public Guid? Id { get; set; } public string? Email { get; set; } public IEnumerable<string>?…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
asked 2023-04-01T09:54:56.2466667+00:00
Yiyi Chen 25 Reputation points
commented 2024-04-04T08:26:21.49+00:00
Stas G 0 Reputation points