AspNetCore.Docs/aspnet/web-pages/content-guide.md

79 lines
12 KiB
Markdown
Raw Normal View History

merge aspnetmigration to master (#2668) * Initial aspnet migration * Updating legacy urls * Clearing .gitignore file Clearing .gitignore file because this isnt a normal .net application where we want to strip away debug files, etc. We want to include everything under these folders. * Updating webhooks toc reference * Removing header debug links * Updating webhooks toc * Updating double quotes in metadata to use single quotes * Moving all code blocks to external files * Updating newlines for step-by-step * Fixing indent problem on some code blocks * Fixing newlines in alt attribute for images; Fixing some missing code block references * Resyncing with live content * Refreshing content from production * Trying to get pdf to generate for our aspnetmigration branch * Update .openpublishing.publish.config.json * Refresh from prod; Removing some legacy urls for pages that shouldnt have it * Updating index pages and removing legacy urls * Updating warning and caution notes * Removing downloads * remove aspnet from exclude list (#2549) * First pass at language detection * Updating author and adding in msc.type * Updating code blocks * Updating note styles * Fixing note styles * Updating docfx.json file to allow pdfs and gifs * Fixing note stylings for bold notes * Updating docfx.json to allow exe, zip and wmv files * Fixing note styles with period; Fixing downloads links * Fixing code blocks for razor cs and vb * Fixing more downloads links; Fixing a few code blocks * Removing   html entity * Fixing some more note stylings * Syncing with prod * Fixing issues with content * Rebuilding toc file * Adding back in files accidentally deleted * Fixing some security notes * Fixing some note styles * Updating unknown code blocks * Updating article * Fixing link * Fixing link * Fixing link * Fixing invalid characters * preliminary toc changes * update toc * fix toc folder with only one link * Fixing extra heading * Fixing articles * Reworking ajax pages * Fixing encoding issues * Updating markup in articles * Fixing space * Fixing spacing issues with links * Fixing note styles * Fixing inline note styles * Fixing missing image * Adding space * Rolling back gitignore file and adding a new one for /aspnet * Fixing some code blocks * Updating code block language * Renaming file * Updating code language * Fixing code blocks * Fixing code blocks * Fixing spaces before 'using' * Fixing cs to js * Changing Note type * Updating broken reference * Replacing headings with bolds under notes/tips, etc * Fixing markdown for pipes * Another attempted to fix pipe characters * Fixing markdown for pipes * remove text about being thread-safe (#2630) * Fixing spacing issue with list * Trying to fix pipe issue * new how to choose doc * move choose doc to core folder * add api ref * fix link * Adding in ms.assetid * Removing \ufeff * fix link * link to mvc intro instead of webhooks * add scenarios * put core first, vertical orientation for scenarios * reorganize toc, make overview work like core version * fix yaml * fix broken links * Adding space * add download link * tweak tables * eliminate images * eliminate images 2 * tweak scenario section headings * add link to core in asp.net overview * Removing gears * Updating table * Updating code block languages * fix urls (#2663) * Removing embedded in-article TOC from top of articles * fix urls (#2666) * fix urls * fix urls * Removing embedded in-article TOC from top of articles * Revert "Removing embedded in-article TOC from top of articles" This reverts commit ff1c3ccdf1cf2d705e0bb040144a10fa130796f6. * Revert "Removing embedded in-article TOC from top of articles" This reverts commit 17c37c726d930ec6854b545bab076dffda486ebe.
2017-02-04 05:40:22 +08:00
---
uid: web-pages/content-guide
merge aspnetmigration to master (#2668) * Initial aspnet migration * Updating legacy urls * Clearing .gitignore file Clearing .gitignore file because this isnt a normal .net application where we want to strip away debug files, etc. We want to include everything under these folders. * Updating webhooks toc reference * Removing header debug links * Updating webhooks toc * Updating double quotes in metadata to use single quotes * Moving all code blocks to external files * Updating newlines for step-by-step * Fixing indent problem on some code blocks * Fixing newlines in alt attribute for images; Fixing some missing code block references * Resyncing with live content * Refreshing content from production * Trying to get pdf to generate for our aspnetmigration branch * Update .openpublishing.publish.config.json * Refresh from prod; Removing some legacy urls for pages that shouldnt have it * Updating index pages and removing legacy urls * Updating warning and caution notes * Removing downloads * remove aspnet from exclude list (#2549) * First pass at language detection * Updating author and adding in msc.type * Updating code blocks * Updating note styles * Fixing note styles * Updating docfx.json file to allow pdfs and gifs * Fixing note stylings for bold notes * Updating docfx.json to allow exe, zip and wmv files * Fixing note styles with period; Fixing downloads links * Fixing code blocks for razor cs and vb * Fixing more downloads links; Fixing a few code blocks * Removing   html entity * Fixing some more note stylings * Syncing with prod * Fixing issues with content * Rebuilding toc file * Adding back in files accidentally deleted * Fixing some security notes * Fixing some note styles * Updating unknown code blocks * Updating article * Fixing link * Fixing link * Fixing link * Fixing invalid characters * preliminary toc changes * update toc * fix toc folder with only one link * Fixing extra heading * Fixing articles * Reworking ajax pages * Fixing encoding issues * Updating markup in articles * Fixing space * Fixing spacing issues with links * Fixing note styles * Fixing inline note styles * Fixing missing image * Adding space * Rolling back gitignore file and adding a new one for /aspnet * Fixing some code blocks * Updating code block language * Renaming file * Updating code language * Fixing code blocks * Fixing code blocks * Fixing spaces before 'using' * Fixing cs to js * Changing Note type * Updating broken reference * Replacing headings with bolds under notes/tips, etc * Fixing markdown for pipes * Another attempted to fix pipe characters * Fixing markdown for pipes * remove text about being thread-safe (#2630) * Fixing spacing issue with list * Trying to fix pipe issue * new how to choose doc * move choose doc to core folder * add api ref * fix link * Adding in ms.assetid * Removing \ufeff * fix link * link to mvc intro instead of webhooks * add scenarios * put core first, vertical orientation for scenarios * reorganize toc, make overview work like core version * fix yaml * fix broken links * Adding space * add download link * tweak tables * eliminate images * eliminate images 2 * tweak scenario section headings * add link to core in asp.net overview * Removing gears * Updating table * Updating code block languages * fix urls (#2663) * Removing embedded in-article TOC from top of articles * fix urls (#2666) * fix urls * fix urls * Removing embedded in-article TOC from top of articles * Revert "Removing embedded in-article TOC from top of articles" This reverts commit ff1c3ccdf1cf2d705e0bb040144a10fa130796f6. * Revert "Removing embedded in-article TOC from top of articles" This reverts commit 17c37c726d930ec6854b545bab076dffda486ebe.
2017-02-04 05:40:22 +08:00
title: "WebMatrix Content Guide | Microsoft Docs"
author: rick-anderson
description: ""
ms.author: aspnetcontent
manager: wpickett
ms.date: 01/13/2011
ms.topic: article
ms.assetid: b558e481-775a-4aa0-bd3b-ad61e530c2d2
ms.technology: dotnet-webpages
ms.prod: .net-framework
msc.legacyurl: /web-pages/content-guide
msc.type: content
---
WebMatrix Content Guide
====================
> [!NOTE]
> WebMatrix is no longer recommended as an integrated development environment for ASP.NET Web Pages. Use [Visual Studio](xref:aspnet/web-pages/overview/getting-started/program-asp-net-web-pages-in-visual-studio) or [Visual Studio Code](https://code.visualstudio.com/).
merge aspnetmigration to master (#2668) * Initial aspnet migration * Updating legacy urls * Clearing .gitignore file Clearing .gitignore file because this isnt a normal .net application where we want to strip away debug files, etc. We want to include everything under these folders. * Updating webhooks toc reference * Removing header debug links * Updating webhooks toc * Updating double quotes in metadata to use single quotes * Moving all code blocks to external files * Updating newlines for step-by-step * Fixing indent problem on some code blocks * Fixing newlines in alt attribute for images; Fixing some missing code block references * Resyncing with live content * Refreshing content from production * Trying to get pdf to generate for our aspnetmigration branch * Update .openpublishing.publish.config.json * Refresh from prod; Removing some legacy urls for pages that shouldnt have it * Updating index pages and removing legacy urls * Updating warning and caution notes * Removing downloads * remove aspnet from exclude list (#2549) * First pass at language detection * Updating author and adding in msc.type * Updating code blocks * Updating note styles * Fixing note styles * Updating docfx.json file to allow pdfs and gifs * Fixing note stylings for bold notes * Updating docfx.json to allow exe, zip and wmv files * Fixing note styles with period; Fixing downloads links * Fixing code blocks for razor cs and vb * Fixing more downloads links; Fixing a few code blocks * Removing   html entity * Fixing some more note stylings * Syncing with prod * Fixing issues with content * Rebuilding toc file * Adding back in files accidentally deleted * Fixing some security notes * Fixing some note styles * Updating unknown code blocks * Updating article * Fixing link * Fixing link * Fixing link * Fixing invalid characters * preliminary toc changes * update toc * fix toc folder with only one link * Fixing extra heading * Fixing articles * Reworking ajax pages * Fixing encoding issues * Updating markup in articles * Fixing space * Fixing spacing issues with links * Fixing note styles * Fixing inline note styles * Fixing missing image * Adding space * Rolling back gitignore file and adding a new one for /aspnet * Fixing some code blocks * Updating code block language * Renaming file * Updating code language * Fixing code blocks * Fixing code blocks * Fixing spaces before 'using' * Fixing cs to js * Changing Note type * Updating broken reference * Replacing headings with bolds under notes/tips, etc * Fixing markdown for pipes * Another attempted to fix pipe characters * Fixing markdown for pipes * remove text about being thread-safe (#2630) * Fixing spacing issue with list * Trying to fix pipe issue * new how to choose doc * move choose doc to core folder * add api ref * fix link * Adding in ms.assetid * Removing \ufeff * fix link * link to mvc intro instead of webhooks * add scenarios * put core first, vertical orientation for scenarios * reorganize toc, make overview work like core version * fix yaml * fix broken links * Adding space * add download link * tweak tables * eliminate images * eliminate images 2 * tweak scenario section headings * add link to core in asp.net overview * Removing gears * Updating table * Updating code block languages * fix urls (#2663) * Removing embedded in-article TOC from top of articles * fix urls (#2666) * fix urls * fix urls * Removing embedded in-article TOC from top of articles * Revert "Removing embedded in-article TOC from top of articles" This reverts commit ff1c3ccdf1cf2d705e0bb040144a10fa130796f6. * Revert "Removing embedded in-article TOC from top of articles" This reverts commit 17c37c726d930ec6854b545bab076dffda486ebe.
2017-02-04 05:40:22 +08:00
WebMatrix is a set of tools that provides an easy way to build Web sites for Microsoft Windows. It includes IIS Express (a development web server), ASP.NET (a web programming framework), and SQL Server Compact (an embedded database). To see a quick tour of WebMatrix, see [WebMatrix Overview](https://www.microsoft.com/web/webmatrix/). To review the top WebMatrix features, see [WebMatrix Features](https://www.microsoft.com/web/webmatrix/features/).
| **Scenario** | **Content** |
| --- | --- |
| Get started with WebMatrix | [Introduction to WebMatrix](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/intro.mp4) (video) [Getting Started with WebMatrix and ASP.NET Web Pages](https://go.microsoft.com/fwlink/?LinkId=202889) [Start from Scratch](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/walkthrough1b.mp4) (video) Learn how to use ASP.NET Razor code to write a custom website. [Your First Website Using WebMatrix](https://go.microsoft.com/fwlink/?LinkId=208553) [Start with Web Apps](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/walkthrough2b.mp4) (video) Use a free open-source application to create your own site. |
| Install components (including WebMatrix) | [Using the Microsoft Web Platform Installer](https://www.iis.net/learn/install/web-platform-installer/using-the-microsoft-web-platform-installer) [Web Platform Installer 2.0 Walkthrough](https://www.iis.net/learn/install/web-platform-installer/web-platform-installer-20-walkthrough) [Web Platform Installer Resources](https://www.iis.net/learn/install/web-platform-installer/web-platform-installer-resources) |
| Work with the WebMatrix UI | [WebMatrix Site Workspace Help](https://go.microsoft.com/fwlink/?LinkId=208788) [WebMatrix Files Workspace Help](https://go.microsoft.com/fwlink/?LinkId=208787) [WebMatrix Databases Workspace Help](https://go.microsoft.com/fwlink/?LinkId=208786) [WebMatrix Reports Workspace Help](https://go.microsoft.com/fwlink/?LinkId=208789) |
| Work with code | [Introduction to ASP.NET Web Programming Using the Razor Syntax](https://go.microsoft.com/fwlink/?LinkId=202890) [Simple to code](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-aspnetpages.mp4) (video) [Programming ASP.NET Web Pages with Visual Studio](https://go.microsoft.com/fwlink/?LinkId=205854) [ASP.NET Web Pages Visual Basic](https://go.microsoft.com/fwlink/?LinkId=202908) [ASP.NET Quick API Reference](https://go.microsoft.com/fwlink/?LinkId=202907) |
| Create a consistent website look | [Creating a Consistent Look](https://go.microsoft.com/fwlink/?LinkId=202891) - Creating Reusable Blocks of Content - Creating a Consistent Look Using Layout Pages - Designing Layout Pages That Have Multiple Content Sections - Making Content Sections Optional - Passing Data to Layout Pages - Creating and Using a Basic Helper |
| Work with HTML forms in web pages | [Working with Forms](https://go.microsoft.com/fwlink/?LinkId=202892) - Creating a Simple HTML Form - Reading User Input from a Form - Validating User Input - Restoring Form Values After Postbacks |
| Display and manage data | [Database made simple](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-databases.mp4) (video) [Connecting to a SQL Server or MySQL Database in WebMatrix](https://go.microsoft.com/fwlink/?LinkId=208661) [Working with Data](https://go.microsoft.com/fwlink/?LinkId=202893) (programmatically) - Introduction to Databases - Creating a database - Adding data to the database - Displaying data from a database - Inserting data in a database - Updating data in a database - Deleting data in a database - Connecting to a Database - Understanding SQL - Migrating a Database to SQL Server [Displaying Data in a Grid](https://go.microsoft.com/fwlink/?LinkId=202894) - Displaying Data in a Grid - Specifying and Formatting Columns to Display - Styling the Grid as a Whole - Paging Through Data |
| Display charts in a web page | [Displaying Data in a Chart](https://go.microsoft.com/fwlink/?LinkId=202895) - The Chart Helper - Creating a Chart from Data - Displaying Charts Inside a Web Page - Styling a Chart - Saving a Chart |
| Read and write files in a website | [Working with Files](https://go.microsoft.com/fwlink/?LinkId=202896) - Creating a Text File and Writing Data to It - Appending Data to an Existing File - Reading and Displaying Data from a File - Deleting Files - Letting Users Upload a File - Letting Users Upload Multiple Files |
| Display and manipulate images in a web page | [Working with Images](https://go.microsoft.com/fwlink/?LinkId=202897) - Adding an Image to a Web Page Dynamically - Uploading an Image - Resizing an Image - Rotating and Flipping an Image - Adding a Watermark to an Image - Using an Image As a Watermark |
| Display video (and play audio) in a web page | [Working with Video](https://go.microsoft.com/fwlink/?LinkId=202898) - Choosing a Video Player - Playing Flash (.swf) Videos - Playing MediaPlayer (.wmv) Videos - Playing Silverlight Videos |
| Send email messages from a website | [Adding Email to Your Web Site](https://go.microsoft.com/fwlink/?LinkId=202899) - Sending Email Messages from Your Web site - Sending a File Using Email |
| Add search to a website | [Adding Search to Your Web Site](https://go.microsoft.com/fwlink/?LinkId=202900) - Searching from Your Website |
| Add social network feeds and bookmarking to a website | [Adding Social Networking to Your Web Site](https://go.microsoft.com/fwlink/?LinkId=202901) - Linking Your Website on Social Networking Sites - Adding a Twitter Feed - Rendering a Gravatar Image - Displaying an Xbox Gamer Card - Displaying a Facebook "Like" Button |
| Analyze site traffic and optimize for SEO | [Analyzing Traffic](https://go.microsoft.com/fwlink/?LinkId=202902) - Tracking Visitor Information (Analytics) [Use WebMatrix to optimize your site for search engines](https://go.microsoft.com/fwlink/?LinkId=202953) [Optimize for search](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-seo.mp4) (video) |
| Improve performance on a website | [Adding Caching for Faster Websites](https://go.microsoft.com/fwlink/?LinkId=202903) - Caching to Improve Website Responsiveness |
| Add security (membership) to a website | [Adding Security and Membership](https://go.microsoft.com/fwlink/?LinkId=202904) - Introduction to Website Membership - Creating a Website That Has Registration and Login Pages - Creating a Members-Only Page - Creating Security for Groups of Users (Roles) - Creating a Password-Change Page - Letting Users Generate a New Password - Preventing Automated Programs from Joining Your Website |
| Test secure communication (SSL) | [Securing Web Communications: Certificates, SSL, and https://](https://go.microsoft.com/fwlink/?LinkId=208660) |
| Debug web pages using tools and coding techniques | [Introduction to Debugging](https://go.microsoft.com/fwlink/?LinkId=202905) - Using the ServerInfo Helper to Display Server Information - Embedding Output Expressions to Display Page Values - Using the ObjectInfo Helper to Display Object Values - Using Debugging Tools |
| Add site-wide functionality in code | [Customizing Site-Wide Behavior](https://go.microsoft.com/fwlink/?LinkId=202906) - Adding Website Startup Code - Running Code Before and After Files in a Folder - Creating More Readable and Searchable URLs |
| Publish a website | [How to publish a web application using WebMatrix](https://go.microsoft.com/fwlink/?LinkId=202954) [Download, Edit, and Republish Your Website with WebMatrix](https://go.microsoft.com/?linkid=9751042) [Microsoft WebMatrix: Publish Compatibility](https://www.iis.net/learn/develop/troubleshooting-webmatrix/microsoft-webmatrix-publish-compatibility) [Microsoft WebMatrix: Certificate errors during publishing](https://www.iis.net/learn/develop/troubleshooting-webmatrix/microsoft-webmatrix-certificate-errors-during-publishing) [Site publishing](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-publish.mp4) (video) |
| Use IIS Express to test websites | [IIS Express Overview](https://www.iis.net/learn/extensions/introduction-to-iis-express/iis-express-overview) [Use the Windows System Tray to Manage Websites and Applications](https://www.iis.net/learn/extensions/using-iis-express/using-the-windows-system-tray-to-manage-websites-and-applications) [Running IIS Express from the Command Line](https://www.iis.net/learn/extensions/using-iis-express/running-iis-express-from-the-command-line) [Securing Web Communications: Certificates, SSL, and https://](https://go.microsoft.com/fwlink/?LinkId=208660) [IIS Express FAQ](https://www.iis.net/learn/extensions/introduction-to-iis-express/iis-express-faq) |
## Additional Resources
**Read**
- [Microsoft Web Camps training kit for WebMatrix](http://trainingkit.webcamps.ms/WebMatrix.htm)
- [Submit a bug or suggestion](https://go.microsoft.com/fwlink/?LinkId=195940)
- [WebMatrix Readme](readme/index.md)
- [App Gallery FAQs](https://go.microsoft.com/fwlink/?LinkId=196179)
- [IIS Express Documentation](https://go.microsoft.com/fwlink/?LinkID=195075)
- [ASP.NET Razor Syntax code samples and tutorial download page](https://go.microsoft.com/fwlink/?LinkId=208516)
- [Ask a question or discuss in the forums](https://forums.asp.net/1224.aspx)
- [SQL Server Compact information](https://go.microsoft.com/fwlink/?LinkId=195939)
**View (videos)**
- [Introduction to WebMatrix](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/intro.mp4)
- [Start from Scratch](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/walkthrough1b.mp4)
- [Start with Web Apps](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/walkthrough2b.mp4)
- [Small, but complete package](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-compact.mp4)
- [Grows with you](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-extend.mp4)
- [Open Source](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-webapps-b.mp4)
- [Database made simple](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-databases.mp4)
- [Elegant interface, simple experience](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-ux.mp4)
- [Simple to code](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-aspnetpages.mp4)
- [More than "Hello, World"](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-helpers.mp4)
- [Desktop or server, it's all the same](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-enviroment.mp4)
- [Tightly knit, fully integrated](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-integrated.mp4)
- [Optimize for search](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-seo.mp4)
- [Site publishing](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/webx-publish.mp4)
2017-09-20 15:36:55 +08:00
- [Customize and deploy your CMS](https://mediadl.microsoft.com/mediadl/www/s/silverlight/video/web/webmatrix/walkthrough2b.mp4)