What is the correct physical path to use for a .net core SPA app?What is “.NET Core”?What is the difference between .NET Core and .NET Standard Class Library project types?Do .NET Core console apps have a memory ceiling?What Changes to my VSTS build need to be made for .net core Web Api Deploy to Azuredotnet publish with .net core - How to work around relative paths not been honored in CopyToPublishDirectory?Deploying .NET Core console app as web job not picking up connection string from my config.json.NET Core Angular 7 SPA VSTS DeployDeploying .Net Core to Linux WebApps on Azure with DevOpsDotnet Publish Error in Azure App Service - Error: Cannot find module '@angular/core'Deploy a self-contained .NET Core application with Azure DevOps App Service Deploy task
Have powerful mythological heroes ever run away or been deeply afraid?
Why use water tanks from a retired Space Shuttle?
Can a magnetic field of a large body be stronger than its gravity?
Why were the Night's Watch required to be celibate?
What's up with my calculator?
How can I grammatically understand "Wir über uns"?
Accidentally cashed a check twice
Why does my electric oven present the option of 40A and 50A breakers?
Can those paralyzed by the Hold Person spell be forcibly moved?
Can a class take a different class's spell in their ritual book?
The term for the person/group a political party aligns themselves with to appear concerned about the general public
How to decline physical affection from a child whose parents are pressuring them?
How is it possible for Mordenkainen to be alive during the Curse of Strahd adventure?
Please help me identify this plane
Rotated Position of Integers
Can The Malloreon be read without first reading The Belgariad?
Is this cancel button needed?
Could a guilty Boris Johnson be used to cancel Brexit?
How should I push back against my job assigning "homework"?
Do adult Russians normally hand-write Cyrillic as cursive or as block letters?
Hygienic footwear for prehensile feet?
Strange math syntax in old basic listing
Is it OK to bring delicacies from hometown as tokens of gratitude for an out-of-town interview?
Is there a rule that prohibits us from using 2 possessives in a row?
What is the correct physical path to use for a .net core SPA app?
What is “.NET Core”?What is the difference between .NET Core and .NET Standard Class Library project types?Do .NET Core console apps have a memory ceiling?What Changes to my VSTS build need to be made for .net core Web Api Deploy to Azuredotnet publish with .net core - How to work around relative paths not been honored in CopyToPublishDirectory?Deploying .NET Core console app as web job not picking up connection string from my config.json.NET Core Angular 7 SPA VSTS DeployDeploying .Net Core to Linux WebApps on Azure with DevOpsDotnet Publish Error in Azure App Service - Error: Cannot find module '@angular/core'Deploy a self-contained .NET Core application with Azure DevOps App Service Deploy task
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I've set up a .NET core identity React app. Using the DevOps Project set up, I was able to successfully deploy the app. The default physical path points to sitewwwroot
, but that loads my site with a 502 error. When I change this to point to the client-side React app (sitewwwrootclientdist
), it loads. However, none of my .NET routes are working.
Default documents include the basics as well as hostingstart.html
, which is in the sitewwwroot
from the .NET publish.
What is the correct path I should be using?
.net-core azure-devops
add a comment |
I've set up a .NET core identity React app. Using the DevOps Project set up, I was able to successfully deploy the app. The default physical path points to sitewwwroot
, but that loads my site with a 502 error. When I change this to point to the client-side React app (sitewwwrootclientdist
), it loads. However, none of my .NET routes are working.
Default documents include the basics as well as hostingstart.html
, which is in the sitewwwroot
from the .NET publish.
What is the correct path I should be using?
.net-core azure-devops
I'm not sure what happened or if something got cached, but this actually works now, usingsitewwwrootclientdist
, but the initial loading of the app takes 10-20 seconds for some reason (nothing jumps out in the dev tools either).
– JB1
Mar 24 at 13:08
add a comment |
I've set up a .NET core identity React app. Using the DevOps Project set up, I was able to successfully deploy the app. The default physical path points to sitewwwroot
, but that loads my site with a 502 error. When I change this to point to the client-side React app (sitewwwrootclientdist
), it loads. However, none of my .NET routes are working.
Default documents include the basics as well as hostingstart.html
, which is in the sitewwwroot
from the .NET publish.
What is the correct path I should be using?
.net-core azure-devops
I've set up a .NET core identity React app. Using the DevOps Project set up, I was able to successfully deploy the app. The default physical path points to sitewwwroot
, but that loads my site with a 502 error. When I change this to point to the client-side React app (sitewwwrootclientdist
), it loads. However, none of my .NET routes are working.
Default documents include the basics as well as hostingstart.html
, which is in the sitewwwroot
from the .NET publish.
What is the correct path I should be using?
.net-core azure-devops
.net-core azure-devops
asked Mar 24 at 11:46
JB1JB1
113
113
I'm not sure what happened or if something got cached, but this actually works now, usingsitewwwrootclientdist
, but the initial loading of the app takes 10-20 seconds for some reason (nothing jumps out in the dev tools either).
– JB1
Mar 24 at 13:08
add a comment |
I'm not sure what happened or if something got cached, but this actually works now, usingsitewwwrootclientdist
, but the initial loading of the app takes 10-20 seconds for some reason (nothing jumps out in the dev tools either).
– JB1
Mar 24 at 13:08
I'm not sure what happened or if something got cached, but this actually works now, using
sitewwwrootclientdist
, but the initial loading of the app takes 10-20 seconds for some reason (nothing jumps out in the dev tools either).– JB1
Mar 24 at 13:08
I'm not sure what happened or if something got cached, but this actually works now, using
sitewwwrootclientdist
, but the initial loading of the app takes 10-20 seconds for some reason (nothing jumps out in the dev tools either).– JB1
Mar 24 at 13:08
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55323456%2fwhat-is-the-correct-physical-path-to-use-for-a-net-core-spa-app%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55323456%2fwhat-is-the-correct-physical-path-to-use-for-a-net-core-spa-app%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I'm not sure what happened or if something got cached, but this actually works now, using
sitewwwrootclientdist
, but the initial loading of the app takes 10-20 seconds for some reason (nothing jumps out in the dev tools either).– JB1
Mar 24 at 13:08