Skip to content

Commit 8b20dce

Browse files
authored
Update README.md
1 parent b23d461 commit 8b20dce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ Onion inspired architecture. Loose coupling and clean separation of concern.
66
### UI.Project1
77
This project is located under the WebFormMVC web form project to allow access to the /MVC/UI.Project1/Views/.
88
The WebFormMVC project isolates the root folder structure access only to files and folders underneath it.
9-
In the Global.asax code, the Razor engine is set to allow searching for Views *.cshtml files through /MVC/UI.Project1/Views/.
9+
In the Global.asax code, the Razor engine is set to allow searching for Views *.cshtml files through /MVC/UI.Project1/Views/.
10+
11+
### REST API
12+
The RestApi [appsettings.json](https://github.com/hhalim/WebFormMVC/blob/master/RestApi/appsettings.json) requires the correct url for CORS operation set, which is already set by default to http://localhost, http://localhost:52595. The UI layer uses direct JavaScript calls into the web api, this cross domain call needs the correct url in the settings file. If this is incorrect, the CORS initial OPTION preflight call will fail.

0 commit comments

Comments
 (0)