dotlive
用户名: dotlive
积分: 5,455.08
最近访问: 177 天, 31 分钟
注册时间: 8 April, 2009
9eFish
atom rss
1
臭虫

CodeProject: How to Detect Browser Capabilities in ASP.NET.

dotlivedotlive 发表于 177 天, 31 分钟 之前
Tuesday, September 22, 2009 2:35:07 PM GMT Tuesday, September 15, 2009 2:37:15 PM GMT
Introduction Proper detection of Web Browsers' type and capabilities is rather important from the end-users and developers prospective as well. The differences between Browsers, rooted in either branding or versioning create a Browser compatibility issues, which could cause some Web applications to run incorrectly if the compatibility requirements were not met. Simple Browser-detection feature could be added to ASP.NET web applications in order to resolve potential compatibility issues and also to hel... (more)
类别: Web Form | 点击: 0 | 评论 | | 源: www.codeproject.com
标签: Browser Capabilities
1
臭虫

Enterprise Library - Unity Application Block 学习手册(最新版) Part 2

dotlivedotlive 发表于 177 天, 39 分钟 之前
Tuesday, September 22, 2009 2:35:07 PM GMT Tuesday, September 15, 2009 2:28:56 PM GMT
本文演示Enterprise Library – Unity Application Block依赖注入模块的使用。本文练习配置container在运行时执行依赖注入,不需依赖于在类代码中做attributes标识和设置生命周期管理器。本文由http://blog.entlib.com 开源ASP.NET博客平台小组根据EntLib HOL手册编译提供,欢迎交流。 (more)
类别: Foundation | 点击: 0 | 评论 | | 源: blog.entlib.com
标签: Enterprise Library, unity
1
臭虫

Enterprise Library - Unity Application Block 学习手册(最新版) Part 1

dotlivedotlive 发表于 177 天, 41 分钟 之前
Tuesday, September 22, 2009 2:35:07 PM GMT Tuesday, September 15, 2009 2:26:53 PM GMT
本文演示Enterprise Library – Unity Application Block依赖注入模块的使用。Unity是微软Pattern & Practices团队设计和开发的一个轻量级的、可扩展的依赖注入(Dependency Injection)容器,提供了构造器、属性和方法调用的注入。 (1)简化了对象建立,特别是对于层次化的对象结构和依赖,简化了代码。 (2)支持需求的抽象;允许开发者在运行时或者配置文件中指定依赖,简化了软件开发中所关注问题的管理。 (3)通过使用容器延缓组件的配置,提高了灵活性。 (4)具有服务定位功能,使得客户端可以对容器进行存储或缓存。这个特性在ASP.NET网站中特别实用,开发者可以将整个容器存储在Session或Application中。 (more)
类别: Foundation | 点击: 4 | 评论 | | 源: blog.entlib.com
标签: Enterprise Library, unity
1
臭虫

Shrinkr - Url Shrinking Service Developed with Entity Framework 4.0, Unity, ASP.NET MVC And jQuery (Part 3) - Kazi Manzur Rashid's Blog

dotlivedotlive 发表于 177 天, 43 分钟 之前
Tuesday, September 22, 2009 2:35:07 PM GMT Tuesday, September 15, 2009 2:24:48 PM GMT
Tuesday, September 15, 2009 4:57 PM kazimanzurrashid Shrinkr - Url Shrinking Service Developed with Entity Framework 4.0, Unity, ASP.NET MVC And jQuery (Part 3) In the previous post, we have created our initial repositories, in this post I will show how you can use the compiled query of Entity Framework in our repository. To use the compiled query we will put each query of our repositories into its own class and create some common interfaces ... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: weblogs.asp.net
标签: asp.net mvc, Entity Framework4.0, Shrinking, unity
1
臭虫

Shrinkr - Url Shrinking Service Developed with Entity Framework 4.0, Unity, ASP.NET MVC And jQuery (Part 2) - Kazi Manzur Rashid's Blog

dotlivedotlive 发表于 177 天, 46 分钟 之前
Tuesday, September 22, 2009 2:35:07 PM GMT Tuesday, September 15, 2009 2:22:40 PM GMT
Sunday, September 13, 2009 4:02 PM kazimanzurrashid Shrinkr - Url Shrinking Service Developed with Entity Framework 4.0, Unity, ASP.NET MVC And jQuery (Part 2) In the previous post we have created our initial domain model, in this post I will show you how the domain model  is mapped to database with Entity Framework 4.0. But before that I would like to discuss how I usually structure the Visual Studio Projects. Most often I prefer to have a o... (more)
类别: Foundation | 点击: 3 | 评论 | | 源: weblogs.asp.net
标签: asp.net mvc, Entity Framework 4.0, JQuery, Shrinking
1
臭虫

佳文推荐:25个优秀的 ASP.NET MVC教程及文章

dotlivedotlive 发表于 182 天, 12 小时, 14 分钟 之前
Tuesday, September 15, 2009 1:57:25 AM GMT Thursday, September 10, 2009 2:54:29 AM GMT
朱先忠老师推荐的25篇关于asp.net mvc的文章 (more)
类别: Foundation | 点击: 6 | 评论 | | 源: space.itpub.net
标签: asp.net mvc, 佳文推荐, 教程
1
臭虫

Waiting for Multiple Threads to Finish - Steve Wellens

dotlivedotlive 发表于 182 天, 12 小时, 16 分钟 之前
Tuesday, September 15, 2009 1:57:25 AM GMT Thursday, September 10, 2009 2:52:18 AM GMT
Waiting for Multiple Threads to Finish Over on the Asp.Net forums, someone asked how to wait for several running threads to finish before continuing a program's execution. It seemed a reasonable question and I have used the old WaitForMultipleObjects function with events. I assumed that .NET would have a much more elegant and simpler way to perform this task since .NET has improved so many other aspects of programming. I found the WaitHandle class and took a look. Here are a few links showing how to u... (more)
类别: Language | 点击: 1 | 评论 | | 源: weblogs.asp.net
标签: Multiple Threads
1
臭虫

CodeProject: Visitor Design Pattern.

dotlivedotlive 发表于 182 天, 12 小时, 17 分钟 之前
Tuesday, September 15, 2009 1:57:25 AM GMT Thursday, September 10, 2009 2:51:17 AM GMT
Download VisitorDesignPattern_src - 51.55 KBBackground Again, my favorite place - Elizabeth's daycare center. From my previous article, I talked about how to use Strategy Pattern to develop a system for the doctor visiting. In that case, I only focused on the Doctor objects to illustrate how those dynamic actions will be impacted when the strategy object (different doctors) changes. In this article, I am going to focus on those visitable/Kid objects which are examined by the Doctors. On Elizab... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: www.codeproject.com
标签: Design Pattern, Visitor
1
臭虫

Lucene.net: your first application

dotlivedotlive 发表于 189 天, 13 小时, 48 分钟 之前
Wednesday, September 09, 2009 3:02:40 AM GMT Thursday, September 03, 2009 1:20:22 AM GMT
Lucene.net: your first applicationLucene.net tutorialHow to get started with Lucene.netLucene.net: the main conceptsLucene.net: your first application In the first two posts of the tutorial you learnt how to get the latest version of Lucene.net, where to get the (little) documentation available, which are the main concepts of Lucene.net and Lucene.net main development steps. In this third post I’m going to put in practice all the concepts explained the previous post, writing a simple console applicati... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: codeclimber.net.nz
标签: Lucene.net
1
臭虫

Guide to Improving Code Performance in .NET: Part II

dotlivedotlive 发表于 189 天, 13 小时, 49 分钟 之前
Wednesday, September 09, 2009 3:02:40 AM GMT Thursday, September 03, 2009 1:19:36 AM GMT
In this article, we will look into handling errors in an optimistic way. Handling of errors is quite common task in any kind of programming language. Most of the modern languages like C++, C# uses similar kind of exception handling constructs. We will see how to handle exceptions without any performance impact on the application by examples. I will be using VS 2008 with C# as language for all the samples. (more)
类别: Language | 点击: 0 | 评论 | | 源: www.c-sharpcorner.com
标签: C#
1
臭虫

使用表达式树构建DomainRoute的URL - 老赵点滴 - 追求编程之美 - 博客园

dotlivedotlive 发表于 191 天, 1 小时, 52 分钟 之前
Tuesday, September 08, 2009 1:49:43 AM GMT Tuesday, September 01, 2009 1:16:25 PM GMT
由于DomainRoute支持针对URL域名的捕获和构造,这有些破坏了ASP.NET Routing所制定的“协议”(ASP.NET Routing只支持Path),因此在上一篇文章中,我们需要自己构造一个辅助方法来获得一个“包含域名”的URL。不过根据尽可能强类型的原则,我们应该使用的是类似于MvcFutures中定义的基于表达式树的辅助方法。由于MvcFutures已经提供了非常充足的辅助功能,因此这其实并不需要耗费我们多少代价。   上一次我们编写了这样的辅助方法:public static string ActionEx(this UrlHelper helper, string action, object routeValues) { var values = routeValues == null ? new RouteValueDictionary() : new RouteValueDictionary(routeValues); values.Add("action", action); values.Add("... (more)
类别: Language | 点击: 0 | 评论 | | 源: www.cnblogs.com
1
臭虫

优化通过表达式树构造URL的性能 - 老赵点滴 - 追求编程之美 - 博客园

dotlivedotlive 发表于 191 天, 1 小时, 52 分钟 之前
Sunday, September 06, 2009 11:24:50 AM GMT Tuesday, September 01, 2009 1:16:01 PM GMT
我们继续改进通过表达式树构造URL的方式。在上一篇文章中,辅助方法可以正确地识别了ActionNameAttribute,而这次改进的则是性能方面的问题。首先还是来看一下用于从表达式树获取RouteValueDictionary的方法:public static RouteValueDictionary GetRouteValues (more)
类别: Language | 点击: 1 | 评论 | | 源: www.cnblogs.com
1
臭虫

通过表达式树构建URL时正确识别ActionNameAttribute - 老赵点滴 - 追求编程之美 - 博客园

dotlivedotlive 发表于 191 天, 1 小时, 53 分钟 之前
Sunday, September 06, 2009 11:24:50 AM GMT Tuesday, September 01, 2009 1:14:48 PM GMT
在MvcFutures项目中提供了一个辅助方法,可以将一个表达式树对象转化成一个RouteValueDictionary集合。只可惜,这个辅助方法的毛病比较多。例如,它直接把方法名作为action的值,而忽略了其上标记的ActionNameAttribute。这导致了某个被“改名”的Action方法一旦用在了表达式树中,最终得到的URL便是错误的。例如有一个Action方法:public class HomeController : Controller { [ActionName("Default")public ViewResult Index() { ... } }   如果您使用这样的方式来生成URL(ActionEx方法的实现请参考《使用表达式树构建DomainRoute的URL》):Home   则最终得到的代码是: (more)
类别: Language | 点击: 1 | 评论 | | 源: www.cnblogs.com
1
臭虫

Multi-Monitor Support (VS 2010 and .NET 4 Series) - ScottGu's Blog

dotlivedotlive 发表于 191 天, 2 小时, 6 分钟 之前
Sunday, September 06, 2009 11:24:50 AM GMT Tuesday, September 01, 2009 1:02:20 PM GMT
This is the fourth in a series of blog posts I’m doing on the upcoming VS 2010 and .NET 4 release. Today’s post covers one of the general IDE improvements that I know a lot of people are already eagerly looking forward to with VS 2010 – multiple-monitor support.Using Multiple Monitors VS 2008 hosts all documents/files/designers within a single top-level window – which unfortunately means that you can’t partition the IDE across multiple monitors. VS 2010 addresses this by now allowing editors, designer... (more)
类别: Architecture | 点击: 1 | 评论 | | 源: weblogs.asp.net
标签: ScottGu, VS 2010 and .NET 4 Series
1
臭虫

ASP.NET, ASP.NET MVC Tips: JSON Handler, Aspx template, Asynchronous JQuery treeview with ashx generic handler and many more. - Shahed Khan (MVP C#)

dotlivedotlive 发表于 197 天, 13 小时, 28 分钟 之前
Tuesday, September 01, 2009 5:56:41 AM GMT Wednesday, August 26, 2009 1:40:27 AM GMT
In my previous blog post, I have discussed about how to get asynchronous JQuery treevew to work with ASP.NET Webservices, and we identified that, to make a successful ASP.NET webservice call using JQuery the request must be POST request, the content type of the request must be “application/json; charset=utf-8”, and the data parameter of the the $.ajax() method must be passed as a string. We also looked at the tweaks that we need to do to the jquery.treeview.async.js file to get that working. Howe... (more)
类别: Web Form | 点击: 10 | 评论 | | 源: msmvps.com
标签: asp.net mvc, Aspx template, JSON Handler
1
臭虫

Nick Riggs, Web Developer - Post Complex JavaScript Objects to ASP.NET MVC Controllers

dotlivedotlive 发表于 197 天, 13 小时, 30 分钟 之前
Tuesday, September 01, 2009 5:56:41 AM GMT Wednesday, August 26, 2009 1:38:26 AM GMT
Use the plug-in postify.js to handle posting complex JavaScript objects to ASP.NET MVC controllers using the default model binder (more)
类别: Web Form | 点击: 1 | 评论 | | 源: nickriggs.com
标签: asp.net mvc, controller
2
臭虫

Building a Single Sign On Provider Using ASP.NET and WCF: Part 1

dotlivedotlive 发表于 197 天, 13 小时, 31 分钟 之前
Tuesday, September 01, 2009 5:56:41 AM GMT Wednesday, August 26, 2009 1:36:47 AM GMT
Building a Single Sign On Provider Using ASP.NET and WCF: Part 1 This is the first in a 4 part series on building a single sign on provider using the ASP.NET platform (ASP.NET and WCF). Originally, I wrote the article as a single post but it was pretty long, even for me. Part 1 addresses the problem in general and how I decided to architect it. Part 2 discusses setting up FormsAuthentication for WCF Part 3 discusses JSONP communication between the client and WCF Part 4 describes the ... Source (more)
类别: Foundation | 点击: 3 | 1 评论 | | 源: www.developmentalmadness.com
标签: Single Sign, SSO, WCF
1
臭虫

DotNetBlogger | url重写简单化Part 2 (Extensionless URL's IIS7 and URLReWritingNet)

dotlivedotlive 发表于 202 天, 13 小时, 42 分钟 之前
Thursday, August 27, 2009 5:02:24 AM GMT Friday, August 21, 2009 1:25:52 AM GMT
August 05, 2009URL Rewriting Made Easy Part 2 (Extensionless URL's IIS7 and URLReWritingNet) Hey Everyone. It's been a while since I have posted, so I though I would post another URLRewriting blog for those of you who want to use Extensionless URL's without any hastle. I was "playing" with a client's site today cause I had already implemented URL Rewriting, but I felt like trying to make it extensionless (note, I left the extensions in as well in case there are indexed urls in the search engines). ... (more)
类别: Foundation | 点击: 1 | 评论 | | 源: www.dotnetblogger.com
标签: IIS7, URLRewritingNet
1
臭虫

使用jquery自动生成目录

dotlivedotlive 发表于 202 天, 13 小时, 44 分钟 之前
Thursday, August 27, 2009 5:02:24 AM GMT Friday, August 21, 2009 1:23:54 AM GMT
Some time ago, I was debating with my friends on the topic: is there any use of generating table of contents automatically. The conclusion was that it can be useful in cases when the reading material is long enough and table of contents (TOC) has a fixed position on the screen. This tutorial will show you how to create such TOC in just a few lines of code. Extract information from HTML I will start with the basic example - where we just want to get title and subtitles and show them before the article... (more)
类别: UX | 点击: 0 | 评论 | | 源: www.jankoatwarpspeed.com
标签: JQuery
1
臭虫

A List Apart: Articles: JavaScript MVC

dotlivedotlive 发表于 202 天, 13 小时, 52 分钟 之前
Wednesday, August 26, 2009 1:46:13 AM GMT Friday, August 21, 2009 1:16:34 AM GMT
August 18, 2009JavaScript MVC by Jonathan Snook Published in: Scripting| Discuss this article » Once a bit player, JavaScript increasingly takes center stage. Its footprint—the space it takes up on our servers and in our development schedules—continues to grow. So how can we make our JavaScript more reusable and easier to maintain? Perhaps MVC will offer some clues. While MVC is a familiar term to those in back-end application development—using frameworks such as Struts, Ruby... (more)
类别: UX | 点击: 1 | 评论 | | 源: www.alistapart.com
标签: Javascript, MVC
Previous 1 2 3 4 5 6 7 8 9 10 11 Next