ASP.NET project the latest frontend push killed the SSL certificate for localhost.
Has anyone here came across this before?
The project template was ASP.NET + React project in Visual Studio
23 Replies
There's almost no information here for anyone to go on, I'm afraid
So i have an ASP.NET X React project under one Solution in Visual Studio.
project.client = frontend
Project.Server = backend
Does it run as one or two process?
last week we used a way different structure for the projects and we remade it this past weekend to be like this:
Ie, does your dev build bundle the FE app, or do you run it separately with a dev proxy?
I dont believe so 😮 Its just a basic app with a backend and frontend. Where we are meant to simulate a company by working together to create a full app/website in a couple weeks
Point is the frontend section merged their data to main and somehow altered the SSL certificate; So now https:// does not work
the project only works with http. as such the problem has to do with the SSL certificate for localhost
how do you run the project?
also, show me the
vite.config.js
file
right, so its two processes with a dev proxywe run both projects like this
first time hearing that! But i'll remember that lol
(thats good, thats the way you should run it)
enables hot reload etc
Vite is pretty empty
hm
yeah I was expecting a dev proxy there
Very strange; To make them run alongside eachother we're using Cors for now
but the problem lies with the frontend
not the backend
normally what you do is you set up a proxy route and redirect from the FE to the BE
ie, frontend makes a request to
/api/...
and its redirected to localhost:12345/api/...
Yeah thats exactly what we're doing too haha
well. uh... where is that proxying set up?
from the backend section with endpoints
.. what?
huh
but your FE is the entrypoint to the application
For some reason i read that as API endpoints. Can we jump into a voice call?
if possible?
im assuming your FE is a SPA, maybe thats not correct?
hm.
gimmie a min
need to find an empty meeting room
No rush 😄
#vc-2