Example of domain name references in c

  • 2020-12-19 20:57:43
  • OfStack

As defined in WebConfig.
 
public class WebConfig 
{ 
public static string ResourceServer = @"http://www.xxx.com/"; } 

This is called in the foreground page
 
<script src="<% =WebConfig.ResourceServer %>/js/jquery-ui-all-min-lastest.js" 
type="text/javascript"></script> 
<link rel="stylesheet" type="text/css" href="<%=WebConfig.ResourceServer +"/css/style.css"%>" /> 

Related articles: