Godaddy not decoding aspx file - asp.net

I try to use C# to create a web page, and I use the visual studio as my editor. My web host is godaddy and I use the FTP in visual studio to upload all testing files successfully. When I browsing my testing site it's only shows me the original code I typed in the Visual studio. Can someone help me about that? Thanks very much.
[ This is live web result. ][1]
Here is the files I successfully uploaded to my host

Related

Error publishing ASP.NET project with cpanel

I have created a simple asp.net project. I want to publish this project.But when I want to publish the project with visual studio, there is no index.html in the generated files. That's why I see a page like in the picture.
My internet site
My cPanel
There is probably a very simple solution but I couldn't find it anywhere. What should I do. I would be glad if you could help.
Am not sure you can host asp net website on cpanel. If am not mistaken cpanel is for linux platform, and Asp Net runs on Windows platform only.

How to run asp.net webpage on the localhost

I am just learning asp.net and have created a simple webform on visual studio. How I can run this on the localhost(xampp). Like HTML you simply put files to the server folder and it works. But when I copy all asp files it simply shows me source code?
It is stupid question but I really need answer...
ASP (ActiveX Server Pages) is a deprecated technology (superseded by ASP.NET). Thus support is not included as standard in IIS. But it can be added by using Server Manager under Roles | Web Server (IIS) and scrolling down to Role Services.
If you however mean ASP.NET then, initially, look at the Web tab of the project properties and start in VS for debug and test. Once that is working you'll need to read up on deploying ASP.NET on MSDN.
To host a ASP.Net page you usually use IIS. You are supposed to run IIS on your server and host the ASP.NET website on the IIS Management
This Article on MSDN should help you with that.
Also, you usually use visual studio to 'Publish' to the server folder, rather then copy and paste the files. In case you didn't do this: this is done by right-clicking the project in visual studio and selecting 'Publish'. Then there are a few options, you can publish to a folder (File System) and then move the published project to your server, or publish it straight to your server.

publishing ASP.NET MVC website

My ASP.NET(MVC) application .. i need to publish it
i tried with FIlezilla. What i did was i published the code to my local machine in Folder and uploaded all the files in below URL but gave server application error
http://justpassapp.azurewebsites.net/admin/
This is the FTP URL
I tried FTP publish ..Entered Credentials and i published the site but it says-You do not have permission to view this directory or page.
any help please?
Use the publishing settings in your Visual studio. Use the "Microsoft Web Deploy"-package provided to you by the Web Platform Installer to zip your solution and import the zipped solution by using the IIS on Azure.
Have a look at the following references:
Packaging of the project:
http://msdn.microsoft.com/en-us/library/dd465323(v=vs.110).aspx
Importing of the package
http://www.iis.net/learn/publish/using-web-deploy/import-a-package-through-iis-manager
You can also define a web deploy in your visual studio

Strange LocalHost Behaviour for ASP.NET 4.0 site

I have a folder MyWebSite. I open it in Visual Studio 2010 and browse using the local webserver. It runs fine.
Now when I create a copy of the folder, open the website in Visual Studio and try to run it from there, it says:
This page can't be displayed. Make sure the web address http://localhost:21926 is correct.
What seems to be the problem?
Create a separate application pool and virtual directory for each. Your original site name is tied to a particular port because you are using the built-in server. Better to develop against IIS.
Please make sure you close Visual Studio and the instance of the ASP.Net Development server before you re-launch visual studio with the other folder.
In case you are trying to run both instances together, you might get such as error.
You could also try clearing the ASP.Net temporary folders and see if that solves the problem.

How do I create an offline version of my Website?

Is there a way to generate offline version of the whole Website?
All my pages are in ASPX and uploaded onto the server. When I run a demo of my site, sometimes there are no Internet availability. So it would be great to actually have the site offline but not running Visual Studio in order to show the site.
Anyone has a way to do this?
Thank you.
If you just need to run the site locally on your machine, you can just configure the project in visual studio to run using IIS (Right click on project, go to web and select to use the local IIS server).
You can then access it using http://localhost/
if you don't have IIS installed, there is an IIS express version that you can use:
http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx
You can install Microsoft IIS onto your system, and copy your site files into the "wwwhttpdocs" folder in the IIS Directory.
then you can request your site in any web browser like this example:
http://localhost:48719(somePort)/YourSiteName(SiteFolderName)/default.aspx
if you are running on Windows, you can install MS IIS from the control panel as a windows component

Resources