Ext. Net Learning Guide 001 install Ext. Net, 001ext.net
Ext. Net version: 4.1.0
Ext. Net Official Website: ext.net
Ext. Net official Demo: mvc.ext.net
Ext. Net MVC Example download: github.com/extnet/Ext.NET.Examples.MVC
Ext. Net Nuget address: www.nuget.org/packages/Ext.NET.MVC
1. Ext. Net Installation
Create an MVC Project (DotNet 4.0 or above) and install the package
Install-Package Ext.NET.MVC
Manual installation method:
(1) download the installation package
(2) project references Ext. Net related Assembly
Ext.Net.dllExt.Net.Utilties.dllNewtonsoft.Json.dllTransformer.NET.dll
(3) modify web. config as follows:
<? Xml version = "1.0" encoding = "UTF-8"?> <! -- For more information about how to configure ASP. NET applications, visit http://go.microsoft.com/fwlink/?LinkId=301880 --> <Configuration> <configSections> <section name = "extnet" type = "Ext. net. globalConfig "requirePermission =" false "/> </configSections> <etettings> <add key =" webpages: Version "value =" 3.0.0.0 "/> <add key =" webpages: enabled "value =" false "/> <add key =" ClientValidationEnabled "value =" true "/> <add key =" UnobtrusiveJavaScriptEnabled "value =" true "/> </appSettings> <system. web> <compilation debug = "true" TargetFramework = "4.5.2"/> Test the project and create a test page. The Code is as follows:
@ Using Ext. Net; @ using Ext. Net. MVC; @ {Layout = null; var X = Html. X () ;}<! DOCTYPE html>