All Questions
Tagged with asp.net-core-3.0 .net-core
92
questions
0
votes
1
answer
719
views
Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=3.0.0.0
I am migrating my .NET standard 2.0 class library application to .NET core 3.0 where I want to start web API server from class library, Where class library application is getting launched with ...
0
votes
0
answers
176
views
Get the host of the URL
I am made an API that works as it is intended, but to stop the direct use of the base URL of the API, there is another URL that masks the base URL but works the same.
I need to return the URL that is ...
1
vote
1
answer
959
views
How to add data from async method in singleton in Startup.cs in net.core 3.0?
I'm trying to get async data from HttpClient and add this data as singleton at ConfigureServices in Startup.cs
public static class SolDataFill
{
static HttpClient Client;
static SolDataFill()
...
0
votes
1
answer
196
views
Forgot password not working for .NET Core 3.x and React scaffold
I have a project in .NET Core 3.1 and the frontend with React.
It was generated using the scaffold instructions from this link.
When I try to trigger forgot password action, it shows a success page ...
0
votes
0
answers
352
views
Azure Event Hub only sending device twin change notifications for SOME devices in IoT Hub
I have an Azure IoT hub containing a bunch of devices and I have linked the IoT Hub to an Azure Event Hub to subscribe for device twin changes. I then am developing a web application with a Microsoft....
1
vote
1
answer
220
views
Issue with EF LINQ query in .NET Core 3
I have upgraded my web app to NET Core 3 and some EF LINQ queries that were returning values correctly in NET Core 2 now are erroring. I have the following code in my OrderManager class:
private ...
5
votes
1
answer
7k
views
How to inject an IServiceScope into a class in .NET Core
I have a problem with injecting Microsoft.Extensions.DependencyInjection.IServiceScope into my class.
My service implementation:
public class AccountService : IAccountService
{
private readonly ...
2
votes
2
answers
1k
views
Getting ActionContext of an action from another
Can I get an ActionContext or ActionDescriptor or something that can describe a specific action based on a route name ?
Having the following controller.
public class Ctrl : ControllerBase
{
[...
1
vote
2
answers
166
views
Where is the database with indivitual accounts in a .NET Core 3.0 Web Application App Service located?
I'm developing a .NET Core Web application with Microsoft Identity. I've deployed it to the Azure portal as an app service. I need to take a look at the users that I've registered with Microsoft ...
0
votes
1
answer
114
views
.NET Core Web application - where is the Microsoft Identity database?
I'm developing a .NET Core Web application with Microsoft Identity. Where is the database with the users? I need to modify and delete some of them. I need to look at the database and I don't know ...
0
votes
2
answers
332
views
Core3/React confirmation email not sent
This question applies to a core3/react project with an external identity provider, created as follows.
dotnet new react --auth Individual --use-local-db --output conf
and modified to support an ...
1
vote
1
answer
91
views
NetCore3 API not returning/serializing my data
I have the following controller:
[HttpGet("idfull/{id}")]
public async Task<IActionResult> GetAccountByIdFull(int id)
{
try
{
var ...
3
votes
1
answer
3k
views
Catch-all route with IRouteConstraint in ASP.Net Core 3
I'm using .Net Core MVC 3.0 which defaults to Endpoint Routing
The default route config is:
app.UseEndpoints(endpoints =>
{
endpoints.MapControllerRoute(
...
3
votes
1
answer
4k
views
Unable to access resx file in .net Core 3
Have added new .Resx file into Resources folder under .Net Core Web 3 project.
When try to access resx file its not available on controller or validation attribute.
What is the right way to work ...
3
votes
1
answer
11k
views
Asp Net Core 3 Sample with 503 Service Unavailable
When creating a new ASP.NET Core Web Application using react and .Net Core 3.0 or 3.1 in visual studio and run the application the page shows:
503 Service Unavailable
Failed to connect to ...