Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-03-22
1
Medium Priority
?
714 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 200 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
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…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

916 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