分类目录
文章索引模板
SubSonic Tools for Visual Studio - 一月 14, 2010 by yippee

SubSonic的配置方法_在路上
http://hi.baidu.com/zhang_fei/blog/item/f3a26e5169cb86848c54301d.html



SubSonic: All Your Database Are Belong To Us
http://forums.subsonicproject.com/t/2262.aspx



SubSonic Tools for Visual Studio – View Issue #8889: VS2008 Support?
http://subsonictools.codeplex.com/WorkItem/View.aspx?WorkItemId=8889



IT Crossing Blog – Running SubSonic Tools for Visual Studio in Visual Studio 2008
http://www.itcrossing.com/blog/entryid/242/running-subsonic-tools-for-visual-studio-in-visual-studio-2008



SubSonic Tools for Visual Studio
http://subsonictools.codeplex.com/



创建 一个Visual Studio Addin – cutebear – 博客园
http://www.cnblogs.com/bear831204/archive/2009/03/13/1410244.html
 


SubSonic :: Tome
http://subsonicproject.com/docs/Main_Page



SubSonic: All Your Database Are Belong To Us
http://subsonicproject.com/Download



SubSonic Tools for Visual Studio – View Issue #8889: VS2008 Support?
http://subsonictools.codeplex.com/WorkItem/View.aspx?WorkItemId=8889
http://forums.subsonicproject.com/forums/t/2262.aspx


SubSonic: All Your Database Are Belong To Us
http://forums.subsonicproject.com/t/2262.aspx



Old versions of Sub Sonic – Stack Overflow
http://stackoverflow.com/questions/1156408/old-versions-of-sub-sonic



subsonic’s SubSonic-2.0 at master – GitHub
http://github.com/subsonic/SubSonic-2.0



Creating Your Own DAL – SubSonic :: Tome
http://subsonicproject.com/docs/Creating_Your_Own_DAL



SubSonic初次使用 – henry.hr – 博客园
http://www.cnblogs.com/henryhr/archive/2009/06/26/1511430.html



 

标签:
Subsonic - 一月 6, 2010 by yippee

四大编码全攻克!高清硬解码设置宝典 – IT一族 – XCAR 爱卡汽车俱乐部
http://www.xcar.com.cn/bbs/viewthread.php?tid=8467453&extra=&showthread=&page=1



Subsonic学习 – EricGu’s Record-Space – 博客园
http://www.cnblogs.com/EricGu/archive/2008/03/31/1131467.html
单个数据删除: blogstudent.Delete(“id”,2);


批量数据删除:


Query q = blogstudent.Query();
q.WHERE(“name=xuxiuyun”);
q.QueryType = QueryType.Delete;
q.Execute();


//也可:
Query q = new Query(“blog_students”);
q.BuildDeleteCommand();
q.WHERE(“id”, 9).WHERE(“name”,”xuxiuyun”);
q.Execute();


    * update


单个数据更新:


blogstudent=new blogstudent(“id”);
blogstudent.name=”xxy”;
blogstudent.save()


批量数据更新:


Query q = BlogStudent.Query();
q.WHERE(“name=ssssss”).AddUpdateSetting(“name”, “xuxiuyun”);
q.QueryType = QueryType.Update;
q.Execute();


    * query
          o


            subsonic的方法中query的功能最全面(http://subsonicproject.com/querying/using-the-original-query-tool/),


不仅能够实现各种select语句的交互式参数输入,而且能够实现数据的分页功能:


Query q = BlogStudent.Query();
q.WHERE(“name=sssss”);
q.QueryType = QueryType.Select;
q.PageSize = 2;
q.PageIndex = 3;//其中pageIndex从1开始.



Rob Conery’s Blog: SubSonic: 2.1 (Pakala) Preview, Part 2
http://blog.wekeroad.com/2008/01/16/subsonic-21-pakala-preview-part-2/
Query2 Updates
A lot of people have asked to be able to use the new Query tool without having to identify the schema for each table in the query. To that end I’ve put in some generics overrides, so now you can write your query this way:


    ProductCollection p = Northwind.DB.Select()
        .From<Northwind.Product>()
        .InnerJoin<Northwind.Category>()
        .Where(“CategoryName”).Like(“c%”)
        .ExecuteAsCollection<Northwind.ProductCollection>();


We’ve also added the ability to return typed results from Stored Procedures. We don’t generate the classes for you (yet), but if you declare a class for holding the results:


    /// <summary>
    /// Class for holding SP Results for CustOrderHist
    /// </summary>
    class CustomerOrder {
        private string productName;


        public string ProductName {
            get { return productName; }
            set { productName = value; }
        }
        private int total;


        public int Total {
            get { return total; }
            set { total = value; }
        }


    }


You can execute your SP like this:


    List<CustomerOrder> orders = Northwind.SPs.CustOrderHist(“ALFKI”)
        .ExecuteTypedList<CustomerOrder>();


Rob Conery’s Blog: SubSonic: 2.1 (Pakala) Preview, Part 2
http://blog.wekeroad.com/2008/01/16/subsonic-21-pakala-preview-part-2/



XML-RPC.NET FAQ
http://www.xml-rpc.net/faq/xmlrpcnetfaq.html



浅析MetaWeblog – JesseZhao(赵光) – 博客园
http://www.cnblogs.com/jessezhao/articles/598482.html



 

标签:
SubSonic dynamic connections - 一月 5, 2010 by yippee

SubSonic ASP.NET Providers Project (and Announcement) – Zack Owens
http://weblogs.asp.net/zowens/archive/2007/10/14/subsonic-asp-net-providers-project-and-announcement.aspx



Config for Subsonic in Winform | HieuUK
http://www.hieu.co.uk/blog/index.php/2009/04/11/config-for-subsonic-in-winform/



转:有关SubSonic的新消息 – Jolly-Zhang – 博客园
http://www.cnblogs.com/wliang22/archive/2008/09/04/1283759.html



Subsonic学习 – EricGu’s Record-Space – 博客园
http://www.cnblogs.com/EricGu/archive/2008/03/31/1131467.html



Subsonic设置 第2页|IT168 技术开发
http://tech.it168.com/d/2008-04-27/200804270932053_1.shtml



Subsonic 配置、安装、使用(1)_派行天下的空间
http://hi.baidu.com/ansonlau/blog/item/16dfdf5063f1d92d42a75bc7.html



Subsonic 配置、安装、使用(2)_㊣网络淘金_____________________
http://hi.baidu.com/feik/blog/item/f9964336b7d4e0d8a2cc2b44.html



SubSonic – Specifying DataProvider in a Select() function – Stack Overflow
http://stackoverflow.com/questions/747097/subsonic-specifying-dataprovider-in-a-select-function



Getting Started with SubSonic – Part 4, Configuration
http://geekswithblogs.net/scottkuhl/archive/2006/11/17/97470.aspx



Subsonic: dynamic connections – Stack Overflow
http://stackoverflow.com/questions/968391/subsonic-dynamic-connections
SharedDBConnectionScope seems perfect for on the fly, but didn’t seem designed to set the provider for the whole user session.


So I did more searching based on your answers above, and came up with the following solution:


1) Add three providers for lookups, accounts and contacts, and generate the DAL.


2) add this to the DAL:


public static void SetProvider(string strProvider,string strConnectionString)
{
    DataService.GetInstance(strProvider).DefaultConnectionString =
                                                     strConnectionString;
}


3) call it on login, once my app has worked out which databases the user uses, eg


MyDAL.SSProvider.SetProvider(“Lookups”,
            “server=10.123.456.78;port=3306;uid=whatever;pwd=blah;database=X”)


MyDAL.SSProvider.SetProvider(“Accounts”,
      “server=10.123.456.78;port=3306;uid=whatever;pwd=blah;database=Y”)


MyDAL.SSProvider.SetProvider(“Contacts”,   
               “server=10.123.456.78;port=3306;uid=whatever;pwd=blah;database=Z”)


And off it goes.


Separate Read/Write Connection for SubSonic – Stack Overflow
http://stackoverflow.com/questions/828736/seperate-read-write-connection-for-subsonic/828825#828825



Digvijay’s Webb | SubSonic Trick : Specify connection string at runtime!
http://www.digvijay.eu/post/2008/10/30/SubSonic-Trick-Specify-connection-string-at-runtime!.aspx#comment
private static bool _bIsInitialized = false; private void InitSubsonic() { if (_bIsInitialized) return; DataService.Providers = new DataProviderCollection(); // here you can get settings from anywhere and make up a connection string :) CustomDataProvider provider = new CustomDataProvider(“Data Source=(local); Database=”WebShop”)); DataService.Providers.Add(provider); DataService.Provider = provider; _bIsInitialized = true; } // Here it is MySql that i needed but you // may have any provider supported by SubSonic private class CustomDataProvider : MySqlDataProvider { public CustomDataProvider(string connectionString) { DefaultConnectionString = connectionString; } public override string Name { get { return “WebShop”; // Database Name does not change often!! } } }


Rob Conery’s Blog: New SubSonic Provider: LOLCode.NET
http://blog.wekeroad.com/2007/10/26/new-subsonic-provider-lolcodenet/
SubSonic


Rob Conery’s Blog: SubSonic: 2.1 (Pakala) Preview, Part 2
http://blog.wekeroad.com/2008/01/16/subsonic-21-pakala-preview-part-2/



System.Configuration.DefaultSection
http://www.dotnettech.net/BCL/CSharp/System.Configuration.DefaultSection/Class.aspx



 

标签:
SQLite SubSonic - 一月 4, 2010 by yippee

SubSonic: All Your Database Are Belong To Us
http://subsonicproject.com/download



SubSonic介绍和相关文章 – 成功的心 Blog – CSDN博客
http://blog.csdn.net/baogreat/archive/2008/10/29/3176079.aspx
SubSonic


Subsonic 配置、安装、使用(1)_派行天下的空间
http://hi.baidu.com/ansonlau/blog/item/16dfdf5063f1d92d42a75bc7.html



Subsonic学习 – EricGu’s Record-Space – 博客园
http://www.cnblogs.com/EricGu/archive/2008/03/31/1131467.html



subsonic 如何使用 动态连接字符串?
http://topic.csdn.net/u/20080707/11/c5b51d13-b93d-4304-adfa-1fb48f717a79.html



使用SubSonic生成数据访问层步骤 – 王智勇的博客 – MySpace聚友免费博客
http://blog.myspace.cn/e/404745181.htm
<SubSonicService defaultProvider=”Nowthwin”>


    <providers>


      <clear/>


      <add name=”Nowthwin”


           type=”SubSonic.SqlDataProvider, SubSonic”


           connectionStringName=”Nowthwin”


           generatedNamespace=”Nowthwin”/>


    </providers>


  </SubSonicService>


ExtAspNet应用技巧(十一) – Subsonic配置与使用 – sanshi – 博客园
http://www.cnblogs.com/sanshi/archive/2009/08/25/1553917.html#viewSource



subsonic sqlite connectstring – Google Search
http://www.google.com/search?q=subsonic+sqlite+connectstring&btnG=Search&hl=en&client=firefox&rls=org.mozilla%3Azh-CN%3Aofficial&newwindow=1&ie=UTF-8&oe=UTF-8&sa=2



Simple Query Tool – SubSonic :: Tome
http://subsonicproject.com/docs/Simple_Query_Tool



ActiveRecord – SubSonic :: Tome
http://subsonicproject.com/docs/ActiveRecord



SQLite Data Provider for Subsonic. Part 2. « CodeForNothing
http://codefornothing.wordpress.com/2007/07/19/sqlite-data-provider-for-subsonic-part-2/



Using SQLite as a Data Store in Dot Net « Bag of Spanners
http://bagofspanners.wordpress.com/2009/09/17/using-sqlite-as-a-data-store-in-dot-net/



SQLite Data Provider for Subsonic. Part 3. « CodeForNothing
http://codefornothing.wordpress.com/2007/07/21/sqlite-data-provider-for-subsonic-part-3/



The SQLite Data Provider is now part of SubSonic « CodeForNothing
http://codefornothing.wordpress.com/2007/07/24/the-sqlite-data-provider-is-now-part-of-subsonic/



SQLite Data Provider for Subsonic. Part 2. « CodeForNothing
http://codefornothing.wordpress.com/2007/07/19/sqlite-data-provider-for-subsonic-part-2/



InfoQ: Up and Running with SQLite on .NET in 3 Minutes
http://www.infoq.com/news/2008/01/sqlite-in-three-minutes



SubSonic: All Your Database Are Belong To Us
http://forums.subsonicproject.com/t/3417.aspx



SubSonic connection string for SQLite – Stack Overflow
http://stackoverflow.com/questions/808175/subsonic-connection-string-for-sqlite



SQLite Data Provider for Subsonic. Part 1. « CodeForNothing
http://codefornothing.wordpress.com/2007/07/15/sqlite-data-provider-for-subsonic-part-1/



The SQLite Data Provider is now part of SubSonic « CodeForNothing
http://codefornothing.wordpress.com/2007/07/24/the-sqlite-data-provider-is-now-part-of-subsonic/



SubSonic, SQLite and Unable to find Data Provider? – Stack Overflow
http://stackoverflow.com/questions/1950523/subsonic-sqlite-and-unable-to-find-data-provider



SubSonic connection string for SQLite – Stack Overflow
http://stackoverflow.com/questions/808175/subsonic-connection-string-for-sqlite
string dbPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @”MyApplication\Northwind.db3″);


DataService.Providers["Northwind"].DefaultConnectionString =
            String.Format(@”Data Source={0};Version=3;New=False;Connection Timeout=3″, dbPath);


SubSonic connection string for SQLite – Stack Overflow
http://stackoverflow.com/questions/808175/subsonic-connection-string-for-sqlite



New SQLiteDataProvider for SubSonic using System.Data.SQLite – System.Data.SQLite
http://sqlite.phxsoftware.com/forums/t/823.aspx



SQLite on .NET in 3 minutes. Download to querying in no time flat. | MikeDuncan.com C# Dev tips, patterns and tools you can actually use.
http://www.mikeduncan.com/sqlite-on-dotnet-in-3-mins/



 

标签:,
Linq SubSonic orm - 一月 3, 2010 by yippee

Open Source Persistence Frameworks in C#
http://csharp-source.net/open-source/persistence



Download details: ADO.Net Entity Framework Tools Aug 07 CTP
http://www.microsoft.com/downloads/details.aspx?familyid=09a36081-5ed1-4648-b995-6239d0b77cb5&displaylang=en



SubSonic介绍和相关文章 – 成功的心 Blog – CSDN博客
http://blog.csdn.net/baogreat/archive/2008/10/29/3176079.aspx
SubSonic


Browse by Tags – System.Data.SQLite
http://sqlite.phxsoftware.com/tags/linq/default.aspx



ADO.NET Entity Framework学习笔记(2)建模 – .Net程序设计 – CSDN博客
http://blog.csdn.net/heicm/archive/2009/10/23/4718011.aspx
ADO.NET Entity Framework


ADO.NET Entity Framework 入门示例向导(附Demo程序下载)- 系列2 – vbnetfun的专栏 – CSDN博客
http://blog.csdn.net/vbnetfun/archive/2008/08/25/2830076.aspx



Download ADO.NET Entity Framework
http://social.msdn.microsoft.com/Forums/fr-FR/adonetefx/thread/1d82ee20-e728-4e45-acbe-6094d563406d



SubSonic介绍和相关文章 – 成功的心 Blog – CSDN博客
http://blog.csdn.net/baogreat/archive/2008/10/29/3176079.aspx



PostgreSQL和DbLINQ – XCPP – C++博客
http://www.cppblog.com/xcpp/archive/2009/09/04/postgres_dblinq_galance.html?opt=admin



dblinq2007 – Project Hosting on Google Code
http://code.google.com/p/dblinq2007/



ADO.NET Entity Framework 试水——工具 – Evil 域 – 博客园
http://www.cnblogs.com/xiaomi7732/archive/2008/09/10/1287952.html



gsoc linq c# dblinq sqlite orm « GeuS’ Blog
http://geus.wordpress.com/tag/gsoc-linq-c-dblinq-sqlite-orm/



Chillisoft Blog » SQLite Gets an ORM Boost
http://www.chillisoft.co.za/blog/?p=34



Problem using SQLite :memory: with NHibernate – Stack Overflow
http://stackoverflow.com/questions/189280/problem-using-sqlite-memory-with-nhibernate



Any recommendations for Sqlite C# ORM code generation – Stack Overflow
http://stackoverflow.com/questions/1934303/any-recommendations-for-sqlite-c-orm-code-generation



CodeProject: Auto-Generating a Comprehensive C# Data Access Layer. Free source code and programming help
http://www.codeproject.com/KB/database/ornet2.aspx



NQuery
http://www.codeplex.com/NQuery



Auto Generate BLL for xsd DAL : asp.net 2.0, c#
http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_2.0/Q_23098054.html



Creating a Data Access Layer : Creating a Data Access Layer : The Official Microsoft ASP.NET Site
http://www.asp.net/(S(pdfrohu0ajmwt445fanvj2r3))/learn/data-access/tutorial-01-cs.aspx



Implementing a Data Access Layer in C#: ASP Alliance
http://aspalliance.com/837_implementing_a_data_access_layer_in_c



数据访问层代码CodeSmith自动生成模板(最新)_时钟空间
http://hi.baidu.com/yszofoceansoft/blog/item/c1f441835c89d7a90df4d26f.html



ORM与LINQ to SQL-China MSG-搜狐博客
http://chinamsg.blog.sohu.com/96098492.html



DataRabbit 轻量的数据访问框架(14)-- DataRabbit 3.0 与 Linq to sql 性能比较 – 技术应用 – 豆豆网
http://tech.ddvip.com/2008-11/122716322893859.html



NHibernate自动生成配置 – 程序人生 – 博客园
http://www.cnblogs.com/caidehui/archive/2005/01/27/98240.html



Asp.Net+Spring.Net+Nhibernate+MVC+Extjs的自动生成系统(加强版)_☆≈Jackchain≈☆
http://hi.baidu.com/jackvoilet/blog/item/d6ab33001a2d848de850cd1f.html



Asp.Net+Spring.Net+Nhibernate+MVC+Extjs的自动生成系统_☆≈Jackchain≈☆
http://hi.baidu.com/jackvoilet/blog/item/858ab37a320ee2e72f73b33c.html



iBATIS:“半自动化”的ORM实现 – 51CTO.COM
http://developer.51cto.com/art/200906/132134.htm



.NET ORM自动生成工具-MyGeneration — Windows Live
http://tomlt.spaces.live.com/blog/cns!aeb3e53eb4d7b7c1!594.entry



为自己的C# ORM 写一个代码自动生成器 – shmilyhe的专栏 – CSDN博客
http://blog.csdn.net/shmilyhe/archive/2009/11/30/4904697.aspx



NHibernate之旅(2):第一个NHibernate程序 – YJingLee’s Blog – 博客园
http://www.cnblogs.com/lyj/archive/2008/10/14/1310913.html



10分钟搞定Linq to NHibernate(一)——环境篇 – 刘冬的备忘录 – 博客园
http://www.cnblogs.com/GoodHelper/archive/2009/10/16/linq2nhibernate.html



10分钟搞定Linq to NHibernate(二)——查询篇 – 刘冬的备忘录 – 博客园
http://www.cnblogs.com/GoodHelper/archive/2009/10/18/Linq2NHibernate_select.html
NHiberate


LINQ TO SQLite开发实践指南,Linq to Sqlite如何开发(2) – 学IT网 xueit.com
http://www.xueit.com/Sqlite/show-4756-2.aspx



ORM与LINQ to SQL-China MSG-搜狐博客
http://chinamsg.blog.sohu.com/96098492.html



关于Linq To SQL和自己的ORM的一点思考 – 光影传说 – 博客园
http://www.cnblogs.com/dreamstec/archive/2008/02/11/1065343.html



LINQ和ORM – thankplus – CSDN博客
http://blog.csdn.net/penginpha/archive/2009/08/21/4469645.aspx



 

标签:, ,
20080603 bat extjs asp.net SubSonic - 二月 5, 2009 by yippee

20080603 bat extjs asp.net SubSonic
http://www.yippeesoft.com

http://blog.163.com/gonchi_teng/blog/static/36704692007112565553348/
批处理中的变量

http://bbs.et8.net/bbs/showthread.php?t=320976
关于bat的写法,bat中能否使用键盘输入参数.

http://www.5jia6.cn/blog/article.asp?id=172
[批处理]批处理获取当前时间(一)

http://www.cn-dos.net/forum/viewthread.php?tid=13588
不用LMOD,纯DOS下批处理可以建立日期目录吗?

if not exist %date:~4% md %date:~4%

安装了svn命令行客户端,将&leftsign;SVN_HOME&rightsign;\\bin路径加入Path中后,在命令行下试用svn命令,竟然发现提示信息全都是乱码。在网上搜索一番后,终于解决了问题。方法很简单,只需在系统环境变量中增加两项:LANG=zh_CN.UTF8 和 APR_ICONV_PATH=&leftsign;SVN_HOME&rightsign;\\iconv    试试看吧  :)

1、设置 LANG 环境变量为 en_US
   设置语言为英文。这样再使用SVN命令行就会看到正确的英文提示。

D:\\>set LANG=en_US
D:\\>svn
Type \’svn help\’ for usage.

2、设置 APR_ICONV_PATH 环境变量到正确的 SVN 目录 中的 iconv 子目录
   这样就会看到正确的中文提示。

D:\\>set APR_ICONV_PATH=d:\\svn-win32-1.4.5\\iconv
D:\\>svn
使用“svn help”得到用法。

rem 请输入年月:YYYY-MM
rem svn update "svn://192.168.9.28/prj" E:\\STATSVNRPT\\NetSoft
rem svn update "svn://192.168.9.28/sss" E:\\STATSVNRPT\\PCSoft
rem svn log -v –xml -r &leftsign;%date:~0,4%-%date:~5,2%-1&rightsign;:&leftsign;%date:~0,4%-%date:~5,2%-30&rightsign; "E:\\STATSVNRPT\\NetSoft" > E:\\STATSVNRPT\\rpt\\netsoft.log
rem echo %date:~0,4%-%date:~5,2%-1

rem svn log -v –xml -r &leftsign;%1-1&rightsign;:&leftsign;%1-30&rightsign; "E:\\STATSVNRPT\\NetSoft" > E:\\STATSVNRPT\\rpt\\netsoft.log
rem svn log -v –xml -r &leftsign;%1-1&rightsign;:&leftsign;%1-30&rightsign; "E:\\STATSVNRPT\\PCSoft" > E:\\STATSVNRPT\\rpt\\PCSoft.log

java -jar D:\\statsvn\\statsvn.jar  -output-dir E:\\STATSVNRPT\\rpt\\netsoft -threads 50  E:\\STATSVNRPT\\rpt\\netsoft.log E:\\STATSVNRPT\\NetSoft
java -jar D:\\statsvn\\statsvn.jar  -output-dir E:\\STATSVNRPT\\rpt\\PCSoft -threads 50  E:\\STATSVNRPT\\rpt\\PCSoft.log E:\\STATSVNRPT\\PCSoft

http://www.twinforms.com/aspmvc-home.htm
Asp.Net MVC Scaffold Generator 1.1

http://forums.subsonicproject.com/forums/default.aspx?GroupID=2
SubSonic 2.x

http://www.cnblogs.com/Ablog-sunny/archive/2008/03/16/1108395.html
抛开映射关系,不oo的数据访问写法

http://www.cnblogs.com/wuchang/archive/2008/02/10/1066680.html
有关SubSonic的新消息

http://www.cnblogs.com/mextb1860/archive/2008/02/07/1065784.html
 ExtJsExtenderControl不错的服务器控件
前段时间Extjs客户端控件非常火,这个控件集合也是我在codeplex闲逛的时候看的到.是利用asp.net ajax Library Extender模型 开发的服务端控件控件,当然只能运行在.net上,Extjs需要写太多JS代码.看着都头大,这个是服务端的控件,不用写任何JS,下载了.运行一下.不错.效果很好.大家都知道Extjs很大哦.不过我觉得用来开发MIS或者OA系统还是很不错的.开发网站还是又点吓人.,而且还提供了DEMO,开源地址:http://www.codeplex.com/ExtJsExtenderControl

http://www.szdev.cn/BlogView.aspx?pageid=0&ItemID=8&mid=1
Robin开发框架之SubSonic,DAL实现方案

http://www.codeplex.com/ExtJsExtenderControl/Release/ProjectReleases.aspx?ReleaseId=11133

http://extjs.com/forum/archive/index.php/t-8956.html
Control to integrate ExtJs Grid and Subsonic DAL

http://topic.csdn.net/u/20070816/16/dfee1c9e-7a7f-4ed2-bfc2-3765659c7e9b.html?492578928
未知的服务器标记“asp:ScriptManager”。

http://hi.baidu.com/qualylee/blog/item/cc593b1291c03a52f919b869.html
用VS2005创建一个Atlas Web应用程序(3)

安装Microsoft   ASP.NET   2.0   AJAX   Extensions

System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到指定的文件。

很明显的错误是缺少程序集.
解决办法:
1,如果你的程序运行在你能控制的服务器上,那么安装asp.net ajax就行了,这是System.Web.Extensions等dll做为GAC部署;
2,如果你的程序运行在虚拟主机上(无权安装程序),那么需要把System.Web.Extensions.dll和System.Web.Extensions.Design.dll
(通常在C:\\Program Files\\Microsoft ASP.NET\\ASP.NET 2.0 AJAX Extensions\\v1.0.61025目录下)2个dll复制到你的web程序的bin目录下就行了,这是应用程序级别的部署。

使用 AJAX Extensions 客户端进行 Web 服务调用
http://msdn.microsoft.com/zh-cn/magazine/cc163499.aspx

http://www.asp.net/ajax/downloads/
ASP.NET AJAX Control Toolkit

标签:, , , ,

20080529 asp.net SubSonic allowDefinition=‘MachineToApplication - 二月 3, 2009 by yippee

20080529 asp.net SubSonic allowDefinition=‘MachineToApplication
http://www.yippeesoft.com

>iis>找到目录>右键>属性>(主)目录>应用程序名>创建应用程序(注意:若IIS中没有应用程序名),先创建!若还不行把C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\ CONFIG\\machine.config中的allowDefinition=‘MachineToApplication‘改为allowDefinition=‘EveryWhere‘ 或者把web.config中authentication的 mode="None。

下面是配置根目录下的web.config文件中关于授权验证的配置
   <system.web>
        <authentication mode="Forms">
            <forms loginUrl="Admin/Login.aspx"></forms>
        </authentication>
        <authorization>
            <allow users="*"/>
        </authorization>
   </system.web>
   <location path="Admin">
        <system.web>
            <authorization>
                <deny users="?"/>
            </authorization>
        </system.web>
   </location>
   注意location节,location节不需要<authorization>节了,假若加了的话,便会出现"在应用程序级别之外使用注册为 allowDefinition=\’MachineToApplication\’ "这样的错误了,若在子文件下添加配置文件时也要注意相同的问题.

分析:没有把程序目录设为虚拟目录。
打开管理工具–Internet 信息服务,找到我的网站下的我的asp.net文件夹,右键选属性,在 "应用程序设置"这里,点一下 创建 ,给它分配和站点相同的程序池,确定,,ok了

在应用程序级别之外使用注册为 allowDefinition=\’MachineToApplication\’ 的节是错误的
2008年01月26日 星期六 17:32
情况一、

在应用程序级别之外使用注册为 allowDefinition=\’MachineToApplication\’ 的节是错误的。如果在 IIS 中没有将虚拟目录配置为应用程序,则可能导致此错误。

但是我确实在IIS中配置为应用程序了

解决方法:将此方案中的web.config文件删除掉,就ok了。

因为当前项目已经存在了一个web.config,也就是说再添加该项目时,就会继承该web.config,如果你再加的话,就会发生冲突。

情况二、

我曾经由于一个项目中带有两个Web.config而产生了上述错误。当我将包含另一个Web.config的文件夹删除掉之后问题消失。

当然,这里可能还有其他问题引发的。下面就是一个。

在ASP.NET2.0中,如果根目录允许匿名用户访问,而根目录下的一个页面(如Index.aspx)必须要登录(假设登录页面为login.aspx)后才能访问,根目录下的web.config文件必须这样配置:

<?xml version="1.0"?>

<configuration>
<appSettings>
</appSettings>
<connectionStrings>
</connectionStrings>

<system.web>
    <compilation debug="true"/>

    <!–<authentication mode="Windows"/>–>
    <authentication mode="Forms">
      <forms loginUrl="login.aspx" protection="All" path="/" timeout="30"/>
    </authentication>

    <authorization>

      <!–允许匿名–>
      <allow users="?"/>

    </authorization>

</system.web>

<location path="Info.aspx">
    <system.web>

      <!–认证项配置(在为一个单独页面指定认证信息时,authentication节只能从这个目录继承,不能单独设置)–>
      <!–
      <authentication mode="Forms">
        <forms name=".www.cnpp.info" loginUrl="login.aspx" protection="All" path="/" timeout="30"/>
      </authentication>
      –>

      <!–用户访问控制–>
      <authorization>

        <!–阻止匿名–>
        <deny users="?"/>

      </authorization>
    </system.web>
</location>

</configuration>

也就是在需要认证的页面配置节中不能配置authentication项,只能在在根目录中配置authentication项,Info.aspx从根目录继承. 否则会出现这样的错误: "在应用程序级别之外使用注册为 allowDefinition=\’MachineToApplication\’ 的节是错误的。如果在 IIS 中没有将虚拟目录配置为应用程序,则可能导致此错误 "

http://hi.baidu.com/liang90678/blog/item/96f8618b4ac1ef10c9fc7ad8.html
在应用程序级别之外使用注册为 allowDefinition=\’MachineToApplication\’

http://www.codeproject.com/KB/aspnet/Suite_MySQL_Provider.aspx
MySQL Membership, Role, Sitemap, Personalization Provider for ASP.Net 2.0

http://www.cnblogs.com/Hedonister/archive/2007/06/14/783952.html

http://www.cnblogs.com/Hedonister/archive/2007/09/13/892107.html
 使用PostSharp进行AOP框架设计:一个简单的原型

http://www.cnblogs.com/Hedonister/archive/2007/07/04/805947.html
使用CSS+SiteMap+UserControl+MasterPage实现简易的Tab

http://www.cnblogs.com/Hedonister/archive/2007/06/21/791948.html

http://www.cnblogs.com/Hedonister/archive/2007/06/21/791633.html
大名鼎鼎的JetBrains®今天发布一款免费的VS2005单元测试插件ReSharper UnitRun

http://www.cnblogs.com/bobmazelin/archive/2007/06/29/800149.html
AspectNet功能介绍(一)

http://geekswithblogs.net/scottkuhl/archive/2006/11/17/97470.aspx
Getting Started with SubSonic – Part 4, Configuration

http://www.codeplex.com/wapl
Welcome to the CodePlex project for WAPL (Web Application Project Libraries)

http://davidhayden.com/blog/dave/archive/2006/10/27/SubSonicActiveRecordCodeGenerationDAL.aspx
ActiveRecord and Code Generation – Data Access Layer RAD Tools – SubSonic: The Zero Code DAL

http://www.codeproject.com/KB/cs/SubSonic.aspx
Generating data layer using Subsonic.

http://blog.csdn.net/E_wsq/archive/2008/04/08/2260787.aspx
围绕Ext JS 2.0的IDE、插件和工具

http://fangzhouxing.javaeye.com/blog/146424
http://tof2k.com/ext/formbuilder/

http://www.codeproject.com/KB/applications/extjs_simple_component.aspx
Simple Component Inheritance In ExtJS

http://extjs.com/learn/Tutorial:Writing_a_Big_Application_in_Ext
Tutorial:Writing a Big Application in Ext

标签:, , , , ,