Asp.net Azure WebApp publish Website but no Picture - asp.net

I published my azure website (asp.net with c# controller) as a WebApp but when I call the website there are no picture.
If I deploy the website on LocalHost I can see the picture.
<img class="img-responsive" style="height:90%;width:90%" src="../Content/images/test.png" />
I also tried to change the path to:
src="~/Content/images/test.png" /
src="/Content/images/test.png" /
But after uploading the webapp I cannot see any picture.
In other question I read that I have to use Azure Blob Storage. But I just have a few (ca. 5 picture) on my website. Maybe there is a simpler way?
Or is it possible to upload the file and create the image folder in the azure portal?

i think its because the images folder is not created after publishing. just drag and drop a file in to this folder in your visual studio. then publish the images will appear. having a file in the folder tells visual studio that this folder needs to be published

Right click on image folder of the project and Include in project did the trick for me, earlier it was excluded from the project.

Related

SSRS not displaying external image with parameter source in asp.net remote Report

I have asp.net application in framework 4.0. i have created one image folder in my project, images are added in that folder. and i have SSRS report deployed on same server.i am using external image source but images from the reports are not displayed. can anybody help to resolve this?
SSRS report is looking for Image folder which is available in virtual directory where SSRS reports have deployed or configured. Create Image Folder in that directory and put your images there.

Azure deployment not showing view properly

After uploading my website off visual studio using Azure deployment, my site only shows what looks like my Shared Layout and not my views.
http://ideagendocument.azurewebsites.net/Account/Login
In my local deployment, it shows the login screen as it should. Why would it not be picking up any of my views or css?
Most likely, the reason is that these files are not included in the project.
Can you unload a project and then click "Edit project" and see if references are there?

Working with .asp and .aspx pages

This may be the wrong place but this is new to me. I did some ASP.NET programming in VS.NET awhile ago and I always did debug in the menu to run and test the site and I always noticed that it compiled ... now I have someone having asking me to work on their ASP.NET website and my question is (new to this type of hosting) do I just edit the files and then upload them via FTP or do I have to ask the host to do a compile or something?
I'm assuming you have developed a project in Visual Studio.
If this is a Web Site and not a Web Application:
Right click the project (not the solution) in the Solution Explorer.
Click "Publish Web Site"
Set the local location of where you want the Web Site published to.
Take the local copy and upload it to your web root of your hosting provider
If this is a Web Application, check to see if the hosting provider has a .axd service extension for "One-Click Publishing". If the provider does not have this feature:
Right click the project (not the solution) in the Solution Explorer.
Click "Publish..."
Change the Publish method to "File System"
Set the Target Location and click Publish
Take the local copy and upload it to your web root of your hosting provider
With Web Applications you also have the ability to upload via FTP, which if you have all of the FTP information at hand it should be easy enough.

Enable downloading from my web site

I have a web site application and i need my web site to allow user to download a setup file from my web site how can i do this ?
I Asp.net2.0 _ C#.
Place the file somewhere within your website and make a link to it:
Click here to download
If a simple links does not work, please update your question with a description of the problem you are facing. You might have to configure your web server to serve files of type MSI or EXE (whatever your installer is packaged as).

why did asp.net just delete my entire php code directory?

Everything was working just fine and on the last publish my wordpress directory is now gone.
I don't have a folder with the same name in the project/solution. I've been using visual studio for over 2 years but not doing webpages with it.
If you deploy your web site / application on a existing virtual directory, it ask you if you want to delete the existing content in it. I think you missed that check while deploying your application.

Resources