Syntax Highlighting / Code Completion for non-compiled apps

G

Guest

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?
 
M

Martin Dechev

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

http://msdn.microsoft.com/library/en-us/vbcon/html/vbconWebFormsCodeModel.asp

Greetings
Martin
BLiTZWiNG said:
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.
 
P

Patrice

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

Patrice

BLiTZWiNG said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top