All Questions
Tagged with asp.net-core-mvc asp.net-core-2.0
505
questions
4
votes
2
answers
4k
views
GetExternalLoginInfoAsync returns null dotnet core 2.0
I'm trying to setup Facebook authentication with dot-net core 2.0, but in my ExternalLoginCallbackAsync method, I'm always getting null as a response I have followed the documentation and so far this ...
115
votes
30
answers
132k
views
Unable to create migrations after upgrading to ASP.NET Core 2.0
After upgrading to ASP.NET Core 2.0, I can't seem to create migrations anymore.
I'm getting
"An error occurred while calling method 'BuildWebHost' on class
'Program'. Continuing without the ...
0
votes
1
answer
1k
views
How to implement a loading spinner on content change with the ASP.NET Core Angular SPA template?
I just setup a toy project based on the Angular template for ASP.NET Core 2.0 in order to create a SPA for testing purposes:
https://github.com/aspnet/JavaScriptServices/tree/dev/templates/...
32
votes
3
answers
7k
views
Local user account store for Web API in ASP.NET Core 2.0
I'm using ASP.Net Core 2.0, I want to build a Web API project with Individual User Accounts Authorization type, but the only option is Connect to an existing user store in the cloud.
How can I add a ...
16
votes
4
answers
26k
views
AddEntityFrameworkStores can only be called with a role that derives from IdentityRole in .NET Core 2.0
I have changed a project from the .NET Core 1.1 to 2.0 version, but I'm getting an error from the Identity, when It tries to add the stores:
services.AddIdentity<ApplicationUser, IdentityRole<...
11
votes
2
answers
16k
views
ASP NET Core 2.0 appsettings.Development.json not working with logging configuration
I have installed VS2017 15.3.0 Preview 4 and .NET Core 2.0 Preview 2 and have created a default Web MVC application. I am interested in seeing how the new logging functionality works but I cannot get ...
1
vote
1
answer
1k
views
Asp.net Core 2.0 Restoring Form Values After Postbacks
How can I to restore form or query values after postbacks into a view.
In the traditional asp.net mvc I got values using Request.Form but now, in the new version I can't
I would like to restore this ...
3
votes
1
answer
563
views
ASP.NET core 2.0 web application deployment on iisexpress using VS2017 results in HTTP Error 502.3 - Bad Gateway
Deploying an ASP.NET Core 2.0 MVC web application using Visual Studio 2017 (Preview) displays the error page in the browser saying:
HTTP Error 502.3 - Bad Gateway
The specified CGI application ...
4
votes
0
answers
774
views
from ApplicationDbContext to IdentityServiceDbContext
In ASP.NET Core 1.1 I used ApplicationDbContext for user identity context and for my models data, following this.
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
...
3
votes
0
answers
1k
views
How to use Crystal report in AspNet Core Mvc
I have converted existing Erp Application from Ap.net MVC to AspNetCore.Mvc. I want to integrate crystal report to new application. I have added the reference of
CrystalDecisions.CrystalReports....