writing ASP.NET code

  • Thread starter Thread starter John Salerno
  • Start date Start date
J

John Salerno

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).
 
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.
 
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! ;-)
 
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,
 
Back
Top