Question

King Beowolf on Mon, 09 Apr 2012 17:59:39


hi,

I designed a website in asp.net in which i used the tables to align my content to the conter besides that i also used some background images also. I ran this asp project in azure emulator as described here:

http://stackoverflow.com/questions/2303401/i-need-a-walkthrough-or-steps-of-how-to-deploy-asp-net-website-on-windows-azure

It ran absolutely well but when i deployed this solution on azure to my amazement the whole alignment that i did using the tables was lost and also the images are also not visible ???

Can any one help us out ???

Beowolf


Sponsored



Replies

King Beowolf on Tue, 10 Apr 2012 01:55:35


hi,

my web application after deployment on the azure is not taking the css files.

I created a asp .net application and created the azure web roles as described here:

http://stackoverflow.com/questions/2303401/i-need-a-walkthrough-or-steps-of-how-to-deploy-asp-net-website-on-windows-azure

in my asp .net application folder i created the seperate folder for my css files and then in my code i imported them as:

<link rel="stylesheet" type="text/css" href="css/demo.css" />

when i am running this azure web role i created it runs fine in emulator but on deploying it on azure platrorm i doesn't work ??

Any help on this issue ???



































MingXu-MSFT on Tue, 10 Apr 2012 14:09:18


Hi,

I would like to suggest you to make sure you have all required images and css files included in the package. Moreover, please check if their Build Action is set to Content.

Best Regards,

Ming Xu.

Vaibhav Gujral on Thu, 12 Apr 2012 08:51:34


Hi,

If it doesn't works even after setting them as content, try setting copylocal = true for all the required files.