Solved

Making changes to codebehind .aspx.vb files without recompiling?

Posted on 2004-03-22
1
689 Views
Last Modified: 2012-06-22
Do I always need to recompile the codebehind files when developing a website?  Sometimes it's convenient for me to change the codebehind file from a text editor without the Visual Studio environment.

Is there a way to have my pages skip the loading of the compiled DLL files and ONLY use the codebehind file? At least until I'm satisfied and compile the code?

Here is how my page calls the required libraries:

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="fishstore.aspx.vb" Inherits="FishSite.fishstore"%>

Thank you.
0
Comment
Question by:vancetech
1 Comment
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 50 total points
ID: 10653147
If you change the code, then YES you will need to recompile the Code-behind, to re-build the DLL for the site.

The ASP.NET does NOT know anything about VB.NET, or any other .NET language, directly.  The only thing that it deals with is the compiled DLL for the site.

the @Page directive that you are refering to is for the Complier's purposes, and that NEVER gets to the ASPX page that is processed by the ASP.NET processor within IIS.

AW
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Getfiles in vb.net 28 43
Problem to error 4 45
Resolve Dependency Issues 4 47
What .NET URL re-routing tool did I use? 2 37
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now