|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
setting up IIS for C#
I'm running XP Pro/IIS.
I installed C#.NET and since have had to re-install IIS. My ASP/C# scripts will not run. ( although i've never ran one in the first place so it might be something that was never setup. ) any qucick tips or links would be much appreciated. Thank You
__________________
CodeNewbie |
|
#2
|
|||
|
|||
|
I'm total n00b here to C#, but is it correct that i just name my files ".aspx" ?
|
|
#3
|
||||
|
||||
|
yes but inside your .aspx you must specify a programming language. For example if you are using the code behind features:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="LandDevelopment.WebForm1" %> Then the code behind page would be called WebForm1.aspx.cs
__________________
mr... mike.rusaw@realpage.com RalPage, Inc. "I have made this letter longer than usual, only because I have not had the time to make it shorter." - Blaise Paschal Last edited by mrusaw : July 31st, 2003 at 02:19 PM. |
|
#4
|
||||
|
||||
|
On win2k you need to register IIS to utilise .NET.
go into c:\winnt\microsoft.net\frameworks\v1.1blah\ and there will be a script called regiisaspnet.bat or something similar with reg in the name. Run that and it will work |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > .Net Development > setting up IIS for C# |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|