You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,7 @@ Onion inspired architecture. Loose coupling and clean separation of concern.
6
6
### UI.Project1
7
7
This project is located under the WebFormMVC web form project to allow access to the /MVC/UI.Project1/Views/.
8
8
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