0
kansoftware created
Can we host Application on port ex. 1001
and web.MVC on port ex. 1002
and web.Host on port ex. 1003
and give reference of application in MVC and Host app ?
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
3 Answer(s)
-
0
Hi @kansoftware
Yes, you can change the port numbers. You need to change port numbers in;
- launchSettings.json
- appsettings.json
- appconfig.json (only for Angular projects)
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @ismcagdas
But how will I give reference of my Application project which is hosted on port 1001 in MVC project hosted on port 1002 ??
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @kansoftware, it depends on whether both projects are hosted in the same server or hosted separately.
Normally you only need to reference the hostname binded to the application project in your mvc project.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)