Skip to content

Commit 47cf002

Browse files
authored
Small adjustments based on peer feedback.
1 parent 2f6367b commit 47cf002

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/Development-Guide-Angular.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ API:
130130
The purpose of **appBaseUrl** is to enable the Angular client to decompose
131131
the browser address into tenant-name + base-url.
132132

133-
#### Subdomain Multi-Tenancy:
133+
#### Subdomain Multi-Tenancy
134+
134135
If we want to use the tenancy name as a subdomain for a multi-tenant
135136
application then we can define **appBaseUrl** as
136137

@@ -140,11 +141,11 @@ http://**{TENANCY\_NAME}**.mydomain.com
140141
must be similarly configured for **remoteServiceBaseUrl**.
141142

142143
It's important to understand that subdomain multi-tenancy is a function
143-
of the `DomainTenantResolveContributor` ***server-side*** module.
144+
of the `DomainTenantResolveContributor` server-side class.
144145
This means that the server API **must** be accessed via a sub-domain that
145146
conforms to the format you have defined during your configuration of
146147
AspNetBoilerplate (see
147-
[these notes](https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/doc/WebSite/Multi-Tenancy.md#determining-current-tenant) regarding preinitialization).
148+
[Multi-Tenancy](https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/doc/WebSite/Multi-Tenancy.md#determining-current-tenant) regarding preinitialization).
148149

149150
<img src="images/angular2-core-subdomain-tenant-resolution-sequence.png" alt="Angular ASP.NET Core Sub-Domain Tenancy Overview" class="img-thumbnail" width="540" height="379" />
150151

@@ -154,8 +155,8 @@ infrastructural configurations:
154155
1. We should configure DNS to redirect all subdomains to a static IP
155156
address. To declare 'all subdomains', we can use wildcard like
156157
**\*.mydomain.com**. Note that if you have a split Angular/API
157-
setup, then you will need 2 subdomain formats, such as:
158-
**\*.app.mydomain.com** and **\*.api.mydomain.com**
158+
setup, then you will need 2 subdomain formats, such as
159+
**\*.app.mydomain.com** and **\*.api.mydomain.com**.
159160
2. We should configure IIS to bind this static IP to our application.
160161

161162
There may be other ways of doing it but this is the most simple way.

0 commit comments

Comments
 (0)