Microsoft WebMatrix Tutorial Series
Part 1 - Introduction to WebMatrix
Part 2 - Installation and Setup
Part 3 - Creating a Database with SQL CE
Part 4 - Retrieving Content from a Database
Part 5 - Adding and Editing Data
Part 6 - Working with Foreign Key Relationships
Part 7 - Uploading Images with the FileUpload Helper
Part 8 - Authentication and Authorization
Part 9 - Displaying a list of popular posts
Part 10 - Adding Comments to your blog with the DISQUS helper
Part 11 - Searching your site with Bing
Part 12 - Integrating your site with Social Media Helpers
Part 13 - Publishing your site
Overview
The final section in adding and editing blog posts is to add the functionality to upload a photo with each blog post. To do this we will use the WebMatrix FileUpload helper. The FileUpload helper was included as part of the WebMatrix installation in earlier beta versions, but was removed when WebMatrix was shipped and now needs to be installed manually.Installing Helpers
A Helper is a reusable ASP.NET component that can be used in WebMatrix and ASP.NET MVC projects. There are many built in helpers provided, and third party helpers from Microsoft partners are being constantly added. Some of the popular helpers featured on http://www.microsoft.com/web/webmatrix/partners.aspx include:Eventbrite The Eventbrite Helper for WebMatrix makes it simple to promote your Eventbrite events in your WebMatrix site. With the helper in place you can also easily sell tickets, or leverage the Eventbrite API for managing your events information. | |
Facebook The Facebook helper is designed to integrate your WebMatrix site with Facebook, making it possible to add the Facebook Social Plugins, such as Like button, Facepile, Comments, Login Button and Like Box, among others, in a few simple steps. | |
bit.ly The Url Shortener Helper for WebMatrix and ASP.NET Web Pages allows you to easily shorten a url from any URL Shortener Provider. | |
Foursquare The Foursquare Helper for WebMatrix makes it simple to integrate Foursquare in your site. With a few lines of code you'll be able to show an "Add to My Foursquare" button or show any user's badges in your site. |
If this is the first time you've accessed the administration console then you'll need to create a password:
Once you have created your password, verified it, and logged in, you will see the package manager:
Search for and install the latest version of the ASP.NET Web Helpers Library. This library includes common components such as Captcha validation, Twitter profile and search boxes, Bing Search, etc.
The package adds a number of new files to your project:
No comments:
Post a Comment