开发者

Why my uploaded pages are not shown on the browsers?

开发者 https://www.devze.com 2023-03-14 05:39 出处:网络
I create a web site via Visual Studio Web Developer. The exension of files are.aspx. I had al开发者_如何学编程so uploaded those files to the hosting server by filezilla client. bt I can\'t show my pa

I create a web site via Visual Studio Web Developer. The exension of files are .aspx. I had al开发者_如何学编程so uploaded those files to the hosting server by filezilla client. bt I can't show my pages on the net. Why? If I write, ../default.aspx, then I meet empty white page include NOTHING. When I see it on m local computer, there is no any prolem. Please reply to me as fast as you can. Best regards, Veli


You will need to "publish" the site using the features in visual studio. This will compile all of your code into the appropriate dll which u will need to upload along with the aspx files


This depends on whether you app is a web site project, or a web application. If it's a web application you'll have to build the site and publish it to your web host. If it's a web site project, you can simply copy the markup and the corresponding code-behinds up.

For more information regarding web deployment of asp.net projects you need to watch the "Web Deployment" section here. It probably will answer many questions you might have regarding this.

Building Applications with ASP.NET 4 WebForms

0

精彩评论

暂无评论...
验证码 换一张
取 消