asp.net-core-3.0 Questions
8
Solved
I'm trying to compile my application to run on Core 3.0 (NOT 3.1)
And I'm able to compile and run fine locally, but when I do a publish it gives me:
Error NETSDK1005: Assets file 'C:\dev...\pro...
Pigeontoed asked 31/3, 2020 at 18:51
6
I am trying to redirect to IdentityServer for authorization, and getting "code challenge required" in redirect URL.
An error message shows invalid_request with code challenge required, and also my...
Erigeron asked 2/2, 2020 at 17:9
6
Solved
In particular, I'm using Blazor (server hosted) with ASP.NET Core Preview 8. I tried adding it using LibMan, but that seems to be more about downloading files from a CDN. I'd like to introduce Tail...
Dibromide asked 27/8, 2019 at 6:47
3
Solved
My service targets the following frameworks:
Microsoft.AspNetCore.App 3.0.0
Microsoft.NETCore.App 3.0.0
Everything runs fine locally. When I deploy to an App Service in Azure, I experience the ...
Frustrated asked 15/10, 2019 at 14:44
6
Solved
Before initializing the application Host I need to read some settings from the application's configuration to setup some other things.
In ASP .NET Core 2.x to read settings before initializing the...
Polygamy asked 23/10, 2019 at 21:2
12
Solved
I try get data from my database with repository Pattern
i have 3 project
Bmu.Mode 'this is for model to create database'
Bmu.Repo 'it have 2 folder for repository include contract/InewsRepo...
Kaiak asked 13/12, 2019 at 19:3
5
Solved
how are you?.
I have a web api in net core 3.1, this in turn contains a service that every X minutes has to run to perform data migrations (I'm just testing it), but I have 2 problems.
For the s...
Dint asked 6/2, 2020 at 0:27
7
Solved
I trying bundle and minify my CSS and JS files in ASP.NET Core 3.0 with BuildBundlerMinifier.Core.
Also Installed Bundler & Minifier extension for Visual Studio 2019.
When I try Debug the proj...
Undercool asked 9/4, 2020 at 9:11
5
Solved
I get the following error message when I run a brand new web application:
System.MissingMethodException: 'Method not found: 'Void Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions.set_AllowAre...
Paphos asked 23/7, 2019 at 17:46
3
Solved
I am facing an issue with Visual Studio 2019 (version 16.3.8), when starting an ASP.NET Core 3 WebApi project.
After clicking OK the project starts and runs without any issue. However the pop-up ...
Micahmicawber asked 8/11, 2019 at 10:12
21
I am using Microsoft Visual Studio 2019 Community preview, version 16.4.0 Preview 1.0. I just updated to Windows 10 Pro Version 1903 OS build 18362.418. With an ASP.NET Core 3 web app project (Blaz...
Primogeniture asked 11/10, 2019 at 18:21
2
Solved
I'm learning about the Blazor, and see benefit of 2 types client-side and server-side.
I want to use both on the same web e.g. one path is a client-side WebAssembly app, another path is a server-s...
Maxiemaxilla asked 27/9, 2019 at 9:27
10
I have a .NET Core 3 app for image classification, using Microsoft's ML.NET framework.
On my development machine, I can run the code and it all works fine.
However, when I deploy it to my staging...
Maimaia asked 24/10, 2019 at 21:51
2
Solved
Let me explain : I have a .net core 3.0 API connected to a postgres database. I would like to perform basic CRUD operations with this API. I use swagger to display webrequest. Once I have cre...
Equivoque asked 14/1, 2020 at 13:40
2
Solved
I'm trying to use the new GenericHost in .NET Core 3.0 documented here but I'm getting a really basic error that stats IHostBuilder does not contain a definition for the ConfigureWebHostDefaults fu...
Rollmop asked 25/9, 2019 at 11:42
5
I am building a sample Razor component, and I can not get my button onclick method to fire. When I click the button, nothing happens at all. I have even placed a breakpoint in the method to see if ...
Charbonnier asked 14/10, 2019 at 0:4
2
I am trying to migrate a project from asp.net Core 2.2.6 to asp.net core 3.0
In my startup I had
services.AddMvc(options =>
{
options.Filters.Add(new CorsAuthorizationFilterFactory("default"))...
Wren asked 13/12, 2019 at 14:10
10
Solved
When using JSON.Net in ASP.Net Core 2.2 I was able to ignore a property when its value was null when serializing to JSON:
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public DateTi...
Escritoire asked 25/9, 2019 at 21:8
2
Solved
I am using Entity Framework Core with npgsql postgresql for Entity Framework Core.
and i'm working with .net core 3
My question is, when i try to update a MyTableRelated element from the MyTableCl...
Fredrick asked 26/5, 2020 at 11:33
4
Solved
According to the documentation, the order of middleware should be like this:
app.UseStaticFiles();
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
I have middleware to protect...
Tomasz asked 20/10, 2019 at 17:41
5
Solved
I updated my ASP.NET Core project to .NET Core v3.0.0-preview3, and I now get:
Startup.cs(75,50,75,69): warning CS0618: 'IHostingEnvironment' is
obsolete: 'This type is obsolete and will be rem...
Maddie asked 9/4, 2019 at 22:1
6
Solved
I am trying to integrate swagger into a ASP NET Core 3.0 project and it throws exception right in the ConfigureServices method:
I am using Swashbuckle.AspNetCore 4.0.1.
I have also checked this i...
Briefs asked 5/11, 2019 at 10:18
1
I have a .NET Core Web Api which I recently migrated from version 2.2 to version 3.0. I have a route/method in one of my controllers that returns a Dictionary. The issue I am now having is that whe...
Kingcup asked 20/10, 2019 at 23:5
3
I want to edit Razor view during runtime as publish Views or Razor Page .cshtml to Publish folder,
in Asp.net core 2.1 with
<PropertyGroup>
<PreserveCompilationContext>true</Pre...
Outbound asked 5/10, 2019 at 12:6
2
BufferingHelper.EnableRewind();
Above is an extension method for HttpRequest object in ASP.NET Core 2.2. It is no more there in ASP.NET Core 3.0 (atleast with this name). I want to know it's alte...
Income asked 8/8, 2019 at 7:35
1 Next >
© 2022 - 2024 — McMap. All rights reserved.