Results 1 to 4 of 4

Thread: Disabling CodeBehind in VS.Net or enabling intellisense in Web Matrix?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    241

    Disabling CodeBehind in VS.Net or enabling intellisense in Web Matrix?

    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.

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    241
    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.

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    then dont double click the control.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width