ASP.NET Web Pages - Tutorial
Easy Learning with "Run Example"
Our "Run Example" tool displays the ASP.NET code and the HTML output simultaneously.
Click on the "Run Example" button to see how it works:
Web Pages Example
<h1>Hello Web Pages</h1>
<p>The time is @DateTime.Now</p>
ASP.NET Web Pages
Web Pages is one of many programming models for creating ASP.NET web sites and web applications.
Web Pages provides an easy way to combine HTML, CSS, and server code:
- Easy to learn, understand, and use
- Uses an SPA application model (Single Page Application)
- Similar to PHP and Classic ASP
- VB (Visual Basic) or C# (C sharp) scripting languages
In addition, Web Pages applications are easily extendable with programmable helpers for databases, videos, graphics, social networking and more.
Web Pages Tutorial
If you are new to ASP.NET, Web Pages is a perfect place to start.
You will also learn how to extend your web pages with programmable Web Helpers.
Web Pages Examples
Learn by examples!
Because ASP.NET code is executed on the server, you cannot view the code in your browser. You will only see the output as plain HTML.
At learningslack every example displays the hidden ASP.NET code. This makes it easier for you to understand how it works.
Web Pages References
At the end of this tutorial you will find a complete set of ASP.NET references with objects, components, properties and methods.
We Have Used WebMatrix
In this tutorial, we have used WebMatrix.
WebMatrix is a simple but powerful free ASP.NET development tool from Microsoft, tailor made for Web Pages.
- Web Pages examples and templates
- A web server language (Razor markup with VB or C# code)
- A web server (IIS Express)
- A database server (SQL Server Compact)
- A full web development framework (ASP.NET)
With WebMatrix you can start from scratch with an empty web site and a blank page, or build on open source applications from a "Web Application Gallery". Both PHP and ASP.NET applications are available, such as Umbraco, DotNetNuke, Drupal, Joomla, WordPress and many more. WebMatrix also has built-in tools for security, search engine optimization, and web publishing.
The skills and code you develop with WebMatrix can seamlessly be transformed to fully professional ASP.NET applications.
Download WebMatrix from this link: WebMatrix