asp.net mvc - can we set up mvc project as a virtual directory instead of an applicaiton -
is possible set mvc project virtual directory in iis under application rather hosting applicaiton itself? want host multiple mvc projects virtual directories inside application. please dont ask me why have in way. have . tried it, see contents of mvc folder being displayed. highly appreciated.
thanks
you can creating site. in iis7, right click on site , add application, creates virtual directory in site behave application.
the virtual directory application answer on whatever site bound , path.
ie. site called mysite bound mydomain.com, directory site pointed contains folder called images.
we add application alias mysubapp
you can call new application http://mydomain.com/mysubapp
however, http://mydomain.com/images go sites subfolder.
hope helps
Comments
Post a Comment