VBForums >
.NET >
ASP.NET > Disabling CodeBehind in VS.Net or enabling intellisense in Web Matrix?
Click to See Complete Forum and Search --> : Disabling CodeBehind in VS.Net or enabling intellisense in Web Matrix?
WiKiDJeFF
May 16th, 2003, 04:06 PM
I like how web matrix puts all of the code in one .aspx file, but I dont like how it doesnt have intellisense. I was wondering if there was a third party tool that would act as intellisense in Web Matrix or if I could disable codebehind in VS.Net so it would put all of the code in one .aspx file like Web Matrix.
hellswraith
May 16th, 2003, 04:16 PM
You don't need to do code behind in VS.net if you don't want to, but I have to ask...why wouldn't you?
Code behind pages should run faster because they are compiled. Unless I am missing something, the aspx pages you create with the code in them have to be interpreted/parsed and ran each time your page is accessed.
Anyway, you can put the code inside the page just like you would in the web matrix. No need to create a code behind page if you don't want to.
WiKiDJeFF
May 16th, 2003, 04:55 PM
Ye I know I can put the code in the .aspx file, but if I add a control in design view and then double click it it will add code in the codebehind part.
The reason I don't always want to use codebehind is because most free asp.net web hosts dont allow u to use it. Right now I am using brinkster a lot which does not allow codebehind in their free package.
Cander
May 19th, 2003, 08:34 AM
then dont double click the control.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.