Deployed azure virtual application webrole not compiled -
i have spent last couple of days getting application deployed auze. looking have gotten stuck on issue virtual applications.
within servicedefinition file have
<sites> <site name="web" physicaldirectory="d:\@code\web"> <virtualapplication name="api" physicaldirectory="d:\@code\api"></virtualapplication> <bindings> <binding name="endpoint1" endpointname="endpoint1" /> <binding name="endpoint2" endpointname="https" /> </bindings> </site> </sites>
both applications deployed , virtual appliction created can't api application run. rdp onto server , took around. api project isn't being compiled, of .cs files in root of siteroot > 1
is there step need fix this?
any assistance awesome.
only webrole project (..site name='web'...
) "compiled".
all rest of sites define, including virtual applications copied. need point physicaldirectory
locally deployed/compiled app folder. can example create publish profile api project deploys local file system. specify target folder of deployment physicaldirectory
in virtualapplication
definition.
there documentation here. not explicitly mentioned works out of box website projects , not web application projects! work website project out of box, because deployment model website project xcopy deployment
.
apparently there few people website projects nowadays. of web application projects. so, in case of web application must not point physicaldirectory
project folder, rather deployment folder project.
if confused - here official documentation on web application projects versus web site projects.
Comments
Post a Comment