Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...


How to run MoreStores using visual studio in debug mode

i want to run morestore project in debug for their resceptive URL.

it is always run default store only i could not load store 2 pages.

store 1:http://localhost:53617/

store 2: ?????what will be the second URL or how to set  it



asked Oct 11, 2016 in MultiStore by benjaminw (255 points)

1 Answer

0 votes

You'll need to use IIS for that.  I'm not aware of any good way to do it with IISExpress.

Modify your hosts.config file to point the domains you want to test for at your local machine, and make sure that the matching URLs are set up in the store's admin under Configuration -> Manage Stores.  Then just browse to the URLs you want to test, and IIS will route them to your local ASPDNSF install, which will look at the URL the request is for and decide which store to serve up.  Then you can set breakpoints, attach to the process, and debug as usual.

answered Oct 11, 2016 by Vortx ScottS (13,500 points)