Sencha (ext.net) Initial Setup for any project in Visual Studio 2010

  1. For anyone who want details please visit: http://examples.ext.net/#/Getting_Started/Introduction/Overview/
  2. After working on previous  step by steps, I found the brief settings are as follows:
  • Download ext.net and extract to a folder
  • Create a new project and add component and browse for the Ext.Net.dll, Ext.Net.Utilities.dll, Newtonsoft.Json.dll and this will add all available component in the tool-bar for the new project in VS.
  • Open Web.config and add the following:
<configuration>
 <!--************This Section is required to use ext.net*********-->
 <configSections>
     <section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false" />
 </configSections>
 <extnet scriptMode="Release"/>
 <!--************This Section is required to use ext.net*********-->
.
.
.
.
.
<system.web>
<!--************ext.net*******IIS6- (Or below)**-->

 <httpHandlers>
     <add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false" />
 </httpHandlers>
 <httpModules>
     <add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" />
 </httpModules>

 <!--************ext.net*******IIS6-**-->

 <!--************ext.net*******IIS7+ (Or above)**-->

 <!--<validation validateIntegratedModeConfiguration="false"/>
 <modules>
 <add
 name="DirectRequestModule"
 preCondition="managedHandler"
 type="Ext.Net.DirectRequestModule, Ext.Net"
 />
 </modules>
 <handlers>
 <add
 name="DirectRequestHandler"
 verb="*"
 path="*/ext.axd"
 preCondition="integratedMode"
 type="Ext.Net.ResourceHandler"
 />
 </handlers>-->

 <!--************ext.net*******IIS7+**-->
.
.
.
.
  • Add a “ResourceManager” from the newly added ext.net component (You can only add one RM to a single page) to your aspx page.
  • Thats all set. Now play with any component you want to.
Advertisements
By simplemsexchange Posted in ASP.NET

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s