VS2017 IIS Express - 多租户站点本地调试

multi-tenancy (subdomain) site local debug with IIS Express (VS2017):

1. add your local domain in Windows host file like below

127.0.0.1      domainlocal.cn
127.0.0.1      a.domainlocal.cn
127.0.0.1      b.domainlocal.cn

2. .vs/host/applicationhost.config under solution dir


                
                    
                
                
                    
                    
                    
                    
                
            




你可能感兴趣的:(.NET)