Re: Codebehind -> Src?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tampa.NET Koder (anonymous_at_microsoft.com)
Date: 03/01/05


Date: Tue, 1 Mar 2005 07:32:01 -0500

What you need to ask yourself is What is your development envorinment? If
its VS then leverage the tool. The Codebehind attribute is specific to VS
only. ASP.NET ignores this at runtime. You can use the src attribute; but
then you are telling VS that you dont want to have your pages pre-compiled.

 If its Visual Notepad, then the SRC attribute might be a little better.
Your pages are not going to be pre-compiled, so you might as well let the
.net framework compile it at runtime.
"Krunom Ancini" <krunom@hotmail.com> wrote in message
news:38ivstF5mpbbrU1@individual.net...
> Hi,
>
> im just the beginner and im using c#-codebehind in my
> asp.net-application....
> What should i do to make my application work "without" code-behind
> (without dll.-s in bin-folder)?
>
> I was googling something about Src instead of Codebehind (in @page
> directive) but i dont know where to start...
>
> Please help,
>
> thanks in advance,
>
> Krunom.
>



Relevant Pages