Click here to Skip to main content
15,906,329 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi ,

I have a question that suppose i have a asp.net application running in 5 different countries like US , India , china , Japan , Europe

Now my question is suppose i have added new thing for the china any property for example GOLD anything now this thing should be only for the CHINA market and not for the rest of the countries then how should how should or what thing will i implement for this that it should work in the CHINA and not for the other market or countries .
Posted

Hi friend,

It is simple. While u add each property, u should add the nation (country) along with the property. So that u can limit the service to certain region only.

with regards,

Sunil
 
Share this answer
 
Comments
lalitkr 7-Sep-13 14:25pm    
Any other thing we can use i do not want to use or add the nation
You can get the country name using IP address. And based on the detected country serve the pages. See this link.

http://ipaddressextensions.codeplex.com/[^]

Regards..:)
 
Share this answer
 
Comments
lalitkr 7-Sep-13 14:32pm    
For example now in future now same thing or property i want to implement in the India and US market then still i use the concept of the country , I want something that that property would be disable for all other country except China and in future as per requirement we can enable same property for China or japan or India if needed

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900