Created
February 25, 2016 19:05
-
-
Save womd/b6278003caf6399f18ad to your computer and use it in GitHub Desktop.
accept subdomain routes in asp mvc 5,6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| summary: | |
| goal is to accept routes for subdomains and return some specific stuff from db | |
| e.g: | |
| glossar.xyz.de -> lexikon.hepf.com/Service/getGlossar/(service_guid) | |
| where service_guid is query's from db because of some entry indicating glossar.xyz.de is from that service-guid | |
| start: | |
| http://stackoverflow.com/questions/278668/is-it-possible-to-make-an-asp-net-mvc-route-based-on-a-subdomain | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment