Solved

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

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
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:…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

11 Experts available now in Live!

Get 1:1 Help Now