Withhelds
Withhelds

Reputation: 187

is it possible to edit published visual studio asp.net website?

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.

Upvotes: 3

Views: 3543

Answers (3)

iak
iak

Reputation: 1

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

Upvotes: 0

Steven Doggart
Steven Doggart

Reputation: 43743

The dll's are just the compiled assemblies of your source code. You can manually update any of the dll's that are updated without going through the whole publishing process again. 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.

Upvotes: 0

Ashwin Singh
Ashwin Singh

Reputation: 7355

Download all the files from the server and use something like a reflector to get the source code from the binary/bin folder.

And for future always use a source control, I use dropbox.

Upvotes: 0

Related Questions