随笔分类 -  【03】Spring.Net

摘要:一、开发环境 VS2013 .netframework4.5 spring.net1.3.1 二、项目结构 三、开发过程 1.编写Person类 1 namespace SpringNetConfigArg 2 { 3 public class Person 4 { 5 public string UserN... 阅读全文
posted @ 2016-05-22 16:41 Kimisme 阅读(377) 评论(0) 推荐(0)
摘要:一、开发环境 操作系统:Win7 编译器:VS2010 二、涉及程序集 Spring.Core.dll Spring.Data.dll Common.Logging.dll 三、开发过程 1.项目结构 2.IAccountDao.cs namespace Dao { public interface IAccountDao { void... 阅读全文
posted @ 2016-04-03 22:00 Kimisme 阅读(847) 评论(0) 推荐(0)
摘要:一、开发环境 系统:win10 编译器:VS2013 二、涉及程序集 Spring.Core.dll 1.3.1 Common.Logging.dll 三、开发过程 1.项目结构 2.编写Mobile.cs namespace SpringNetMethodDi { public abstract class Mobile { //可以是... 阅读全文
posted @ 2016-04-01 21:11 Kimisme 阅读(571) 评论(0) 推荐(0)
摘要:一、开发环境 系统:Win10 编译器:VS2013 .net版本:.net framework4.5 二、涉及程序集 Spring.Core.dll 1.3.1 Common.Loggin.dll 三、开发过程 1.项目结构 2.编写Person.cs namespace SpringNetSetDi { public class Person { ... 阅读全文
posted @ 2016-03-31 22:51 Kimisme 阅读(795) 评论(0) 推荐(0)
摘要:一、开发环境 操作系统:Win10 编译器:VS2013 .Net版本:.net framework4.5 二、涉及程序集 Spring.Core.dll:1.3.1 Common.Logging.dll 三、开发过程 1.项目结构 2.编写Product.cs namespace SpringNetDi { public class Product ... 阅读全文
posted @ 2016-03-30 22:13 Kimisme 阅读(460) 评论(0) 推荐(1)
摘要:一、开发环境 编译器:VS2013 .Net版本:.net framework4.5 二、涉及程序集 Spring.Core.dll:1.3 Common.Logging 三、开发过程 1.项目结构 2.添加Person.cs namespace CreateObjects { public class Person { public o... 阅读全文
posted @ 2016-03-28 22:04 Kimisme 阅读(924) 评论(0) 推荐(0)
摘要:一、开发环境 操作系统:Win10 编译器:VS2013 framework版本:.net 4.5 Spring版本:1.3.1 二、涉及程序集 Spring.Core.dll Common.Loggin.dll 三、项目结构 四、开发过程 1.新建一个接口文件 namespace SpringNetIoc.IScene { public interface... 阅读全文
posted @ 2016-03-13 21:25 Kimisme 阅读(524) 评论(0) 推荐(0)
摘要:Spring对ADO.NET也提供了支持,依赖与程序集Spring.Data.dll IDbProvider IDbProvider定义了数据访问提供器的基础,配置如下 获取数据IDbProvider的方... 阅读全文
posted @ 2016-02-22 20:23 Kimisme 阅读(1064) 评论(0) 推荐(0)
摘要:http://www.springframework.net/download.html Spring.Net容器定义在程序集Spring.Core.dll中,它依赖于Common.Logging.dll。该程序集位于 Spring.NET-1.3.1\Spring.NET\bin\net\4.0\ 阅读全文
posted @ 2016-02-21 21:29 Kimisme 阅读(759) 评论(2) 推荐(0)
摘要:1.错误一:ObjectDefinitionStoreException “Spring.Objects.Factory.ObjectDefinitionStoreException”类型的未经处理的异常在 Spring.Core.dll 中发生 通过看详细信息,原来是找不到文件 未能找到文件“F:\20160221\Demo\CPrj\bin\Debug\objects.xm... 阅读全文
posted @ 2016-02-21 13:26 Kimisme 阅读(2207) 评论(0) 推荐(0)