自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(221)
  • 资源 (14)
  • 收藏
  • 关注

原创 记录用到的正规,验证中文、英文、数字、下划线

/// /// 计算字符数(中文占两位) /// /// /// static int CalStringLength(string str) { return System.Text.Encoding.Default.GetByteCount(str);

2015-10-20 09:29:01 1477

原创 chrome没有注册类解决

Win+R  输入 regedit.exe 找到[HKEY_CLASSES_ROOT\Chrome]删除找到[HKEY_CLASSES_ROOT\Chrome.******]删除保留[HKEY_CLASSES_ROOT\ChromeHTML]找到[HKEY_CLASSES_ROOT\ChromeHTML.****]删除[HKEY_CLASSES_RO

2015-05-28 13:03:18 3138

原创 C#dll版本号默认生成规则

1.版本号自动生成方法只需把 AssemblyInfo.cs文件中的[assembly:AssemblyVersion("1.0.0.0")]改成[assembly:AssemblyVersion("1.0.*")],另外还需要把[assembly:AssemblyFileVersion("1.0.0.0")]注释屏蔽掉。这样再生成的程序集就是自动版本号了。2.按照这个

2015-04-20 16:03:27 5332

原创 DataTable去掉重复行

private DataTable DistinctRow(DataTable table) { DataTable newTable = table.Clone(); var group = from r in table.AsEnumerable() group r by new {

2015-04-15 14:33:40 821

原创 Oracle 生成批量删除现有表

select 'drop table '||table_name||' purge;' from user_tables where table_name like  'AAA%'注意 table_name like  'AAA%' 表名必须是大写

2015-04-14 16:32:51 730

原创 C# Oracle同时执行多条sql语句

最近经常要在程序中创建不同的表create table TableName ( Id NUMBER not null, Age NUMBER not null, Name NVARCHAR2(50) );comment on co

2015-04-01 14:46:18 7843

原创 C#读取已经被占用的文件

FileStream file = new FileStream("test.xlsx", FileMode.Open, FileAccess.Read, FileShare.ReadWrite);

2015-03-16 16:34:31 2531

原创 Oracle Update select

update table1 set t1.NoFee=(select decode(sign((t1.N+:N)-t2.b),1,t2.b,N+:N) from table2 t2 where t2.c=:c) ,Updatetime=:UpdateTime where t1.c=:c

2015-03-16 10:07:16 572

原创 js for in

Document var obj={"MBBindingType":1,"Superscript":"注册送3元","TxtRegisterButton":"立即注册","TxtLoginButton":"立即登录","DescModels":[{"PropertieName":"MBBindingType","PropertieDesc":"手机验证类型"},{"PropertieNa

2015-03-11 22:21:35 423

转载 sublime C#注释配置

C#中的注释快捷键是无效的,这是因为 Packages文件夹 中缺少了定义注释行为的文件。打开Packages,在C#文件夹中添加一个名为: Comments.tmPreferences 文件,输入如下内容: name Comments scope source.cs settings s

2015-02-05 08:40:33 979

转载 .NET开发者必备的工具箱

主要工具Visual Studio——IDEs工具之王,.NET开发者的必备IDE。Visual Studio提供非常强大的启动工具箱,并且还有一些让人惊喜的插件支持。在去年11月,微软发布了Visual Studio 2013社区版,免费提供给学生、开源贡献者及初创企业使用。每一次版本更新都会给开发者带来无限惊喜。SQL Server Management Studio——S

2015-01-30 09:05:35 618 1

原创 Sublime text2使用

添加右键菜单1.打开注册表,开始→运行→regedit2.在 HKEY_CLASSSES_ROOT→ * → Shell 下面新建项命名为 Edit with Sublime Text3.在新建字符串值 命名为Icon,值为 “Sublime text 所在路径,0″,我这里就是D:\Program Files (x86)\Sublime Text 2\sublime_text.exe

2015-01-11 10:05:54 638

原创 创建刷新物化视图存储过程

CREATE PROCEDURE REFRESH_MV(viewName in varchar2)ASBEGIN  sys.DBMS_SNAPSHOT.refresh(viewName);END;

2015-01-09 13:33:20 1325

原创 分享两个小软件

http://www.converticon.com/http://www.resedit.net/

2015-01-02 10:40:08 528

原创 求某年有多少周

/// /// 求某年有多少周 /// 返回 int /// /// /// int 周数 public static int GetYearWeekCount(DateTime year) { string returnStr = "";

2014-12-10 14:13:35 549

原创 socket通信简单示例

服务端:static void Main(string[] args)        {            Start();        }        static void Start()        {            string hostIp = ConfigurationManager.AppSettings["Hos

2014-11-25 15:40:34 639

转载 Sublime快捷键

ctrl+shift+n 打开新Sublimectrl+shift+w 关闭Sublime,关闭所有打开文件ctrl+shift+t 重新打开最近关闭文件ctrl+n 新建文件ctrl+s 保存ctrl+shift+s 另存为ctrl+f4 关闭文件ctrl+w 关闭ctrl+k, ctrl+b 切换侧边栏显示状态f11 切换全屏状态shift+f11 免打

2014-11-24 08:57:35 511

原创 win8.1下安装MSI

打开cmd(重见天日)

2014-10-27 09:10:34 1219 1

原创 分享一个正则学习工具

正则学习工具Ultrapico Expresso

2014-10-23 09:56:36 494

原创 一个项目多个appconfig

主appconfig --> -->

2014-10-10 21:55:19 2611

原创 MVC4 Controller和Action生成模板所在文件夹

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplates\CSharp\Web\MVC 4\CodeTemplates

2014-08-18 16:20:40 1844

原创 一些不错的网站

ASP.NET MVC

2014-08-16 10:20:21 4528

原创 Linq to DB 解决方案ALinq

Linq to SQL 是不支持除了 SQL Server 和 SQL CE 之外的数据库,如果你需要的是 Linq to DB 解决方案,可以使用ALinq

2014-06-27 09:31:56 1157

原创 C#反射获取私有字段

using System;using System.Collections.Generic;using System.Text;using System.Reflection;namespace ReflectionDemo{ class Program { static void Main(string[] args) {

2014-06-26 13:35:27 12195 2

原创 C#不重启程序读取appconfig

using System;using System.Collections.Generic;using System.Configuration;using System.Linq;using System.Text;namespace Demo{ class Program { static void Main(string[] args)

2014-06-13 16:12:50 1531

原创 判断是不是C#内置类型

private static bool IsBulitinType(Type type){ return (type == typeof(object) || Type.GetTypeCode(type) != TypeCode.Object);}

2014-05-22 11:33:12 3846

原创 引用webservice 已超过传入消息(65536)的最大消息大小配额。若要增加配额,请使用相应绑定元素上的 MaxReceivedMessageSize 属性。

binding="customBinding" bindingConfiguration="AlarmMonitorEventSoap12"                contract="Service.AlarmMonitorEventSoap" name="AlarmMonitorEventSoap12" />

2014-05-09 17:13:47 5689

原创 VS2008下载地址

http://download.microsoft.com/download/d/8/9/d89c9839-ac45-4a6c-b25f-2f60b190e356/VS2008TeamSuiteENU90DayTrialX1429235.iso

2014-05-03 15:34:17 940

原创 MVC return View(string viewName) 中viewName的表达方式

首先在Views中创建一个文件夹Other,再创建一个Index.cshtml在HomeController 中的Index Action 中的return View可以如下return View("../Other/Index");return View("/Views/Other/Index.cshtml");

2014-04-01 17:19:24 14168 1

原创 看到一篇很好的文章

public override IHttpHandler GetHandler ( HttpContext context, string requestType, string virtualPath, string path){ Page page = base.GetHandler (context, requestType, virtualPath, path)

2014-03-23 09:46:58 787

原创 T4 同解决方案下分别读写不同项目下的AppConfig和WebConfig

首先为了能读写webconfig,需要引用System.Web.Configuration;当然读取appconfig 需要有System.Configuration;<#+private void WriteWebConfig(string webProjectName){ string appPath = Path.Combine(Host.ResolveAs

2014-03-12 14:00:27 2647

原创 AppConsole中把当前的App.config连接字符串写入到同解决方案下的Web项目下的webcofig

首先为了能读写webconfig,需要引用System.Web.Configuration;当然读取appconfig 需要有System.Configuration;class Program { static void Main(string[] args) { string s=System.Configuration

2014-03-12 10:50:27 1410

原创 Linq查询出现"此上下文仅支持基元类型或枚举类型。"解决方法

今天用Linq查询的时候,出现“此上下文仅支持基元类型或枚举类型。”var query = from user in userService.Entities join role in roles on user.ID equals role.USER_ID select new {user};提示的是role的当中还

2014-03-11 10:20:13 14264 1

原创 EF中"实体类型 XXXXX 不是当前上下文的模型的一部分。" 解决方法

我的实体是用T4自己生成的,过滤一了些模型属性,当返回数据时出现"实体类型 XXXXX 不是当前上下文的模型的一部分。" 后来和模型视图比对,发现少了关联字段,添加上后正常如果比对不出来,可用原来的tt生成的实体进行比对

2014-03-10 17:11:31 25928

原创 T4模板生成文件后加入到解决方案

这是老外的文章,大家可以参考下http://shengjieinsight.com/blog/2013/12/use-envdte-addremove-multiple-files-to-project/

2014-03-07 16:55:19 3435

原创 T4模板中获取当前项目或解决方案路径

<# string solutionsPath = Host.ResolveAssemblyReference("$(SolutionDir)"); string projectPath = Host.ResolveAssemblyReference("$(ProjectDir)");#>

2014-03-04 11:01:18 5612

原创 Unity调用方法注入

接口using System;using System.Collections.Generic;using System.Linq;using System.Security.Cryptography.X509Certificates;using System.Text;namespace UnityDemo3{ public interface ISqlMapper

2014-02-11 17:37:15 2958

转载 用Unity注入webservice

看到老外的一个用Unity依赖注入webservice的文章思路清晰地址如下http://www.codeproject.com/Articles/310677/ASP-NET-Web-Services-Dependency-Injection-using-Un

2014-02-11 10:21:56 2127

原创 Webservice接收16进制字符串并保存相应的文件

今天ipad那面想做下webservice上传图片,我这面要做个测试的接口,用于测试图片是以16进制的字符串传过来,并同时传进来文件名称,因为只是测试所以,最简单的写了一个[WebMethod] public void UploadFile(string fs,string fileName) { byte[] bas

2014-01-16 13:44:50 1185

原创 Webservice中Global.asax文件的Application_Start不能触发

Webservice中Global.asax文件的Application_Start不能触发后来发现是用的本地的iis,所以Application_Start不能触发,但是在vs自带的IISExpress却可以Application_BeginRequest在IIS下和IISExpress都可以触发

2013-12-25 15:39:00 8016

Pro Spring 5, 5th Edition

Master Spring basics and core topics, and share the authors’ insights and real–world experiences with remoting, Hibernate, and EJB. Beyond the basics, you'll learn how to leverage the Spring Framework to build the various tiers and parts of an enterprise Java application: transactions, web and presentation tiers, deployment, and much more. A full sample application allows you to apply many of the technologies and techniques covered in Pro Spring 5 and see how they work together. This book updates the perennial bestseller with the latest that the new Spring Framework 5 has to offer. Now in its fifth edition, this popular title is by far the most comprehensive and definitive treatment of Spring available. It covers the new functional web framework and interoperability with Java 9. After reading this definitive book, you'll be armed with the power of Spring to build complex Spring applications, top to bottom. The agile, lightweight, open-source Spring Framework

2017-10-18

ASP.NET MVC with Entity Framework and CSS

This book will teach readers how to build and deploy a fully working example retail website using Microsoft ASP.NET MVC and Entity Framework technologies and recommendations. This book contains several solutions to real world issues that developers will frequently encounter. Whether you are a novice developer or an experienced .NET developer wishing to learn more about MVC and Entity Framework, author Lee Naylor will teach you how to develop a detailed database driven example website using Microsoft ASP.NET and Entity Framework Code First with fully explained code examples including: • Filtering and Searching Related Data using Linq • Using code first migrations to automatically update the database plus seeding data from code • How to use Visual Studio Scaffolding views and controllers • Manage CRUD operations including model binding as recommended by Microsoft and dealing with cascading deletions correctly • Input and data validation using Attributes • Sorting and paging through data and routing for friendly URL formats • Authorization and Authentication using Microsoft Identity v2 by making use of Microsoft example code including correct use of redirection after login and registration • Advanced techniques including managing data concurrency conflicts and using two database contexts • Asynchronous database access and paging • Azure deployment using Code First Migrations, remote debugging and viewing/editing your remote data • CSS Styling including animation and media queries What You Will Learn: • Get up and running quickly with ASP.NET MVC and Entity Framework building a complex web site to display and manage several related entities • How to integrate Identity code into a project • Advanced topics including: Asynchronous database access and managing data conflicts • Working with Microsoft Azure including remote debugging and database access • CSS skills including animations and media queries for use with tablet or mobile/cell phone devices

2017-09-25

Bootstrap for ASP.NET MVC, 2nd Edition

One of the leading open source frontend frameworks, Bootstrap has undergone a significant change and introduced several features that make designing compelling, next-generation UIs much simpler. Integrating Bootstrap with ASP.NET’s powerful components can further enhance its capabilities. This book guides you through the process of creating an ASP.NET MVC website from scratch using Bootstrap. You will learn about the various Bootstrap components as well as techniques to include them in your own projects. The book includes practical examples to show you how to use open source plugins with Bootstrap and ASP.NET MVC and guides you through building an ASP.NET MVC website using Bootstrap, utilizing layout and user interface components. At the end of this book, you will find some valuable tips and tricks to help you get the most out of your Bootstrap- and ASP.NET MVC-integrated website. What You Will Learn Create a new ASP.Net MVC 6 project that uses Bootstrap for its styling and learn how to include external libraries using the new package managers Learn to use the various Bootstrap CSS and HTML elements, and how to use the new Bootstrap 4 grid layout system with ASP.Net MVC Explore the different input groups and implement alerts, progress bars, and badges Explore JavaScript components by illustrating and walking through the process of using JavaScript/JQuery to add interactivity to Twitter Bootstrap components Build your own ASP.Net MVC helpers and tag helpers to reduce the amount of HTML needed to generate Bootstrap elements in your projects Convert a Bootstrap HTML template into a usable ASP.Net MVC project Use the jQuery DataTables plugin with Bootstrap and ASP.Net MVC Learn to include and use the TwitterBootstrapMVC library in an ASP.Net MVC project

2017-09-25

ASP.NET Core Recipes, 2nd Edition

Quickly find solutions to common web development problems. Content is presented in the popular problem-solution format. Look up the problem that you want to solve. Read the solution. Apply the solution directly in your own code. Problem solved! ASP.NET Core Recipes is a practical guide for developers creating modern web applications, cutting through the complexities of ASP.NET, jQuery, React, and HTML5 to provide straightforward solutions to common web development problems using proven methods based on best practices. The problem-solution approach gets you in, out, and back to work quickly while deepening your understanding of the underlying platform and how to develop with it. Author John Ciliberti guides you through the MVC framework and development tools, presenting typical challenges, along with code solutions and clear, concise explanations, to accelerate application development. Solve problems immediately by pasting in code from the recipes, or put multiple recipe solutions together to overcome challenging development obstacles. What You’ll Learn Take advantage of MVC’s streamlined syntax Discover how to take full control over HTML Develop a simple API for creating RESTful web services Understand test-driven development Migrate a project from ASP.NET web forms to Core MVC, including recipes for converting DataGrids, Forms, Web Parts, Master Pages, and navigation controls Use Core MVC in combination with popular JavaScript libraries, including jQuery, React, Bootstrap, and more Write unit tests for your MVC controllers, views, custom filters, and HTML helpers Utilize the latest features in Visual Studio 2017 to accelerate your Core MVC projects Identify performance bottlenecks in your MVC application

2017-09-25

Enhancing Adobe Acrobat DC Forms with JavaScript

Take your PDF forms to the next level. In this book, you’ll learn various ways to further improve your PDF Forms using simple JavaScript coding. You’ll also discover how a few lines of code can speed up your workflow when working with multiple PDFs in Action Wizard. Enhancing Adobe Acrobat DC Forms with JavaScript covers up-to-date, real working examples that you can easily download, practice with, and edit to suit your own projects. Using screenshots from Adobe Acrobat DC, users or previous versions will also be able to utilize these techniques. This book also shows workarounds and solutions to various form issues you might encounter. Feel empowered by it and improve your PDF documents! JavaScript has been a part of Adobe Acrobat for many versions. However, few people use its features and focus mainly on using the basic form properties, never delving deeper into Acrobat’s full capabilities. While information on the web can be helpful, if you don’t know enough about how to use JavaScript in Acrobat you will be left with poor results. JavaScript can be difficult to learn, but it does not need to be scary. This book explains it in simple steps at a beginner to intermediate level so you can take full advantage of Acrobat’s capabilities in your own projects. What You’ll Learn • Create calculations, rating forms, and QR code stamps using the form elements • Explore simplified field notation and basic JavaScript for Acrobat • Work with buttons that can be used for navigation • Utilize complex forms that include drop down and list boxes in combination with other form fields • Work with Action Wizard and JavaScript • Improve form navigation and printing of forms • Add various types of alerts and custom validations to improve client-entered-data

2017-09-25

Docker Management Design Patterns

Master every aspect of orchestrating/managing Docker including creating a Swarm, creating services, using mounts, scheduling, scaling, resource management, rolling updates, load balancing, high availability, logging and monitoring, using multiple zones, and networking. This book also discusses the m

2017-09-25

Beginning ASP.NET MVC 4

By now you’ll have heard of ASP.NET MVC. This exciting new approach to developing ASP.NET web applications has taken the development world by storm over the last few years. Now a mature technology suitable for mainstream use, its adoption has exploded in recent times. By now you’ll have heard of ASP.NET MVC. This exciting new approach to developing ASP.NET web applications has taken the development world by storm over the last few years. Now a mature technology suitable for mainstream use, its adoption has exploded in recent times. With the aid of a fully worked demo application this book explains and demonstrates for you the three pillars of MVC in action. You’ll see howthe Model, View and Controller patterns work together in a compliementary manner to provide MVC’s powerful results. There’s never been a better time to learn how to use ASP.NETMVC 4. The technology will speed your development times, reduce the verbosity of your code and simplify your application designs all at once. Take the first step towards ASP.NET MVC mastery with Beginning ASP.NET MVC 4.

2013-09-20

ASP.NET MVC 4 in Action

ASP.NET MVC 4 in Action is a fast-paced tutorial designed to introduce ASP.NET MVC to .NET developers and show how to apply it effectively. All examples in this revised edition are based on ASP.NET MVC 4, so you’ll get full coverage of features such as the Razor view engine, Web Matrix helpers, and improved extensibility. You’ll see how your ASP.NET applications can benefit from changes in the .NET Framework. About the TechnologyASP.NET MVC provides the architecture needed to separate an application’s logic and its UI. Because each component’s role is well defined, MVC applications are easy to test, maintain, and extend. The latest version, ASP.NET MVC 4, takes advantage of .NET 4 and includes powerful features like the Razor view engine, Web Matrix helpers, and enhanced extensibility.

2013-09-20

Pro ASP.NET MVC 4, 4th edition

The ASP.NET MVC 4 Framework is the latest evolution of Microsoft’s ASP.NET web platform. It provides a high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility, combined with all the benefits of ASP.NET. ASP.NET MVC 4 contains a number of significant advances over previous versions. New mobile and desktop templates (employing adaptive rendering) are included together with support for jQuery Mobile for the first time. New display modes allow your application to select views based on the browser that’s making the request while Code Generation Recipes for Visual Studio help you auto-generate project-specific code for a wide variety of situtations including NuGet support. In this fourth edition, the core model-view-controller (MVC) architectural concepts are not simply explained or discussed in isolation, but are demonstrated in action. You’ll work through an extended tutorial to create a working e-commerce web application that combines ASP.NET MVC with the latest C# language features and unit-testing best practices. By gaining this invaluable, practical experience, you’ll discover MVC’s strengths and weaknesses for yourself—and put your best-learned theory into practice.

2013-09-20

spring.net中文手册在线版

Spring.NET是一个应用程序框架,其目的是协助开发人员创建企业级的.NET应用程序。它提供了很多方面的功能,比如依赖注入、面向方面编程(AOP)、数据访问抽象及ASP.NET扩展等等。Spring.NET以Java版的Spring框架为基础,将Spring.Java的核心概念与思想移植到了.NET平台上。 第一章 序言 第二章 简介 2.1.概述 2.2.背景 2.3.模块 2.4.许可证信息 2.5.支持 第三章 背景 3.1.控制反转 第一部分 核心技术 第四章 对象、对象工厂和应用程序上下文 4.1.简介 4.2.IObjectFactory,IApplicationContext和IObjectDefinition接口介绍 4.2.1.The IObjectFactory和IApplicationContext 4.2.2.对象定义 4.2.3.对象的创建 4.2.3.1.通过构造器创建对象 4.2.3.2.通过静态工厂方法创建对象 4.2.3.3.通过实例工厂方法创建对象 4.2.4.泛型类的对象创建 4.2.4.1.通过构造器创建泛型类的对象 4.2.4.2.通过静态工厂方法创建泛型类的对象 4.2.4.3.通过实例工厂方法创建泛型类的对象 4.2.5.对象标识符(id和name) 4.2.6.Singleton和Prototype 4.3.属性,协作对象,自动装配和依赖检查 4.3.1.设置对象的属性和协作对象 4.3.2.构造器参数解析 4.3.2.1.根据参数类型匹配构造器参数 4.3.2.2.根据参数索引匹配构造器参数 4.3.2.3.根据名称匹配构造器参数 4.3.3.详细讨论对象属性和构造器参数 4.3.3.1.设置空值 4.3.3.2.设置集合值 4.3.3.3.设置泛型集合的值 4.3.3.4.设置索引器属性 4.3.3.5.内联对象定义 4.3.3.6.idref节点 4.3.3.7.引用协作对象 4.3.3.8.value和ref节点的简短格式 4.3.3.9.复合属性名 4.3.4.方法注入 4.3.4.1.查询方法注入 4.3.4.2.替换任意方法 4.3.5.引用其他对象或类型的成员 4.3.5.1.使用对象或类的属性值进行注入 4.3.5.2.使用字段值进行注入 4.3.5.3.使用方法的返回值进行注入 4.3.6.IFactoryObject接口的其它实现 4.3.6.1.Log4Net 4.3.7.使用depends-on 4.3.8.自动装配协作对象 4.3.9.检查依赖项 4.4.类型转换 4.4.1.枚举类型的转换 4.4.2.内置的类型转换器 4.4.3.自定义类型转换器 4.4.3.1.使用CustomConverterConfigurer类 4.5.自定义对象的行为 4.5.生命周期接口 4.5.1.1.IInitializingObject接口和init-method属性 4.5.1.2.IDisposable接口和destroy-method属性 4.5.2.让对象了解自己的容器 4.5.2.1.IObjectFactoryAware接口 4.5.2.2.IObjectNameAware接口 4.5.3.IFactoryObject接口 4.6.抽象与子对象定义 4.7.与IObjectFactory接口交互 4.7.1.获得IFactoryObject对象本身,而非其产品 4.8.使用IObjectPostProcessor接口自定义对象 4.9.使用IObjectFactoryPostProcessor定制对象工厂 4.9.1.PropertyPlaceholderConfigurer类 4.9.1.1.使用环境变量进行替换 4.9.2.PropertyOverrideConfigurer类 4.10.使用alias节点为对象添加别名 4.11.IApplicationContext简介 4.12.配置应用程序上下文 4.12.1.注册自定义解析器 4.12.2.创建自定义资源处理器 4.12.3.配置类型别名 4.12.4.注册类型转换器 4.13.IApplicationContext接口的扩展功能 4.13.1.上下文继承 4.13.2.使用IMessageSource接口 4.13.3.在Spring.NET内部使用资源 4.13.4.松耦合事件模型 4.13.5.IApplicationContext的事件通知 4.14.定制IApplicationContex中对象的行为 4.14.1.IApplicationContextAware标识接口 4.14.2.IObjectPostProcessor接口 4.14.3.IObjectFactoryPostProcessor接口 4.14.4.PropertyPlaceholderConfigurer类 4.15.从其它文件中导入对象定义 4.16.服务定位器访问 第五章. IObjectWrapper接口和类型转换 5.1.简介 5.2.使用IObjectWrapper接口管理对象 5.2.1.读、写普通及嵌套的属性 5.2.2.其它功能 5.3.类型转换 5.3.1.转换枚举类型 5.4.内置类型转换器 第六章. IResource接口 6.1.简介 6.2.IResource接口 6.3.内置的IResource实现类 6.4.IResourceLoader接口 6.5.IResourceLoaderAware接口 6.6.应用程序上下文和IResource路径 第七章. 多线程和并发操作 7.1.简介 7.2.线程本地存储 7.3.同步基础 7.3.1.ISync 7.3.2.SyncHolder 7.3.3.Latch 7.3.4.Semaphore 第八章. 对象池 8.1.简介 8.2.接口和实现 第九章. Spring.NET杂记 9.1.简介 9.2.PathMatcher 9.2.1.通用规则 9.2.2.匹配文件名 9.2.3.匹配子目录 9.2.4.大小写需要考虑,斜线可以任意 第十章. 表达式求值 10.1.简介 10.2.表达式求值 10.3.语言参考 10.3.1.文字表达式 10.3.2.属性,数组,列表,字典,索引器 10.3.2.1.定义内联的数组、列表和词典 10.3.3.方法 10.3.4.操作符 10.3.4.1.关系操作符 10.3.4.2.逻辑操作符 10.3.4.3.算术运算符 10.3.5.赋值 10.3.6.表达式列表 10.3.7.类型 10.3.8.类型注册 10.3.9.构造器 10.3.10.变量 10.3.10.1.'#this'和'#root'变量 10.3.11.三元操作符(If-Then-Else) 10.3.12.列表的投影(Projection)和选择(Selection) 10.3.13. 集合处理器和聚合器 10.3.13.1.Count聚合器 10.3.13.2.Sum聚合器 10.3.13.3.Average聚合器 10.3.13.4.Minimum聚合器 10.3.13.5.Maximum聚合器 10.3.13.6.nonNull处理器 10.3.13.7.distinct处理器 10.3.13.8.sort处理器 10.3.14.引用容器中的对象 10.3.15.Lambda表达式 10.3.16.空目标 10.4.本章使用的示例类型 第十一章. 验证框架 11.1.简介 11.2.用法示例 11.3.验证对象组 11.4.验证对象 11.4.1.条件验证对象 11.4.2.必需性验证对象 11.4.3.正则表达式验证对象 11.4.4.通用验证对象 11.4.5.条件型验证 11.5.验证行为 11.5.1.错误消息行为 11.5.2.通用行为 11.6.引用验证对象 11.7.在ASP.NET中的使用技巧 11.7.1.显示验证错误 11.7.1.1.配置错误显示类 第十二章. 使用Spring.NET进行面向方面的编程 12.1.简介 12.1.1.AOP基本概念 12.1.2.Spring.NET AOP的功能 12.1.3.Spring.NET的AOP代理 12.2.Spring.NET中的切入点 12.2.1.概念 12.2.2.切入点的操作 12.2.3.Spring.NET提供的切入点实现类 12.2.3.1.静态切入点 12.2.3.2.动态切入点 12.2.4.自定义切入点 12.3.Spring.NET的通知类型 12.3.1.通知的生命周期 12.3.2.通知类型 12.3.2.1.拦截环绕通知 12.3.2.2.前置通知 12.3.2.3.异常通知 12.3.2.4.后置通知 12.3.2.5.引入通知 12.4.Spring.NET中的Advisor 12.5.使用ProxyFactoryObject创建AOP代理 12.5.1.基本原理 12.5.2.ProxyFactoryObject的属性 12.5.3.代理接口 12.5.4.代理一个类 12.6.使用ProxyFactory类以编程方式创建AOP代理 12.7.管理目标对象 12.8.使用“自动代理”功能 12.8.1.自动代理对象的定义 12.8.1.1.ObjectNameAutoProxyCreator 12.8.1.2.DefaultAdvisorAutoProxyCreator 12.8.1.3.AbstractAutoProxyCreator 12.8.2.使用特性驱动的自动代理 12.9.使用TargetSources 12.9.1.动态切换TargetSource 12.9.2.池化TargetSource 12.9.3.PrototypeTargetSource 12.10.定义新的通知类型 12.11.参考资源 第十三章.通用日志抽象层 13.1.简介 13.1.1.Logging API 13.2.实现与配置 13.2.1.控制台Logger 13.3.Log4Net 第二部分. 中间层数据访问 第十四章. 事务管理 14.1.简介 14.2.动机 14.3.核心接口 14.4.用事务进行资源同步 14.4.1.高层次方法 14.4.2.低层次方法 14.5.声明式事务管理 14.5.1.理解Spring.NET声明式事务管理的实现 14.5.2.第一个例子 14.5.3.Transaction特性的设置 14.5.4.通过AutoProxyCreator使用声明式事务 14.5.5.通过TransactionProxyFactoryObject使用声明式事务 14.5.6. 通过ProxyFactoryObject使用声明式事务 14.5.7. Using Abstract object definitions 14.5.8. Declarative Transactions using ProxyFactoryObject 14.6. 编程方式的事务管理 14.6.1.使用TransactionTemplate 14.6.2.使用IPlatformTransactionManager 14.7.选择编程方式还是声明方式 第十五章. 数据访问对象 15.1.简介 15.2.统一的异常体系 15.3.为数据访问对象提供的统一抽象基类 第十六章. DbProvider 16.1.简介 16.1.1.IDbProvider和DbProviderFactory 16.1.2. XML配置 16.1.3.管理连接字符串 第十七章. 使用ADO.NET进行数据访问 17.1.简介 17.2.动机 17.3.Provider抽象 17.3.1.创建IDbProvider类型的实例 17.4.命名空间 17.5.数据访问的方式 17.6.AdoTemplate简介 17.6.1.执行回调 17.6.2.在.NET 2.0中执行回调 17.6.3. .NET 1.1 17.6.4.AdoTemplate方法指南 17.7.异常翻译 17.8.参数管理 17.8.1. IDbParametersBuilder 17.8.2. IDbParameters 17.9. Mapping DBNull values 17.10. Basic data access operations 17.10.1. ExecuteNonQuery 17.10.2. ExecuteScalar 17.11. Queries and Lightweight Object Mapping 17.11.1. ResultSetExtractor 17.11.2. RowCallback 17.11.3. RowMapper 17.11.4. Query for a single object 17.11.5. Query using a CommandCreator 17.12. DataTable and DataSet 17.12.1. DataTables 17.12.2. DataSets 17.13. Deriving Stored Procedure Parameters 17.14. Database operations as Objects 17.14.1. AdoNonQuery 17.14.2. AdoQuery 17.14.3. MappingAdoQuery 17.14.4. Stored Procedure 17.14.5. DataSetOperation 18. ORM集成 18.1. 简介 第三部分. Web框架 第十九章. Web框架 19.1.简介 19.2.自动装载应用程序上下文和应用程序上下文嵌套 19.2.1. 配置 19.2.2.上下文嵌套 19.3.为ASP.NET页面进行依赖注入 19.3.1.为Web控件进行依赖注入 19.4.Master Page 19.4.1.将子页面与Master Page关联 19.5.双向数据绑定 19.5.1.数据绑定的后台实现 19.5.1.1.绑定方向 19.5.1.2.Formatters 19.5.1.3.类型转换 19.5.1.4.数据绑定事件 19.6.本地化 19.6.1.使用Localizer进行自动本地化(“推”模型) 19.6.2.使用Localizer 19.6.3.手动应用资源(“拉”模型的本地化) 19.6.4.在Web应用程序中进行图像本地化 19.6.5.全局资源 19.6.6.用户语言文化管理 19.6.6.1. DefaultWebCultureResolver 19.6.6.2. RequestCultureResolver 19.6.6.3. SessionCultureResolver 19.6.6.4. CookieCultureResolver 19.6.7.更改语言文化 19.7.结果映射 19.8.客户端脚本 19.8.1.在HTML的head节点内注册客户端脚本 19.8.2.向节点中添加CSS定义 19.8.3.全局目录(Well-Known Directories) 第四部分. 服务 第二十章. .NET Remoting 20.1.简介 20.2.在服务端发布SAO 20.2.1.SAO Singleton 20.2.2.SAO SingleCall 20.2.3.IIS应用程序配置 20.3.在客户端访问SAO 20.4.CAO 最佳实践 20.5.在服务端注册CAO 20.5.1.向CAO对象应用AOP通知 20.6.在客户端访问CAO 20.6.1.向客户端的CAO对象应用AOP通知 20.7. XML Schema for configuration 20.8.参考资源 第二十一章. .NET企业服务 21.1.简介 21.2.服务组件 21.3.服务端 21.4.客户端 第二十二章. Web服务 22.1.服务端 22.1.1.消除对.asmx文件的依赖 22.1.2.向web服务中注入依赖项 22.1.3.将PONO发布为web服务 22.1.4.将AOP代理发布为web服务 22.1.5.客户端的问题 22.2.客户端 22.2.1.WebServiceProxyFactory 22.2.2.WebServiceClientFactory 第二十三章. Windows后台服务 23.1.备注 23.2.简介 23.3.Spring.Services.WindowsService.Process.exe应用程序 23.3.1.安装 23.3.2.配置 23.4.将应用程序上下文发布为Windows服务 23.4.1.service.config 23.4.1.1.让应用程序了解自身的位置 23.4.2.watcher.xml - 可选的配置 23.4.3.bin目录 - 可选 23.5.自定义或扩展 23.5.1. .config文件 第五部分. 与Visual Studio.NET集成 第二十四章. 与Visual Studio.NET集成 24.1.XML编辑与验证 24.2.XML Schema的版本 24.3.集成API文档 第六部分. 快速入门程序 第二十五章. IoC快速入门 25.1.简介 25.2.Movie Finder 25.2.1.开始建立MovieFinder应用程序 25.2.2.第一个对象定义 25.2.3.属性注入 25.2.4.构造器参数注入 25.2.5.总结 25.2.6.日志 25.3.应用程序上下文和IMessageSource接口 25.3.1.简介 25.4.应用程序上下文和IEventRegistry接口 25.4.1.简介 25.5.对象池示例 25.5.1.实现Spring.Pool.IPoolableObjectFactory 25.5.2.使用池中的对象 25.5.3.利用executor执行并行的grep 25.6.AOP 第二十六章. AOP指南 26.1.简介 26.2.基础知识 26.2.1.应用通知 26.2.2.使用切入点-基本概念 26.3.深入探讨 26.3.1.其它类型的通知 26.3.1.1.前置通知 26.3.1.2.后置通知 26.3.1.3.异常通知 26.3.1.4.引入(mixins) 26.3.1.5.通知链 26.3.1.6.配置通知 26.3.2.使用特性定义切入点 26.4.The Spring.NET AOP Cookbook 26.4.1.缓存 26.4.2.性能监视 26.4.3.重试规则 Spring.NET AOP最佳实践 第二十七章. .NET Remoting快速入门 27.1.简介 27.2.Remoting实例程序 27.3.实现 27.4.运行程序 27.5.Remoting Schema 27.6.参考资源 第二十八章. Web框架快速入门 28.1.简介 第二十九章. SpringAir - 参考程序 29.1.简介 29.2.架构 29.3.实现 29.3.1.业务层 29.3.2.服务层 29.3.3.Web层 29.4.总结 第三十章. 数据访问快速入门 30.1.简介 第三十一章. 事务管理快速入门 31.1.简介 31.2.应用程序概述 31.2.1.接口 第七部分. Java开发人员必读 第三十二章. Java开发人员必读 32.1.简介 32.2.Beans和Objects 32.3.PropertyEditor和TypeConverter 32.4.ResourceBundle和ResourceManager 32.5.异常 32.6.应用程序配置 32.7.AOP框架

2012-11-28

sqlserver2005基础教程英文版

sqlserver2005基础教程英文版 可以与SQL Server2005基础教程中文版一起 http://download.csdn.net/detail/liyifei21/4421583

2012-10-16

SQL Server2005基础教程

作者 迪尤逊 出版社 人民邮电出版社 本书重点阐述了SQL Server 2005的基础知识,前半部分以建立一个金融数据库系统为主线,从最基础的收集信息入手,一步步地引导读者学会如何保证数据库的安全,创建表、主键、索引等项目,在表之间建立恰当的关系,并掌握如何备份和还原数据库;之后以前面建立的示例数据库为基础,深入讲解各种数据操作的方法,从数据检索、插入、更新、删除,到函数、触发器、存储过程的使用;最后,概略讲述了SQL Server Reporting Services。书中还针对数据安全性方面的操作和细节提供了大量的例子。   本书适合希望使用SQL Server 2005的开发和管理人员阅读,也可作为高等学校相关课程的教材。 第1章 SQL Server 2005概述和安装  1.1 为什么选择SQL Server 2005  1.2 SQL Server的发展  1.3 硬件要求  1.4 示例  1.5 安装  1.6 标准安装  1.7 安全性  1.8 小结 第2章 SSMS  2.1 SSMS概览  2.2 SSMS的选项  2.3 查询编辑器  2.4 外围应用配置器工具  2.5 小结 第3章 设计和创建数据库  3.1 数据库的定义  3.2 SQL Server中的数据库  3.3 决定数据库系统类型  3.4 收集数据   3.5 决定要存储在数据库中的信息  3.6 外部信息和忽略的信息  3.7 建立关系  3.8 规范化  3.9 创建示例数据库  3.10 小结 第4章 安全   4.1 登录名  4.2 角色  4.3 架构  4.4 在解决方案中进行下去之前  4.5 小结 第5章 定义表  5.1 什么是表  5.2 定义表:SSMS   5.3 列不仅仅是简单的数据仓库   5.4 在SQL Server中存储图像和大型文本   5.5 在SSMS中创建表   5.6 通过查询编辑器定义表   5.7 定义表:使用模板   5.8 创建模板和修改模板  5.9 ALTER TABLE命令  5.10 定义其余的表   5.11 设置主键   5.12 创建关系  5.13 使用SQL语句ALTER TABLE  5.14 小结  第6章 创建索引和数据库关系图  6.1 什么是索引  6.2 确定是什么导致了好的索引   6.3 确定是什么导致了坏的索引   6.4 针对性能对索引进行回顾   6.5 创建索引   6.6 删除索引  6.7 在查询编辑器中修改索引  6.8 为数据库生成关系图  6.9 小结 第7章 数据库的备份、还原和维护  7.1 事务日志   7.2 备份策略   7.3 当可能发生错误  7.4 让数据库脱机   7.5 备份数据  7.6 还原数据库   7.7 分离和附加数据库  7.8 为数据库生成SQL脚本  7.9 维护数据库  7.10 小结  第8章 操作数据   8.1 T-SQL的INSERT命令的语法  8.2 SQL命令INSERT   8.3 DBCC CHECKIDENT  8.4 列约束  8.5 同时处理多条记录  8.6 检索数据  8.7 使用SSMS检索数据  8.8 SELECT语句  8.9 指定列  8.10 第一批搜索  8.11 改变输出的显示  8.12 限制搜索:WHERE的使用  8.13 字符串函数  8.14 顺序!顺序!  8.15 LIKE运算符  8.16 生成数据:SELECT INTO  8.17 谁能添加、删除或选取数据  8.18 更新数据  8.19 事务  8.20 删除数据  8.21 截断表(删除表中的所有行)  8.22 删除表  8.23 小结 第9章 构建视图  9.1 什么是视图  9.2 针对安全而使用查询  9.3 加密视图定义  9.4 创建视图:SSMS  9.5 使用视图来创建视图  9.6 CREATE VIEW语法  9.7 创建视图:查询编辑器窗格  9.8 创建视图:SCHEMABINDING  9.9 为视图设置索引  9.10 小结 第10章 存储过程  10.1 什么是存储过程  10.2 CREATE PROCEDURE语法  10.3 返回一系列记录   10.4 创建存储过程:SSMS  10.5 执行存储过程的不同方法  10.6 使用RETURN  10.7 控制流程  10.8 综合应用  10.9 小结  第11章 T-SQL基础  11.1 使用多个表  11.2 变量   11.3 临时表  11.4 聚合  11.5 GROUP BY  11.6 HAVING  11.7 独特值  11.8 函数   11.9 RAISERRO

2012-07-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除