Tailspin Spyworks guide lecture 1: Creating a project

Source: Internet
Author: User

Part 1: file-> Create project By Joe Stagner | July 21,201 0 Translated By litdwg | March Print

Tailspin Spyworks demonstrates how extraordinarily simple it is to create powerful, scalable applications for. NET platform. it shows off how to use the great new features in ASP. NET 4 to build an online store, including shopping, checkout, and administration.

Use Tailspin Spyworks to demonstrate how simple a well-structured application can be created on the. NET platform. Demonstrate how to use the new features of ASP. NET 4 to create an online shop that includes shopping, settlement, and management functions.

This tutorial series details all of the steps taken to build the Tailspin Spyworks sample application. Part 1 covers Overview and File/New Project.

This series of guides gives a detailed explanation of each step of the build case program. The first part includes a summary and a new project.

Overview

This tutorial is an introduction to ASP. NET WebForms. We'll be starting slowly, so beginner level web development experience is okay.

The application we'll be building is a simple on-line store.

The guide introduces ASP. NET WebForms, which can be understood without too much web development experience.



Visitors can browse Products by Category:

Customers can browse products by category:

They can view a single product and add it to their cart:

You can view the specific commodity disease and add it to the shopping cart:

They can review their cart, removing any items they no longer want:

You can view the shopping cart to remove unwanted items:

Proceeding to Checkout will prompt them
After the execution is completed, the customer is introduced to this interface:

After ordering, they see a simple confirmation screen:

After ordering, the customer can see the confirmation interface:

We "ll begin by creating a new ASP. NET WebForms project in Visual Studio 2010, and we'll incrementally add features to create a complete functioning application. along the way, we'll cover database access, list and grid views, data update pages, data validation, using master pages for consistent page layout, AJAX, validation, user membership, and more.

First, create a project in VS 2010, and then gradually add the function to complete a complete program. This process includes database access, list and gridview, Data Update page, data verification, master page control layout, AJAX, verification, user management, etc.

You can follow along step by step, or you can download the completed application fromhttp: // tailspinspyworks.codeplex.com/

You can follow these steps or download the program at http://tailspinspyworks.codeplex.com.

You can use either Visual Studio 2010 or the free Visual Web Developer 2010 fromhttp: // www.microsoft.com/express/Web /. to build the application, you can use either SQL Server or the free SQL Server Express to host the database.

You can use VS2010 or VWD2010. you can use SQL Server or free SQL Server Express for your database.

/Ew Project/New Project

Create a new project

We'll start by selecting the New Project from the File menu in Visual Studio. This brings up the New Project dialog.

Create a project.

We'll select the Visual C #/Web Templates group on the left, and then choose the "ASP. NET Web Application template in the center column. name your project TailspinSpyworks and press the OK button.

For example, select, set, and click OK.

This will create our project. Let "s take a look at the folders that are stored in our application in the Solution Explorer on the right side.

The interface effect after the project is created.

The Empty Solution isn "t completely empty-it adds a basic folder structure:

BASIC program structure listed in solution Manager:

Note the conventions implemented by the ASP. NET 4 default project template.

Note the default folder function.

  • The "Account" folder implements a basic user interface for ASP. NET's membership subsystem.
  • The "Scripts" folder serves as the repository for client side JavaScript files and the core jQuery. js files are made available by default.
  • The "Styles" folder is used to organize our web site tags ALS (CSS Style Sheets)

    When we press F5 to run our application and render the default. aspx page we see the following.

    Click F5. The running effect is as follows:

    Our first application enhancement will be to replace the Style.css file from the default WebForms template with the CSS classes and associated image files that will render the visual asthetics that we want for our Tailspin SpywZ repository? Http://www.bkjia.com/kf/ware/vc/ "target =" _ blank "class =" keylink "> memory + Cszmu7u19MSsyM + Memory + 0Ke5 + memory/uxL/memory + memory/Co7o8L3A + Memory =" http://www.2cto.com/uploadfile/Collfiles/20140313/20140313084853196.jpg "width =" 624 "height =" 445 "border =" 0 "id =" Picture 13 "alt =" \ ">

    Notice the image links at the top right of the page and the menu items that have been added to the master page. only the "Sign In" and "Account" links point to pages that exist (generated by the default template) and the rest of the pages we will implement as we build our application.

    Note: The image links and red menus in the upper-right corner are added to the master page. Only the "Sign In" and "Account" links are available, and other links will be implemented one by one.

    We're re also going to relocate the Master Page to the Styles directory. though this is only a preference it may make things a little easier if we decide to make our application "skinable" in the future.

    Relocate the Master page to the Sytles folder. This can be used in the later stage when the program needs to implement "variable theme style.

    After doing this we'll need to change the master page references in all the. aspx files generated by the default ASP. NET WebForms pages.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.