Base solution for your next web application

Activities of "optixdev"

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>

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

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

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

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.

(Angular + ASP CORE) (Multi tenant application) Seprate solution

I have added new menu item from the link below but it showing on both Admin and Tenant application, but I only want to show it on Tenanat side not on Admin side.

https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Developing-Step-By-Step-Angular-Adding-New-Menu-Item

Also, how menu can works as a single item (tab - on click it should be navigate) because i am having only one item and it showing it as a child item (so I have to click it twice to navigate page).

Question

ngOnInit() not working on navigating to another pages but its workingon hard reload.

how to get TenantID and Login UserID on Angular + .net core

How to get TenantId and login UserId on Angular side?

I am using Angular + .Net Core

My Screen goes blank and url navigate to "http://localhost:4200/" when I tried to add Form> tag on newly created page (Angular + .Net Core)

Showing 1 to 10 of 25 entries