- 博客(15)
- 资源 (1)
- 收藏
- 关注
原创 WPF学习之初步了解
工作需要,开始了解WPF。作为.net 3.0开始退出的量大重要技术之一,WPF的确是划时代的。 简单列举以下几点: 1、终于能够使用显卡的硬件加速功能了 WPF这个框架终于能够使用显卡的硬件加速功能来渲染界面了,使用Direct X!这是用GDI的时候无法想象的,除非是自己调DX。随着微软将WPF装进了Vista与Win7,并使用WPF来制作WIndows的界面,
2011-06-06 01:38:00
1110
原创 使用Razor引擎做一个SEO Helper
<br />手头的项目,需要进行SEO优化,就考虑做一个SEO Helper,使用Asp.net MVC Razor 视图引擎,真是轻松愉快:<br /> <br />1、首先,在Layout页面中Render一个Section,名为SEO,如下所示:<br /><head> <title>@ViewBag.Title</title> @RenderSection("SEO",false) ......<br />2、在App_Code中添加一个SEO.cshtml,代码如下:
2011-04-01 16:03:00
1051
原创 Asp.net MVC 学习心得
<br /> asp.net mvc 学习中,第一个要理解的是 Controller 与View之间的关系。与普通的asp.net 工程不一样,浏览器中的Url访问的不再是一个个实际存在的页面,而是Controller中的一个个Action。Controller获得Http请求之后,进行处理,完毕之后将数据交换给视图来显示。<br /> <br /> 因此在IIS6与IIS5中进行部署的时候,必须要添加一个通配符的HttpHandler,否则IIS无法处理MVC的Web请求;<br /> <br
2011-03-29 11:25:00
1824
原创 Asp.net MVC 3 之 Razor 视图引擎
Asp.net MVC 3 中引入了一个新的View Engine: Razor。使用Razor不需要学习新的语言,也更容易将动态代码与HTML结合,抛却了这样的标记,使用一个神奇的@号,就能搞定一切,就像JQuery中的$号一般神奇,而且能够给我们留下更干净的HTML代码。相比Aspx,在VS2010中,Razor更加智能,现在写一个对Model的类型声明终于可以靠语法提示完成了。 在View的第一行键入 @model WebApplication1.Models. 这里就会有智能
2011-03-20 19:33:00
4700
2
原创 初探 Asp.net MVC3
Asp.net MVC 3已经发布有一段时间了,加入了Razor视图引擎,使用起来感觉好了很多。 首先安装 VS2010(各种版本都行) 使用Web Platform Installer安装Asp.net MVC 新建一个Asp.net MVC 3的Web Application 首先,我们选择一个Internet Application,下面可以选择视图引擎,选择 Razor,来看看Razor引擎吧。 工程建好了,先看下目录结构,还是跟之前的版本一致,Models Views
2011-03-18 10:58:00
1596
原创 Architecture and Design Guidlines.
Key Design PrinciplesWhen getting started with your design, bear in mind the key principles that will help you to create architecture that meets “best practices,” minimizes costs and maintenance re
2009-05-10 14:19:00
463
翻译 Application Architecture Guide 2.0 学习笔记(一)前言 - Quality Attributes
Quality AttributesThe following guidelines will help you to understand how focusing on the quality attributes can produce a more successful design. The guidelines help you to understand how to desig
2009-04-09 14:30:00
690
1
翻译 Application Architecture Guide 2.0 学习笔记(一)前言 - Services
ServicesThe following guidelines will help you to understand the fundamental factors you need to consider when designing the service layer for your application. Use these guidelines as a starting p
2009-04-09 14:28:00
569
翻译 Application Architecture Guide 2.0 学习笔记(一)前言 - DataAccess Layer
Data Access LayerThe following guidelines will help you to understand the fundamental factors you need to onsider when designing the data layer for your application. Use these guidelines as a start
2009-04-09 14:24:00
733
翻译 Application Architecture Guide 2.0 学习笔记(一)前言 - Business Layer
Business LayerThe following guidelines will help you to understand fundamental factors you must consider when designing the business layer for your application. Use these guidelines as a starting p
2009-04-09 14:21:00
693
翻译 Application Architecture Guide 2.0 学习笔记(一)前言 - Presentaion Layer
Presentation LayerThe following guidelines will help you to understand the fundamental factors you must consider when designing the presentation layer for your application. Use these guidelines as a
2009-04-09 14:16:00
657
翻译 Application Architecture Guide 2.0 学习笔记(一)前言 - Atchitecture Frame
Architecture FrameThe following guidelines will help you to understand the fundamental cross-cutting factors you must consider when designing your chosen application type. Use these guidelines as a
2009-04-09 14:14:00
627
翻译 Application Architecture Guide 2.0 学习笔记(一)前言 - Application Types
Application Types (应用程序类型)The following guidelines will help you to understand the fundamental factors you must consider when choosing an application type(下列指导将有助于理解选择应用程序类型的基本因素). Use these guideli
2009-04-09 14:09:00
703
翻译 Application Architecture Guide 2.0 学习笔记(一)前言 - General
最近学习来自于 Microsoft patterns & practices Developer Center 的一篇关于应用程序架构指导的文章:Application Architecture Guide 2.0,个人觉得还是很实用的,做了一些简单的笔记。 Objectives Of The Guide学习典型的应用程序架构设计方法;学习你可以构建的不同类型的应用;了解
2009-04-09 10:03:00
1231
原创 System.IO.Packages 初探
作为.Net Framework 3.0 加入的一个新功能,提供一种将数据对象打包访问的方法。 提供支持在单个容器内存储多个数据对象。 最新的office2007种就使用了这种方式来保存文件,2007的word格式,保存为*.docx格式文件,这个文件其实就是一个package,.net中默认的package物理格式是zip。如果我们将*.docx改为*.zip,然后解压
2008-05-09 11:51:00
644
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人