Jump to content

Recommended Posts

Posted

Please check: http://professionalserver.tk/aspx/HelloWorld.aspx

 

The source code of that web file is just:

@{
  var currentDateTime = DateTime.Now;
}
<!DOCTYPE html>
<html lang="en">
   <head>
    <meta charset="utf-8" />
    <title>Hello World Page</title>
   </head>
   <body>
    <h1>Hello World Page</h1>
    <p>Hello World!</p>
    <p>Right now it's @currentDateTime</p>
   </body>
</html>

 

My username: mbdungo

Posted
Are you using .NET 3.5 compliant code?

I don't know that yet but I have uploaded the completed project "IntroducingWebPages2TutorialWebsite" from Getting Started - The Official Microsoft ASP.NET Site to professionalserver.tk/aspx/IntroducingWebPages2TutorialWebsite/ as professionalserver.tk/aspx/IntroducingWebPages2TutorialWebsite/HelloWorld.cshtml is its "HelloWorld.cshtml" file..

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...