Syntax Highlighting / Code Completion for non-compiled apps

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BLiTZWiNG

    Syntax Highlighting / Code Completion for non-compiled apps

    I am currently creating a compile on demand asp.net application because I need to query a database and return only an xml string using Response.Write, but visual studio wont colour or give me intellisense in a .aspx file that doesn't have code behind

    I assume there is no way to make it do that, but I would like to know for sure. The documentation for asp.net shows how to make compile on demand apps but it appears that visual studio doesn't cater for people who write this kind of code

    Am I correct? If not, how do I do it?
  • Martin Dechev

    #2
    Re: Syntax Highlighting / Code Completion for non-compiled apps

    When you are writing code Intellisense is not supported for what is called
    Single-File Web Forms Pages. See:

    Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


    Greetings
    Martin
    "BLiTZWiNG" <anonymous@disc ussions.microso ft.com> wrote in message
    news:53E4E221-EE7B-48D8-849D-6BC054760F01@mi crosoft.com...[color=blue]
    > I am currently creating a compile on demand asp.net application because I[/color]
    need to query a database and return only an xml string using Response.Write,
    but visual studio wont colour or give me intellisense in a .aspx file that
    doesn't have code behind.[color=blue]
    >
    > I assume there is no way to make it do that, but I would like to know for[/color]
    sure. The documentation for asp.net shows how to make compile on demand apps
    but it appears that visual studio doesn't cater for people who write this
    kind of code.[color=blue]
    >
    > Am I correct? If not, how do I do it?[/color]


    Comment

    • Patrice

      #3
      Re: Syntax Highlighting / Code Completion for non-compiled apps

      Additionaly note that you can use code behind and response.write. Just
      delete the whole HTML code (and not the directive).

      Patrice

      "BLiTZWiNG" <anonymous@disc ussions.microso ft.com> a écrit dans le message de
      news:53E4E221-EE7B-48D8-849D-6BC054760F01@mi crosoft.com...[color=blue]
      > I am currently creating a compile on demand asp.net application because I[/color]
      need to query a database and return only an xml string using Response.Write,
      but visual studio wont colour or give me intellisense in a .aspx file that
      doesn't have code behind.[color=blue]
      >
      > I assume there is no way to make it do that, but I would like to know for[/color]
      sure. The documentation for asp.net shows how to make compile on demand apps
      but it appears that visual studio doesn't cater for people who write this
      kind of code.[color=blue]
      >
      > Am I correct? If not, how do I do it?[/color]


      Comment

      • BLiTZWiNG

        #4
        Re: Syntax Highlighting / Code Completion for non-compiled apps

        Ooh thanks Patrice, I will give that a shot. Thanks to Martin for the link too.

        Comment

        Working...