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;








0















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?










share|improve this question






















  • 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

















0















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?










share|improve this question






















  • 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













0












0








0








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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, 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
















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












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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript