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…
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 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…
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…
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…
RDLC Report Device Info in ASP.Net Core
string deviceInfo = "<DeviceInfo>" + " <OutputFormat>jpeg</OutputFormat>" + " <PageWidth>9.1in</PageWidth>" + " <PageHeight>10.05in</PageHeight>" + …
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:…
I want write "Hello World" with ASP.NET Core.
I want write "Hello World" with ASP.NET Core. Can you help me?
I want write "Hello World" with ASP.NET Core
I want write "Hello World" with ASP.NET Core. Can you help me ?
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…
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…
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…
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…
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…
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>…
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…
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…
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…
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> …
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>?…