skip to Main Content

ReactJS/ASP.Net Core 2.1 Version CORS Error

When I do axios post by React JS, I get the following CORS error to ASP.Net Core side. Failed to load resource: Origin http://localhost:3000 is not allowed by Access-Control-Allow-Origin. https://localhost:5001/api/vendorregistration I installed the following as my Nuget Packages and did…

VIEW QUESTION

There is an error in app.UseMigrationsEndPoint(), if this cant be solved can guide me to remove asp.net identity files (which is used to create login)

using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.ResponseCompression; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using OfflineEventManagment.Data; using OfflineEventManagment.Areas; using System; using System.Collections.Generic; using System.IO.Compression; using System.Linq; using System.Threading.Tasks; namespace OfflineEventManagment { public class Startup { public…

VIEW QUESTION
Back To Top
Search