是否可以编辑发布的Visual Studio asp.net网站? [英] is it possible to edit published visual studio asp.net website?

查看:58
本文介绍了是否可以编辑发布的Visual Studio asp.net网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Visual Studio发布了一个asp.net网站.但是,我希望对网页进行更改,但发现发布的站点仅具有.aspx扩展名文件,而.vb文件中没有类似于开发的代码后方.

I have published a asp.net website using visual studio. However, I wish to make changes to a web page but I found out that the published site only have .aspx extension files and there is no code-behind .vb file which is like development.

我有什么方法可以编辑而无需重新发布?或者我可以将发布的网站转换回原始版本,因为我没有发布文件的任何备份.

Is there any way for me to edit without republish again? Or can I convert the published website back to original as I do not have any backup for the published files.

推荐答案

您可以更改

<%@ page language="VB" autoeventwireup="false" inherits="test, App_Web_olnjngph" culture="bg-BG" uiculture="bg-BG" %>

使用

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test"  Culture="bg-BG" UICulture="bg-BG" %>

,然后在文件 test.aspx.vb

and edit source code after that inside file test.aspx.vb

这篇关于是否可以编辑发布的Visual Studio asp.net网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆