Click here to Skip to main content
15,886,199 members
Articles / Web Development / IIS

BooProd.Core - Context sensitive URL

Rate me:
Please Sign up or sign in to vote.
3.80/5 (3 votes)
22 Dec 20047 min read 47.6K   214   22  
Helps you create context sensitive dynamic URLs: dynamically computed URLs, depending on which server the page is generated on.
<?xml version="1.0" encoding="utf-8" ?>
<!--	v1.2 / 2004-11-19 / CB => In ExeDBList.ExeDB, because of confusion and difficulties to create precise connection string
																	I changed my simple connection desctiption with a full ConnectionString
			v1.1 / 2004-11-15 / CB => Creation 
-->
<BooProd.Core.ExeContext>
	<ExeConfig>
		<version>1.2</version>
		<!--	local_ip: Substring representing hosts IP considered as local
					ie: 10.1.1. represents all hosts from 10.1.1.1 to 10.1.1.255
					ie: 10.1 represents all hosts from 10.1.1.1 to 10.1.255.255
		-->
		<local_ip>10.1.</local_ip>
	</ExeConfig>
	<ExeDBList>
		<ExeDB>
			<alias>BOOPROD</alias>
			<!--	ConnectionString: See SqlConnection.ConnectionString Property in VS documentation for more information
						data source=			The name or network address of the instance of SQL Server to which to connect
						initial catalog=	The name of the database.
						user id=					The SQL Server login account
						password=					The password for the SQL Server account logging on 
			-->
			<local><ConnectionString>data source=10.1.5.5,1136;initial catalog=BOOPROD_PROJECT;user id=boologin;password=boopwd;persist security info=True</ConnectionString></local>
			<prod><ConnectionString/></prod>
		</ExeDB>
	</ExeDBList>
	<ExeWebSiteList>
		<ExeWebSite>
			<alias>CODEPROJECT</alias>
			<local><url>http://localhost/BooProd.Core.TestDynURL</url></local>
			<prod><url>http://www.code-project.com</url></prod>
		</ExeWebSite>
	</ExeWebSiteList>
</BooProd.Core.ExeContext>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
France France
I work on a leading European telecom provider regarding on-line real time account management for B2B and B2C customers. Before this position, I worked in one of the leading European council providers of economic forecasts analyses.

I jump into software development in 1985 and never stop! I work with a lot of systems like Apple, NeXT, Unix, Windows. I develop with a lot of languages like Assembler, Pascal, C, C++, Java and C#. I play with databases like Oracle and SQL Server. I love networks and like to make systems working and cooperate themselves.

I'm very interested in MAS: Multi Agent System and really hope that computer will be human in the future. I work on BDI architecture extensions on this purpose, but this is the project of my life!

Comments and Discussions