Solved

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

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# Single Form 8 42
Entity Framework 7 43
VB.NET (2008) - Refactoring Question 2 21
Adding Existing Item to vb.net Project causes Errors 4 32
IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

773 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