473,773 Members | 2,286 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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?
Nov 18 '05 #1
3 1410
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...sCodeModel.asp

Greetings
Martin
"BLiTZWiNG" <an*******@disc ussions.microso ft.com> wrote in message
news:53******** *************** ***********@mic rosoft.com...
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?

Nov 18 '05 #2
Additionaly note that you can use code behind and response.write. Just
delete the whole HTML code (and not the directive).

Patrice

"BLiTZWiNG" <an*******@disc ussions.microso ft.com> a écrit dans le message de
news:53******** *************** ***********@mic rosoft.com...
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?

Nov 18 '05 #3
Ooh thanks Patrice, I will give that a shot. Thanks to Martin for the link too.
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
4323
by: Jay Davis | last post by:
I use xemacs and syntax highlighting for my IDE, but I'm not a big fan of the default syntax highlighting colors. For instance, in 'def fun():' both 'def' and 'fun' are the same color. I kind of like the vim colors, but what would be really useful is to find various examples of highlighting that people have used, to see which ones just look right. I looked through google groups but didn't find any source of highlighting examples. Is...
9
1940
by: news.microsoft.com | last post by:
Dear all, I have to do a source code editor to implement syntax hilighted with special colors , IntelliSense function. Could anybody give me some tips or links? Thanks,
4
7624
by: Bob hotmail.com> | last post by:
Everyone I have been spending weeks looking on the web for a good tutorial on how to use regular expressions and other methods to satisfy my craving for learning how to do FAST c-style syntax highlighting in C# but I have yet to find anything useful I know there are people at MS that know this stuff like the front of their hand and I know there are many people out on the web that are proficient in doing this as well but it seems nobody...
2
4744
by: Johnny | last post by:
Sorry I posted this post earlier but got the name and subject the wrong way round (new to this!) so it perhaps didn't look right Sorry for that. But please please answer if you know anything about it.. Thanks I've got a procedure that is responsible for performing the following operations on a richtextbox 1) determining what parts of the text to forma 2) formatting specific ranges of text a specific color I need to do this whenever the...
4
2795
by: Patrick Porter | last post by:
Arrrgh! I have tried everything (ok, not EVERYTHING) but i cant get solve the problem of getting syntax highlighting in a rich textbox. in the code below, im attempting to highlight all of the words "ax". the matches works fine, but i cant get the highlighting to work correctly. any help? thanks, patrick Private Sub rtbCode_TextChanged(ByVal sender As System.Object, ByVal e As
2
2626
by: rockstar_ | last post by:
Hello all- I'm developing a Content Management software for my own site, and possibly package and deploy to other sites (for friends, family, etc.) The content management software is combined blog, photo, and site management tools. One the of the tools I would find INREDIBLY helpful is the ability to block out and syntax highlight code. I would like to be able to, as I'm writing a blog post about something I've done in Python (for...
11
2302
by: Christoph Burschka | last post by:
Are there any free PHP libraries/utility functions that can color the syntax of various programming languages (eg. Java and C++)? I am posting code snippets on my site and would like to know if there is a way to easily give them syntax highlighting automatically. Thanks! -- Christoph Burschka <christoph.burschka@rwth-aachen.de>
0
2388
by: Scott | last post by:
Hi, I think I may have finally found a IDE/text editor that I like, but, it still haves one problem. Geany haves syntax highlighting, but it is not very good for Python. It only seems to have a couple different colours. One for text and another for modules/classes/ functions. Is it possible to change the syntax highlighting for Python, so it highlights more and uses more different colours? I really liked the syntax highlighting for...
3
8085
by: andyjgw | last post by:
OK, this is weird. Just installed VS2008 from MSDN RTM build (this machine has never had any beta builds on it). When I open a vbscript file on same machine in VS2005, code-completion and highlighting is in effect. In 2008, it treats it just like a dumb file. Had a good google to no avail. Anyone ? (ps, couldn't see a dedicated VS or VBSCRIPT group, so the VB group was next best match :) )
2
3159
by: PJ6 | last post by:
Years ago I looked for a text editor control that would do automatic keyword highlighting, to no avail. I found sample code to roll my own, but all of that was crap (mostly because of the way the RichTextBox base class was written, and the limitations of GDI+). I ended up coming to conclusion that I'd have to write my own in C++ to make it work right, at which point I gave up. Now it seems there are controls out there that may do the trick...
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.