One of ASP. NET front-end solutions: Ext. Net entry essay 1

Source: Internet
Author: User

Recently, the company has developed Ext. Net technology as needed. Here we will give a concise introduction and record a preliminary concept for ourselves and everyone.

What is Ext?

Ext is ExtJS, referring to Baidu's explanation: "ExtJS is a front-end ajax framework that is mainly used to create front-end user interfaces and is basically irrelevant to background technologies", which is relatively accurate.

Advantages: rich functions and excellent interfaces.

Disadvantages: complicated technologies, difficult to get started, more difficult to master, and high development cost.

This technology is no longer new. The specific content can be searched for Ext or ExtJs in a hundred degrees.

What is Ext. Net?

In my understanding, Ext. Net is a group of "experts" who encapsulate ExtJs with ASP. Net technology so that it can be used more conveniently in the ASP. Net technical system. We have been using this technology for three years. Our predecessor, Coolite, is now renamed Ext. Net.

Advantage:. net front-end developers are pleased that these masters have survived and developed, Ext. net technology enables. net environment using ExtJs technology is half simple (conservatively estimated ). To be honest, they have encapsulated so far.

Disadvantage: it can only be.. Net platform. Java has not found similar "masters". In addition, this technology is costly. Of course ExtJs will be charged after 2.1. Ext. net fees include ExtJs authorization. One authorization can be released almost multiple times. If you use this platform and technology, it is still cost-effective in general.

In addition, Ext. net. net Implementation scope, ExtJs skills are still indispensable, Ext. net does help. net developers, but it is not omnipotent and should not be spoiled by him.

This technology is not fresh in China, I will mention its sample Website http://examples.ext.net/All the source code of this website (non-core) can be downloaded, A large number of examples are provided.

Quick Start Ext. Net

The current Ext. Net version is 2.4 and the FrameWork must be 4 or later. Therefore, the development tool must be VS2010 or later.

1. Download the Ext. Net Development Kit

Website http://www.ext.net/download/

We recommend that you download the package containing the sample project code. The package name is ext.net.webforms.pro.2.4.0.examples.assumer.zip.

After unlocking this package, pay attention to the lib directory and Sample. Web. config, which is required.

All development of this development kit on LocalHost is free of charge, but once published to a specific IP address or domain name, it will play the publication right information. After payment, you can get the serial number, which can be removed after Web Config is added.

2. Create a Web Application

Use VS to create an "ASP. NET Web Application" project. Note that it must be. Net Framework 4 or later.

3. Import related development libraries

In the Lib directory of the Ext. Net Development Kit, find the following DLL import project Reference (corresponding to the Framework Version ).

Ext. Net. dllExt. Net. Utilities. dllNewtonsoft. Json. dllTransformer. NET. dll

In fact, most development requires only the first DLL. Of course, some special development requires the later libraries for support.

4. Modify the project's Web Config File

According to Ext.. Net development package root directory 5. sample. web. adjust the content of the config file to adjust the Web Config file of your project point-add all the listed content to the content, which is relatively simple.

5. Use the Ext. NET Control in the ASPX File

In fact, the only requirement is to add a ResourceManager control behind the page Body.

 <ext:ResourceManager runat=  />

                         
 

Then all Ext. Net controls can be used on this page, including ExtJs.

You can refer to 6. Ext. NET. Default. aspx under the development package root directory.

For other controls and usage, you can continue to refer to the sample website in the Development Kit.

 

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.