<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园__分类_Mvc</title><id>http://feed.cnblogs.com/blog/u/47054/category/265740/rss</id><updated>2012-05-31T17:12:43Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/category/265740.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/47054/category/265740/rss"/><entry><id>http://www.cnblogs.com/dooom/archive/2011/01/13/1934759.html</id><title type="text">Asp.net Mvc 使用笔记</title><summary type="text">1.Html.TextBoxFor 用法单个属性：&lt;%= Html.TextBoxFor(model =&gt; model.ReturnDate, new { size = 20 })%&gt;多个属性：&lt;%= Html.TextBoxFor(model =&gt; model.CityFromRoute2, new Dictionary&lt;string, object&gt;() { {"size", 20 }, {"readnoly", "readnoly" } })%&gt; &lt;%= Html.TextBoxFor(model =&gt; model.Rfid, new Dictionary&lt;string, object&gt;</summary><published>2011-01-13T09:27:00Z</published><updated>2011-01-13T09:27:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2011/01/13/1934759.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2011/01/13/1934759.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2011/01/10/1931696.html</id><title type="text">转载 ASP.NET MVC学习之（5）：Html.ActionLink</title><summary type="text">转自 http://www.liuwu.net/post/aspnet-mvc-learning-5-html-actionlink.aspx本文整理了该方法的几种重载形式：一 Html.ActionLink("linkText","actionName")该重载的第一个参数是该链接要显示的文字，第二个参数是对应的控制器的方法，默认控制器为当前页面的控制器，如果当前页面的控制器为Products，则 Html.ActionLink("detail","Detail") 则会生成 &lt;a href="/Products/Detail"&gt;all&lt;/a&gt;二 Html.ActionLink("linkT</summary><published>2011-01-10T02:36:00Z</published><updated>2011-01-10T02:36:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2011/01/10/1931696.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2011/01/10/1931696.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/10/28/1862998.html</id><title type="text">Asp.net MVC 学习笔记  (3)  --Controller 与View 之间的数据传递</title><summary type="text">主要总结Controller如何获取URL参数，以及Controller与View之间的数据传递。1.Controller 数据传递给View (1)使用强类型View 先定义自定义的实体：代码一个假的BLL ProductController 中IndexAction的实现：View展示数据： (2)弱类型View 有 ViewData 与 ViewData 区别就不介绍了。当然你用弱类型V...</summary><published>2010-10-28T14:14:00Z</published><updated>2010-10-28T14:14:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/10/28/1862998.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/10/28/1862998.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/10/26/1862013.html</id><title type="text">Asp.net MVC 学习笔记  (2)  --路由</title><summary type="text">这一篇主要介绍Asp.net MVC 路由。 如下为一些配置实例，以豆瓣为例，可以通过辅助工具RouteDebug调试： 其中自定义路由的类如下，这个到处都有：当然您还可以在Asp.net WebForm中使用路由，这就不介绍了.附件：MvcApplication1.rar</summary><published>2010-10-26T15:49:00Z</published><updated>2010-10-26T15:49:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/10/26/1862013.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/10/26/1862013.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/10/25/1860802.html</id><title type="text">Asp.net MVC 学习笔记(1)</title><summary type="text">前言 这段时间好好学习了Asp.net MVC,把学习的做个笔记,也和大家分享下。我主要是看看赵哥的MSDN视频与博客,和近期苏鹏老师的视频,当然还有园子里面的优秀文章,推荐大家去mvc的专题，你也可以去51aspx codeproject找些源码来研究研究，不过已经有热心的朋友给我们列出了开源的mvc项目了。如果你对Asp.net 与WebForm的关系不够熟悉，你可以看看这篇文章，正确认识W...</summary><published>2010-10-25T15:02:00Z</published><updated>2010-10-25T15:02:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/10/25/1860802.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/10/25/1860802.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/10/19/1855762.html</id><title type="text">Asp.net MVC 自定义ViewEngine的简单实现</title><summary type="text">Asp.net MVC 网站换肤需要使用不同模板，可以通过自定义视图引擎来实现这个功能。这里我偷懒，直接继承 VirtualPathProviderViewEngine来实现。 核心代码如下： ThemeViewEngine.cs Global.asax 设置如下：切换视图引擎：﻿项目结构如下： 如果你想定义强大的视图引擎，可以参考这个： http://www.cnblogs.com/webabc...</summary><published>2010-10-19T10:47:00Z</published><updated>2010-10-19T10:47:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/10/19/1855762.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/10/19/1855762.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/dooom/archive/2010/10/17/1853820.html</id><title type="text">（读书笔记）Asp.net Mvc 与WebForm 混合开发</title><summary type="text">根据项目实际需求，有时候会想在项目中实现Asp.net Mvc与Webform 混合开发，比如前台框架用MVC，后台框架用WebForm。其实要是实现也很简单，如下：（1）在MVC 中使用Webform 1.新建MVC 项目。 2.设置路由：3.新建WebForms文件夹，添加新的aspx页面， 4.点击浏览即可。(2)WebForm 中使用Mvc （1）新建WebForm 项目 (2)添加三个...</summary><published>2010-10-17T13:18:00Z</published><updated>2010-10-17T13:18:00Z</updated><author><name>clound</name><uri>http://www.cnblogs.com/dooom/</uri></author><link rel="alternate" href="http://www.cnblogs.com/dooom/archive/2010/10/17/1853820.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/dooom/archive/2010/10/17/1853820.html"/><content type="html"/></entry></feed>
