9eFish - 在 Foundation 里最新发布的文章
1
臭虫

Dependency Injection in ASP.NET MVC 2 – Part 1: Controllers - DominicPettifer.co.uk

xgluxvxgluxv 发表于 1 天, 13 小时, 17 分钟 之前
Wednesday, March 10, 2010 3:42:05 PM GMT Wednesday, March 10, 2010 1:50:57 AM GMT
Technical Article - In the first part of three, I show you how to perform Dependency Injection in ASP.NET MVC 2 using the Castle Windsor IOC (Inversion of Control) Container. In part 1 we look at injecting dependencies into your Controllers. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: www.dominicpettifer.co.uk
标签: asp.net mvc 2, Controllers, Dependency Injection
1
臭虫

Dependency Injection in ASP.NET MVC 2 – Part 2: ModelBinders/ViewModels - DominicPettifer.co.uk

xgluxvxgluxv 发表于 1 天, 13 小时, 15 分钟 之前
Wednesday, March 10, 2010 3:42:05 PM GMT Wednesday, March 10, 2010 1:53:07 AM GMT
Technical Article - In part 2 of a series on Dependency Injection in ASP.NET MVC, we look at injecting dependencies into your ViewModels. This technique comes in useful for when you want to render a dropdown list of items from a database, and don’t want your controller populating the items. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: www.dominicpettifer.co.uk
标签: asp.net mvc 2, Dependency Injection, ModelBinders
1
臭虫

Dependency Injection in ASP.NET MVC 2 – Part 3: Custom DataAnnotation ValidationAttributes - DominicPettifer.co.uk

xgluxvxgluxv 发表于 1 天, 13 小时, 13 分钟 之前
Wednesday, March 10, 2010 3:42:05 PM GMT Wednesday, March 10, 2010 1:54:23 AM GMT
Technical Article - Part 3 in a series on Dependency Injection in ASP.NET MVC shows how to inject dependencies into custom ValidationAttributes, used to implement validation using the DataAnnotations framework. Have you ever needed to hit a database when validating a ViewModel/form submit, and wondered how to do it? (more)
类别: Foundation | 点击: 0 | 评论 | | 源: www.dominicpettifer.co.uk
标签: asp.net mvc 2, DataAnnotation ValidationAttributes, Dependency Injection
1
臭虫

CodeJunkies | My project setup, Part 1 - Initialization

adminadmin 发表于 4 天, 12 小时, 21 分钟 之前
Wednesday, March 10, 2010 3:42:05 PM GMT Sunday, March 07, 2010 2:46:56 AM GMT
A while ago I wrote a post about what tools and frameworks I use in my web applications. Now I thought I'd write a small series about how I use those tool. In this first part I'll write about the initial setup and how I use my ioc container. A lot in my applications revolve around my ioc container. I try to make it take the heavy lifts to make my coding easier. I have created a base bootstrapper that doesn't depend on a specific container. That class looks like this:     publicabstractclass Boo... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: codejunkies.se
标签: asp.net mvc, Initialization
1
臭虫

几种 HtmlEncode 的区别-蝈蝈俊.net

RiverRiver 发表于 13 天, 1 小时, 55 分钟 之前
Monday, March 08, 2010 2:57:47 AM GMT Friday, February 26, 2010 1:12:32 PM GMT
几种 HtmlEncode 的区别 问题: HttpUtility.HtmlDecode ,HttpUtility.HtmlEncode  与  Server.HtmlDecode ,Server.HtmlEncode  与 HttpServerUtility.HtmlDecode , HttpServerUtility.HtmlEncode 有什么区别? 他们与下面一般手工写的代码有什么不一样的?publicstaticstring htmlencode(string str) { if (str == null || str == "") return ""; str = str.Replace(">", ">"); str = str.Replace(" "); return str; } 答案: HtmlEncode: 将 Html 源文件中不允许出现的字符进行编码,通常是编码以下字符" (more)
类别: Foundation | 点击: 1 | 评论 | | 源: blog.joycode.com
1
臭虫

Brad Wilson: ASP.NET MVC 2 Templates, Part 1: Introduction

xgluxvxgluxv 发表于 13 天, 9 小时, 32 分钟 之前
Monday, March 08, 2010 2:57:47 AM GMT Friday, February 26, 2010 5:35:31 AM GMT
Series IndexPart 1: Introduction Part 2: ModelMetadataPart 3: Default TemplatesPart 4: Custom Object TemplatesPart 5: Master Page TemplatesIntroduction to Templates One of the major new features in ASP.NET MVC 2 is templates. This is a feature that’s similar to Dynamic Data for WebForms. Given an object of a given type, the system can automatically display or edit that object, whether it’s a simple data item (like an integer, a decimal, a string, etc.) or a complex data item (like a class). (more)
类别: Foundation | 点击: 0 | 评论 | | 源: bradwilson.typepad.com
标签: asp.net mvc 2, Template
1
臭虫

Extreme ASP.NET - Model Validation and Metadata in ASP.NET MVC 2

xgluxvxgluxv 发表于 13 天, 9 小时, 36 分钟 之前
Monday, March 08, 2010 2:57:47 AM GMT Friday, February 26, 2010 5:31:54 AM GMT
One of the new features added to the ASP.NET MVC 2 release is the ability to validate user input on both the server and client. All you need to do is give the framework some information about the data you need validated, and the framework will take care of the hard work and details. This feature is a tremendous boon for those of us who wrote custom validation code and custom model binders to perform simple model validation with ASP.NET MVC 1.0. In this article, I’ll look at the built-in validation sup... (more)
类别: Foundation | 点击: 1 | 评论 | | 源: msdn.microsoft.com
标签: asp.net mvc 2, Model Validation
1
臭虫

Shawn Wildermuth - WCF Data Services and jQuery

xgluxvxgluxv 发表于 15 天, 9 小时, 8 分钟 之前
Thursday, March 04, 2010 3:48:56 PM GMT Wednesday, February 24, 2010 5:59:39 AM GMT
WCF Data Services and jQuery URL: http://wildermuth.com/downloads/dataservicejque... I'd recently been asked by Chris Sells to help him with a simple WCF Data Services/jQuery example so I thought I'd share it via my blog as well. The basic idea is to use jQuery's AJAX functionality to retrieve JSON instead of the usual OData and consume it on a web page. The example I decided on using is to expose the XBox database with paging. I am not doing any of the niceties like getting result counts ... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: wildermuth.com
标签: JQuery, WCF
1
臭虫

Some e-books and .NET 4.0 beta exams

gpeipmangpeipman 发表于 16 天, 6 小时, 4 分钟 之前
Thursday, March 04, 2010 3:48:56 PM GMT Tuesday, February 23, 2010 9:03:20 AM GMT
Lately I have found some pretty interesting e-books about different technologies and one announcement about .NET Framework 4.0 beta exams. In this posting I will introduce you books I found and first beta exams. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net 4.0, office, virtualization, windows
2
臭虫

Framework Fundamentals - All What Need To Know About .NET | Denis Blog

DioNNiSDioNNiS 发表于 17 天, 1 小时, 12 分钟 之前
Tuesday, March 02, 2010 1:50:38 PM GMT Monday, February 22, 2010 1:56:12 PM GMT
Recently I came across several articles, which describe questions that can be asked at the interview for a job as a .NET developer. For example: What Great .NET Developers Ought To Know (More .NET Interview Questions), ASP.NET Interview Questions, Tech Interviews and ... But usually these questions are left without answers. I want to start series of articles that will help systematize programmer’s knowledge to prepare for an interview or for an exam. (more)
类别: Foundation | 点击: 1 | 评论 | | 源: i-liger.com
1
臭虫

Code Metrics: Lines of Code (LoC)

gpeipmangpeipman 发表于 20 天, 15 小时, 49 分钟 之前
Sunday, February 28, 2010 11:27:07 AM GMT Thursday, February 18, 2010 11:18:13 PM GMT
I started writing series of blog posting about code metrics. I plan to introduce different metrics and explain their meaning. Also I plan to introduce tools you can use to measure those metrics. Where possible I will introduce you how to use one or another metric. The first metric is the simplest one and it is called Lines of Code (LoC). (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: code analysis, code metrics
1
臭虫

My object to object mapper source released

gpeipmangpeipman 发表于 20 天, 21 小时, 54 分钟 之前
Sunday, February 28, 2010 11:27:07 AM GMT Thursday, February 18, 2010 5:13:16 PM GMT
Some readers asked me for Visual Studio project of my simple object to object mapper. I am glad to announce that the source code of my mapper is now available for download. It is Visual Studio 2008 project written on C# and besides mapper implementation it contains primitive sample application that shows you how to use my mapper. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, object to object mapping, tools
1
臭虫

Writing object to object mapper: moving to generics

gpeipmangpeipman 发表于 28 天, 14 小时, 42 分钟 之前
Thursday, February 18, 2010 3:13:28 PM GMT Thursday, February 11, 2010 12:25:19 AM GMT
In my previous posting about object to object mapping Writing object to object mapper: first implementations I wrote first and simple implementations of mapper. These implementations based heavily on reflection. In this posting I will boost up mapper performance by using generics. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, CLR, object to object mapping, performance
1
臭虫

MVC 2 Editor Template with DateTime

adminadmin 发表于 29 天, 11 小时, 26 分钟 之前
Thursday, February 18, 2010 3:13:28 PM GMT Wednesday, February 10, 2010 3:41:30 AM GMT
One of the cool new features of MVC 2 is the ability to automatically pick an editor template based on the meta data of each property. This meta data can be as simple as the data type of the property itself.  Take an example where we have a Contact object that has a DateTime? property for DateOfBirth. 1: publicpartialclass Contact 2: { 3: [DisplayName("First Name")] 4: publicstring FirstName { get; set; } 5: 6: [DisplayName("Last Name")] 7: publicstring LastName { get; set; ... (more)
类别: Foundation | 点击: 2 | 评论 | | 源: geekswithblogs.net
标签: asp.net mvc, Editor template
1
臭虫

Visual Studio 2010 RC is available

gpeipmangpeipman 发表于 30 天, 5 小时, 30 分钟 之前
Thursday, February 18, 2010 3:13:28 PM GMT Tuesday, February 09, 2010 9:37:27 AM GMT
VS2010 RC is out now and available for MSDN users since now. Other guys have to wait until tomorrow when VS2010 RC is made publically available. Reading first news I discovered that most important thing is hardly improved performance of VS2010 RC IDE. All your feedback is welcome to VS2010 RC Connect site. (more)
类别: Foundation | 点击: 1 | 评论 | | 源: weblogs.asp.net
标签: -NET Framework 4.0, visual studio 2010
1
臭虫

IL perversions: throwing and catching strings

gpeipmangpeipman 发表于 30 天, 16 小时, 23 分钟 之前
Thursday, February 18, 2010 3:13:28 PM GMT Monday, February 08, 2010 10:44:46 PM GMT
Inspired by Mohamed Mahmoud’s blog posting How to: Create Interfaces with Static Methods via IL? I wrote another sick example on IL (Intermediate Language) to show you how different is the world behind compilers. Tonight I have enough of exceptions, I want to throw some strings! Let’s do it! (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, exception handling, IL, visual studio
1
臭虫

Performance: Using LCG to copy property values of two objects

gpeipmangpeipman 发表于 33 天, 20 小时, 47 分钟 之前
Sunday, February 14, 2010 1:16:24 PM GMT Friday, February 05, 2010 6:20:18 PM GMT
Today I gave last performance boost to my property values copying mechanism. I would like to thank my readers Ron and David to remind me Lightweight Code Generation (LCG) and pointing me out aussie bloke blog entry Generic copy object using Lightweight Code Generation. In this posting I will show you last performance boost and put down a summary about my experiment this far. (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: .net, C#, lcg, performance
1
臭虫

Thread-safe priority queue in c# - CodeProject

xgluxvxgluxv 发表于 34 天, 13 小时, 44 分钟 之前
Sunday, February 14, 2010 1:16:24 PM GMT Friday, February 05, 2010 1:23:12 AM GMT
Few months ago, I have a project to develop SMS notification gateway center, capable to prioritize incoming messages from few sources, and send them to mobile operators. In the heart of this system, I've had decide to build my own component for queuing and prioritization. So I've start to search in internet some code to implement required for my case functionality - prioritized queue. (more)
类别: Foundation | 点击: 1 | 评论 | | 源: www.codeproject.com
标签: queue, Thread-safe
1
臭虫

Real World S#arp Architecture - Billy McCafferty - Devlicio.us - Just the Tasty Bits

xgluxvxgluxv 发表于 34 天, 13 小时, 46 分钟 之前
Sunday, February 14, 2010 1:16:24 PM GMT Friday, February 05, 2010 1:21:53 AM GMT
Sign in | Join | Help  Do you twitter? Follow us @devliciousBilly McCaffertyHomeContactSponsorsThe LoungeSyndicationRSS for PostsAtomRSS for CommentsEmail NotificationsGoRecent PostsReal World S#arp ArchitectureYour First S#arp Project in 15 MinutesOffsetting Your Bad Code FootprintS#arp Architecture 1.0 2009 Q3 with NHibernate 2.1.1 GA ReleasedDependency Injection 101Tags.NETAgile DevelopmentAlgorithmsArchitectureASP.NETC#Castle ProjectContestsDDDDeepThoughtsByJackHandeyDevelopment T... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: devlicio.us
标签: S#arp
1
臭虫

Performance: Using dynamic code to copy property values of two objects

gpeipmangpeipman 发表于 36 天, 15 小时, 11 分钟 之前
Thursday, February 11, 2010 2:04:41 AM GMT Tuesday, February 02, 2010 11:56:58 PM GMT
Last year I wrote short posting about how to use LINQ to find matching properties of two objects. In this posting I will show you how to copy values from one object to another and how to boost up performance so you can use this strategy also on in servers under heavy load. (more)
类别: Foundation | 点击: 1 | 评论 | | 源: weblogs.asp.net
标签: .net, Linq, performance, reflection
Previous 1 2 3 4 5 6 7 8 9 10 ... 16 17 Next