Solved

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

Posted on 2004-03-22
1
696 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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