ASP.NET CORE + ANGULAR (SEPRATE SOLUTION)
Trying to upload ASP.NET CORE
2020-02-06T18:49:06.2498552Z ##[section]Starting: Deploy Azure App Service 2020-02-06T18:49:06.2619618Z ============================================================================== 2020-02-06T18:49:06.2619744Z Task : Azure App Service deploy 2020-02-06T18:49:06.2619834Z Description : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby 2020-02-06T18:49:06.2619943Z Version : 4.163.2 2020-02-06T18:49:06.2620009Z Author : Microsoft Corporation 2020-02-06T18:49:06.2620081Z Help : https://aka.ms/azureappservicetroubleshooting 2020-02-06T18:49:06.2620176Z ============================================================================== 2020-02-06T18:49:06.9285815Z ##[error]Error: More than one package matched with specified pattern: d:\a\r1\a***.zip. Please restrain the search pattern. 2020-02-06T18:49:06.9333823Z ##[section]Finishing: Deploy Azure App Service
[error]Error: More than one package matched with specified pattern: d:\a\r1\a***.zip. Please restrain the search pattern.
I am getting the below error when I reload or refresh the page:
The requested content does not exist. HttpStatusCode: 404 ErrorCode: WebContentNotFound RequestId : 5335aa22-d01e-002e-0c2b-dc892d000000 TimeStamp : 2020-02-05T13:51:12.4299587Z
Website is running but on refresh I am getting this error.
The request URI is invalid. HttpStatusCode: 400 ErrorCode: InvalidUri RequestId : 81178089-a01e-0046-2f16-dcefbd000000 TimeStamp : 2020-02-05T11:24:29.1785822Z
Website is running but on refresh I am getting this error.
The request URI is invalid. HttpStatusCode: 400 ErrorCode: InvalidUri RequestId : 81178089-a01e-0046-2f16-dcefbd000000 TimeStamp : 2020-02-05T11:24:29.1785822Z
How to fix this?
main.2ad1e9e0e64faafe47b6.js:1 ERROR SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at XMLHttpRequest.o.onreadystatechange [as _zone_symbol__ON_PROPERTYreadystatechange] (main.2ad1e9e0e64faafe47b6.js:1) at XMLHttpRequest. (polyfills.ff5db258a5fdbd0d317c.js:1) at t.invokeTask (polyfills.ff5db258a5fdbd0d317c.js:1) at Object.onInvokeTask (main.2ad1e9e0e64faafe47b6.js:1) at t.invokeTask (polyfills.ff5db258a5fdbd0d317c.js:1) at e.runTask (polyfills.ff5db258a5fdbd0d317c.js:1) at e.invokeTask [as invoke] (polyfills.ff5db258a5fdbd0d317c.js:1) at p (polyfills.ff5db258a5fdbd0d317c.js:1) at XMLHttpRequest.h (polyfills.ff5db258a5fdbd0d317c.js:1) Ei @ main.2ad1e9e0e64faafe47b6.js:1
I followed exactly same steps from - https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-Azure
API is running with swagger but Angular is displaying blank page.
<!doctype html>
<html lang="en" dir="ltr">
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<title>dan</title>
<base href="/">
<meta property="og:title" content="dan" />
<meta property="og:image" content="" />
<meta property="og:description" content="Base solution for your next web application" />
<meta property="og:url" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="">
<meta name="description" content="">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles.fdf0b8e2255f1f6e49a205.css"></head>
<body>
<app-root></app-root>
<script src="runtime.d7b1cf525c1f16f4100b99.js" defer></script><script src="polyfills-es5.e1535fd9be30ff843454f.js" nomodule defer></script><script src="polyfills.ff5db258a5fdbd0d317c.js" defer></script><script src="scripts.9c63503c410b294b9980.js" defer></script><script src="main.2ad1ef9e0e64faafe47b6.js" defer></script></body>
</html>