473,473 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

writing ASP.NET code

Do I need Web Developer (or anything else) to use ASP.NET, or can I
simply include some ASP.NET code in an html file? (As long as the server
has ASP.NET installed).
Nov 17 '05 #1
3 1359
Niether. You don't need anything but the Microsoft .Net Framework, and a
text editor. But you can't just include ASP.Net code in an HTML file. You
must write an .aspx file at the least.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"John Salerno" <jo******@NOSPAMgmail.com> wrote in message
news:GN********************@rcn.net...
Do I need Web Developer (or anything else) to use ASP.NET, or can I simply
include some ASP.NET code in an html file? (As long as the server has
ASP.NET installed).

Nov 17 '05 #2
Exactly, and that just means changing the extension (from .html to .aspx)
and using <script runat="server"> tags. Of course, that's the bare minimum,
but it should get you started! ;-)

--

Joshua Mitts
jo****@msn.com

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:up**************@tk2msftngp13.phx.gbl...
Niether. You don't need anything but the Microsoft .Net Framework, and a
text editor. But you can't just include ASP.Net code in an HTML file. You
must write an .aspx file at the least.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"John Salerno" <jo******@NOSPAMgmail.com> wrote in message
news:GN********************@rcn.net...
Do I need Web Developer (or anything else) to use ASP.NET, or can I
simply include some ASP.NET code in an html file? (As long as the server
has ASP.NET installed).


Nov 17 '05 #3
Hi,

IIRC you can configure IIS to make that aspnet ISAPI be the one that handle
html files ( at least this was possible before with asp ). So it's
technically possible that a file with .html extension contains asp.net code.

Of course it's easier to rename it to .aspx :)

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Joshua Mitts" <jo****@msn.com> wrote in message
news:et**************@TK2MSFTNGP12.phx.gbl...
Exactly, and that just means changing the extension (from .html to .aspx)
and using <script runat="server"> tags. Of course, that's the bare
minimum, but it should get you started! ;-)

--

Joshua Mitts
jo****@msn.com

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:up**************@tk2msftngp13.phx.gbl...
Niether. You don't need anything but the Microsoft .Net Framework, and a
text editor. But you can't just include ASP.Net code in an HTML file. You
must write an .aspx file at the least.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"John Salerno" <jo******@NOSPAMgmail.com> wrote in message
news:GN********************@rcn.net...
Do I need Web Developer (or anything else) to use ASP.NET, or can I
simply include some ASP.NET code in an html file? (As long as the server
has ASP.NET installed).



Nov 17 '05 #4

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

Similar topics

6
by: Sebastian Kemi | last post by:
How should a write a class to a file? Would this example work: object *myobject = 0; tfile.write(reinterpret_cast<char *>(myobject), sizeof(*object)); / sebek
5
by: Jeong-Gun Lee | last post by:
I'm writing a code of writing a value to a specific memory address. ================================================================= #include <stdio.h> int main() { long air; long...
15
by: Douglas Garstang | last post by:
All, I posted a newsgroup question here a few weeks back, asking some questions that related to my 10 year quest (so far) to understand pointers. Someone suggested I write a simple emulator....
4
by: HNguyen | last post by:
Hi, I have a Web application in ASP.NET. My Application allows the users upload files into the server after checking their user names and passwords. For each transaction, the Web program will...
16
by: lovecreatesbeauty | last post by:
`Writing C code is very simple', one guy related to my work said. I'm not sure whether he is an expert or not. What he said about C programming like this can't convince me. I think there should be...
4
by: Gary Bond | last post by:
Hi All, Can anybody point me to some 'how-to' documentation, tutorials, etc as to how to write a shrink/protect wrapper for .Net exes/dlls, (like the Shrinkwrap product for instance). I have...
6
by: arne.muller | last post by:
Hello, I've come across some problems reading strucutres from binary files. Basically I've some strutures typedef struct { int i; double x; int n; double *mz;
89
by: Skybuck Flying | last post by:
Hello, This morning I had an idea how to write Scalable Software in general. Unfortunately with Delphi 2007 it can't be done because it does not support operating overloading for classes, or...
0
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...
0
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,...
1
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...
0
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.