Instantly start Web site development with asp.net Starter Kit

Source: Internet
Author: User
Tags comments include log net reference web services visual studio
asp.net|web| Site |asp.net Summary

If you are building a asp.net Web site, you need to start building on a solid, robust code base. Starting from a complete site, making some changes and customizations, and then online, isn't it great? asp.net Starter Kit is a packaged solution that allows you to do this. These five toolkits (Community, Reports, Commerce, Portal, and time Tracker) provide complete code that can be reused and easy to customize. In addition, there are many ISPs that support automatic deployment of the ASP.net Starter Kit Web site, and when you have to deploy quickly, there is only a small portion of the task left for you. In this article, the author describes the asp.net Starter Kit and builds a community WEB site with many advanced features, such as evaluation, user polling, upload quotas, change notifications, and themes.



Content of this page
Commerce Starter Kit and Portal Starter Kit
Time Tracker Starter Kit
Reports Starter Kit
Community Starter Kit
Create a Community
Community Starter Kit Structure
Working with themes
Create a new module
Summary

asp.net and Visual studio®.net have indeed made WEB application development simpler. However, when you create a asp.net Web site, you still need to do some work yourself. You still need to design a sophisticated application, develop it with reusable, reliable code, and thoroughly test it. In this process, you may ask yourself: "Has someone already solved the problem?" Am I developing it over and over again? "Some scenarios are common to most asp.net developers, such as combining community sites, tracking the time of a project, or creating a portal for the company." Building on a well-designed basis (without having to design the application from scratch, even if it means customizing and extending the solution), can be a good result. This is exactly the design idea of asp.net Starter Kit.

asp.net Starter Kit is a group of (five) packaged sample applications from Microsoft that you can download from http://www.asp.net/starterkits. This includes an E-commerce storefront application, a community Web site, a portal site, a sample report, and a project time tracking application. The purpose of Starter Kit is to provide several useful starting WEB sites and some reliable ASP.net code examples from which you can learn and build your site. All five Starter kits come with the complete source code, which can be SQL Server? or Microsoft? Data Engine (MSDE) is used as a data store and can be used in Visual Basic?, C #, and J # versions. In addition, the Starter Kit can be used either in the Visual Studio. NET version (with separate. aspx and code-behind pages) or in the SDK version (no code-behind pages). Therefore, you can use Starter Kit in your preferred environment, whether it is Visual Studio. NET, asp.net Web Matrix Project, or some other editor. In this article, I'll introduce the five asp.net Starter kits. Then, focus on Community Starter Kit to show you how to extend it to your specific needs.

Commerce Starter Kit and Portal Starter Kit


Commerce Starter Kit wants to create an E-commerce storefront application for a fictitious spy company IBuySpy. The application uses a three-tier architecture, caching capabilities, form authentication, and a shopping cart. Commerce Starter Kit also includes a business-to-business Web services component. This is a great application for you to study and learn, especially if you need to build your own e-business application.

Portal Starter Kit creates a gateway application for the fictitious spy company IBuySpy described in Commerce Starter kit. Portal Starter Kit includes 10 portals modules: Announcements, Contacts, discussions, events, Html/text, images, links, quick links, xml/xsl, and a custom module.

Back to the top of the page
Time Tracker Starter Kit


Time Tracker Starter Kit (see Figure 1) is essentially an Intranet application that does not have a billing component. It's quite simple. It has three tabs: Log, Reports, and administration. The Administration tab can be used to configure items, log tabs can be used to record hours, and the Reports tab can be used to generate reports by project or individual.



Figure 1 The Log tab in the time Tracker Starter Kit


Time Tracker Starter Kit shows a number of interesting asp.net architecture features, such as three-tier design, Windows? and form authentication, generating dynamic diagrams using GDI +, and moving the front end.

Back to the top of the page
Reports Starter Kit


The difference between Reports Starter kit and other Starter kits is that it is not a single aggregation application. More correctly, it is a series of eight reports that you can read, run them against the sample data, and check the source code. In addition, you can copy the source code and paste it into your own application. The toolkit works like the ASP.net QuickStart provided with the Microsoft. NET Framework SDK and Visual Studio. Net. Examples of these reports include simple tabular reports, two styles of layered Drill-down reports, crosstab, and several GDI + charts.

Back to the top of the page
Community Starter Kit


Community Starter Kit may be the core toolkit. With it, you can quickly combine community sites for groups of users, clubs, families, or communities without having to spend too much effort or knowing how it works. You can also use it to combine simple news and information sites. In some ways, it overlaps with the functionality provided by Portal Starter kits, but it is more focused on non-commercial organizations and easier to set up and manage.

Community Starter Kit supports many different types of content, including articles, photo galleries, and event lists. In addition, it supports a large number of optional features, which are standard features on many community sites, including advertising, arbitration, upload quotas, evaluations, comments, user votes, content change notifications, automatic conversions, themes, Web boxes, unions, newsletters, appearances, and security.

The ad is handled by two AdRotator controls, one with a standard size (468ã-60 pixel) banner and another with 125ã-125 pixel banners. If you enable the quorum feature for a zone, the contents of this area must be approved by the reviewer to appear on the site. You can set upload quotas for each user to limit the number of images and files that can be uploaded to the site. Community Starter Kit also supports upload quotas for the entire community. This allows ISPs to host many communities in a single box without having one site occupy all of the available disk space.

You can choose to open the user evaluation and Comment feature for specific types of content, such as books or articles. Users can evaluate content items (rated from 1 to 5) and, if they wish, can enter comments instead of ratings, or both to add ratings and to add comments.

Community Starter Kit supports the creation and reporting of user votes. So, you can use "what kind of. NET development language Do you like?" "or" What did the first drummer of the Zeppelin choir say? "Questions like that to poll the user. You can also automatically notify users when new content is available in a zone. You can even specify the conversion function so that the dirty language is automatically purged from the submissions and comments without any intervention from you.

Community Starter Kit has an option that allows you to create a list of topics to require users to categorize the content when they add the contribution. Therefore, the theme of a news site based on the. NET Framework can be asp.net, managed C + +, Web services, and so on.

Community Starter Kit allows you to add content that needs to be highlighted in a page space by enabling various WEB enclosures. For example, you can use a Web box to display the most popular or up-to-date articles, links, downloads, or photos on the home page. You can also use a reference Web box to display a random reference on a page.

Community Starter Kit supports two mechanisms for replicating content: Service subscriptions and Web service boxes. Using the service subscription mechanism, you can aggregate another Community Starter the contents of the Kit site area and display it on your site. For example, you can subscribe to a discussion area at another community site and display it on your own site as if they were your own discussion area. Like a Web box, a Web service box displays excerpts from a page blank, but a Web service box can get its content from another site. You can subscribe to another Community Starter Kit site that publishes its content as an XML Web service, or subscribe to RSS services such as Http://msdn.microsoft.com/msdnmag/rss/recent.xml. You can use the XML Web service and the SOAP protocol (rather than the current RSS protocol) to publish any area of the site as a community service. The published zone can be used as a service subscription or WEB service box.

You can send a newsletter to community members. Newsletter components support both templates and embed special tags, which you can use to include fields such as Username, FullName, and Password, as well as Newarticles, Newbooks, and Newdownloads Content-specific fields such as.

Community Starter the Kit engine supports concepts such as appearance or themes, and allows you to completely change the appearance of your site by selecting another topic from the Administration page. The appearance and theme will be discussed later in this article.

Community Starter Kit supports a wide range of security systems that classify members by their role: Anonymous, authenticated, reviewer, and administrator, or categorized according to your custom roles. You can also secure any area of the site so that only certain types of users can view, add, edit, or delete content.



Figure 2 The Community Web site sample


Figure 2 illustrates many of the community features supported by Community Starter Kit. The community is a fictitious user group called Ballard. NET, which uses Professional themes. Please note that



Related Article

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.