ASP.net 2.0 basics of getting started with mobile development

Source: Internet
Author: User

With the rapid development of hardware, mobile devices, like computer devices, exhibit better performance, faster processing speed, and cheaper trends. In particular, the upcoming 3G technology will allow mobile devices to break through current bandwidth limitations, so that we can build many new and powerful mobile applications. There are already a lot of business applications that are migrating to mobile devices, so it's a good time for developers to start learning about mobile development now.

I cannot, of course, discuss in a short space in this case the detailed process of developing a mobile application with ASP.net 2.0. This article will introduce some basic knowledge so that you have a general idea of using ASP.NET 2.0 technology to develop mobile applications so that you can dive into the technology quickly. First we will learn how to create a asp.net 2.0 mobile program using Visual Studio 2005, then introduce some common mobile development controls and add them to the application in a suitable way, and finally you will learn how to Develop ViewState (view state) and session in Web programs and management programs for specific mobile devices.

Create a new asp.net mobile Web program

Visual Studio 2005 provides a powerful and friendly set of development tools to create mobile Web programs, and if you already have experience creating traditional asp.net applications, you'll find that creating mobile web apps is very similar to creating a traditional asp.net application. You only need to create an ASP. NET Web site project and add some mobile Web forms. When you add a mobile Web form, you'll notice that the ASP.net mobile control is added to the toolbox as shown in the following illustration.

You can now create a new ASP.net mobile Web program in Visual Studio 2005 by following these steps:

1. Select File-New-Web site

2. In the Visual Studio installed templates list, select ASP.net web site

3. After you have set the options for location, language, and path for your program, click OK.

Once you have completed the above steps, you have created a asp.net web site. Now we can add some Web forms for mobile devices to the Web site, and the implementation process is as follows:

1. In Visual Studio 2005, in the Solution Explorer window, select the Web site project that you just created, right-click and select Add New item from the pop-up menu.

2. Select the Move Web Form item in the pop-up Add New Item form.

3. Set the form's name and language items, and make sure that the "put code in a separate file" selection box is selected.

4. Click the "Add" button.

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.