[英]is it possible to edit published visual studio asp.net website?
I have published a asp.net website using visual studio. 我使用visual studio发布了一个asp.net网站。 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.
但是,我希望对网页进行更改,但我发现发布的网站只有.aspx扩展名文件,并且没有代码隐藏的.vb文件,就像开发一样。
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.
或者我可以将发布的网站转换回原始网站,因为我没有对已发布文件的任何备份。
The dll's are just the compiled assemblies of your source code. dll只是源代码的已编译程序集。 You can manually update any of the dll's that are updated without going through the whole publishing process again.
您可以手动更新任何已更新的dll,而无需再次完成整个发布过程。 You may need to make a minor change to your web config file after updating the dlls so as to trigger IIS to reload the latest dlls.
更新dll后,您可能需要对Web配置文件进行一些小的更改,以便触发IIS重新加载最新的dll。
you can change 你可以改变
<%@ page language="VB" autoeventwireup="false" inherits="test, App_Web_olnjngph" culture="bg-BG" uiculture="bg-BG" %>
with 同
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" Culture="bg-BG" UICulture="bg-BG" %>
and edit source code after that inside file test.aspx.vb
并在内部文件
test.aspx.vb
之后编辑源代码
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.