⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 notes.txt

📁 一种.net实现ajax方法的类库
💻 TXT
字号:
Notes:This is the second release of the emerge toolkit.  Since it is a relatively minor release, mainly for compatibility purposes, I am calling it 0.1.1.Check out the website, http://emergetk.com for tutorials and instructions on how to get set up.  This project builds on the wonderful work of the Dojo toolkit (http://dojotoolkit.org), and uses the excellent, public domain System.Data.SQLite assembly (http://sqlite.phxsoftware.com/) for Windows, and uses the native Mono SQLite drivers for Mono.  We also are using the offical MySql DbProvider available at mysql.com.Essentially, if you're working with the binary version, put all the files in the release into a web project folder.  If you have a special web.config, you'll need to merge them together.  I'm including three projects, FlickrNet, RssNet, and System.Data.SQLite.  All three of them use open source license models.  More information about each of them can be found here:FlickrDotNet -- http://wdevs.com/Default.aspx?tabid=86RSS.NET -- http://rss-net.sourceforge.net/System.Data.SQLite -- http://sqlite.phxsoftware.com/To get your first project up and running, create a class, inherit it from EmergeTk.Context.  Override it's Init method.  Create a widget, using the CreateWidget<> method, I recommend starting with CreateWidget<Label>().  Customize your widget, Add it to the context, and you're good to go!It should look something like this:using System;using EmergeTk;using EmergeTk.Widgets.Html;namespace Tutorial1{    public class HelloWorld1 : Context    {        public override void Init()        {            Label l = CreateWidget<Label>();            l.Text = "Hello World";            Add(l);        }    }}To see the context in your browser, make sure your webserver is running, go the project in your browser, and type in the FullName of the class (including it's namespace, if any.)NOTE to Sample Site users in Mono:I needed to manually compile the App_Code directory with xsp2.  I'm not sure if it's supposed to behave like aspnet_wp.exe, but it doesn't for me.  I haven't tried it with mod_mono, so I don't know if the source files will automatically compile there.  There is a nant build script in App_Code, which should build a site.dll for you.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -