Comments (5)
Double-check the URL you've configured for the FrontEnd to talk to the BackEnd. HTTPS and HTTP are on separate ports and you must ensure you use the right port. Check that the BackEnd works over HTTPS and then ensure you're using that URL in the FrontEnd's appsettings.json
file.
from aspnetcore-app-workshop.
I have the same issue and can't solve it. The configuration files are correct I think,
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:56009/",
"sslPort": 44360
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"AASPNETCORE_HTTPS_PORT": "44360",
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Backend": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:44360;http://localhost:56009"
}
}
}
{
"ServiceUrl": "https://localhost:44360/",
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*"
}
from aspnetcore-app-workshop.
How are you launching the apps? Via Visual Studio or the cmd line? Can you confirm that the back-end is listening and serving the Swashbuckle (Swagger) UI via the configured HTTPS URL?
from aspnetcore-app-workshop.
for this challenge. i set my lauchsetting for frontend like this
"FrontEnd": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:55994", // didnt use https
"sslPort": 44374
}
}
from aspnetcore-app-workshop.
Hi,
Maybe it is no longer important but anyway. What was happening for me, the concatenation of the base address for the FrontEnd API service was not working. So I' was trying to access an address that did not exist.
It could be something similiar for you.
from aspnetcore-app-workshop.
Related Issues (20)
- Home and My Agenda pages show day buttons for days that don't include any sessions
- FrontEnd Web App Link of readme.Md
- Database suggestions
- EditSession page should provide better experience for editing start and end time
- After clone this repo, dotnet dev-certs is required to solve AuthenticationException
- ArgumentNullException: Value cannot be null. Parameter name: uriString HOT 1
- Database schema is out of sync with the model classes HOT 2
- What is this initialized yet mutable collection property for? HOT 2
- Application Architecture Diagram is not updated after 2.2 HOT 1
- PostAsJsonAsync in the System.Net.Http
- Adding a TagHelper assumes you can create a TagHelper using a template
- Frontend URL returns 500 HOT 1
- SqlServer and Sqlite `add package` commands incorrect in `1. Create BackEnd API project.md`
- Scaffolding as described in the section "Create BackEnd API project" ends with error HOT 1
- Instruction in the section "Generate the Entity Framework migration for our Identity schema" are not complete
- Playwright Module
- The Front-End Web App has an unhandled exception!
- Links for DataLoader.cs and some others aren't working ... HOT 1
- Please add authentication/authorization example to net6.0 project
- Session4 Typo err, function OnGet & OnGetAsync
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspnetcore-app-workshop.