CSDN有网友询问合作翻译的事情,我的建议是,大家任意挑几个教程翻译,只要相互间没有冲突,不做重复工作即可,然后在自己的博客里发表,提供一个目录,相互连接,等全部翻译完毕,再想法把这些东西汇集在一起

象这样的合作翻译,最好是用Wiki,但。。。

有兴趣参与的人请跟此贴,如果可以的话,现在就用这个帖子来联系吧,以后通过MSN或翻译群联系

我刚翻译完比较长的第一篇,

在ASP.NET 2.0中操作数据::创建一个数据访问层(C#版)
http://blog.joycode.com/saucer/articles/77807.aspx

参考LoveCherry的网页查看参与者名单和翻译进度:
http://lovecherry.cnblogs.com/archive/2006/06/20/430040.html


BLINQ

2006-06-17 by 开心就好

BLINQ是微软ASP.NET产品组的Polita Paulus推出的一个非常有用的工具。

Microsoft Blinq Prototype
http://www.asp.net/sandbox/app_blinq.aspx?tabid=62

给BLINQ一个目标数据库,它能根据数据库里的schema自动生成分页显示,添加,更新和删除数据的网站。从网页上,你还能从一个数 …

read more

Scott Mitchell 的ASP.NET 2.0教程

2006-06-16 by 开心就好

[来源:Brian Goldfarb] 微软请了Scott Mitchell撰写46个使用ASP.NET 2.0开发三层架构应用的step by step教程,着重于常见的数据访问模式,对初学者应该很有用。目前发表了10个,以后每1-2周会发表10个左右。目 …

read more

Nikhil Kothari的Script#

2006-05-24 by 开心就好

用服务器端语言写客户端脚本已经成为趋势了

RJS允许你使用Ruby来编写客户端的脚本,Google Web Toolkit使用Java,Nikhil Kothari的Script# 允许你使用C#来写客户端的脚本:

http …

read more

VS 2005 Web Application Project V1.0发布了

2006-05-11 by 开心就好

[来源:Scott Guthrie]

Visual Studio 2005 Web Application Projects
http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx

VS 2005 目前支持的Web应用 template 叫网站项目模型(Web Site Project Model)。Web应用项目模型(Web Application Project Model)与网站项 …

read more

如何获取当前ASP.NET应用的认证模式

2005-12-08 by 开心就好

.NET 1.1里,

using System.Configuration;
using System.Web.Configuration;
using System.Reflection;

public AuthenticationMode GetAuthenticationMode()
{
 object auth = ConfigurationSettings.GetConfig("system.web/authentication");
 if (auth!= null)
 {
 //an internal class "System.Web.Configuration.AuthenticationConfig"
 Type t = auth.GetType();
 PropertyInfo pi = t.GetProperty("Mode",BindingFlags.Instance|BindingFlags.NonPublic);
 return (AuthenticationMode)pi.GetValue …

read more

使用自定义集合编辑器以避免生成对象变量

2005-10-07 by 开心就好

看到这个问题,怎样让自定义控件的子控件不会自动生成变量定义? 研究了一下Table对象,发现,你需要使用自定义的集合编辑器 …

read more

【小题大做】 Antipattern: Magic Page

2005-09-12 by 开心就好

Bruce Tate 在他的书《Bitter Java》里谈到了Server-side Java 中的 antipatterns ,其中一个叫做“Magic Servlet” 。在这个Servlet 里,混杂了model,view和controller的编码,搞得责任不清,维护或扩展起来很麻 …

read more

改变ASP.NET 2.0中的Membership的密码要求

2005-09-09 by 开心就好

看到这个问题,答案是需要在配置文件里修改MembershipProvider的设置,

\<connectionStrings>
  \<add name="MySqlConnection" connectionString="Data Source=MySqlServer;Initial Catalog=aspnetdb;Integrated Security=SSPI;" />
\</connectionStrings>
\<system.web>
.....
\<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15">
    \<providers>
<font color="#000000">\<clear />
</font>      \<add
        name …

read more

Scott Guthrie最近的blog文章

2005-08-30 by 开心就好

ASP.NET之父Scott Guthrie,最近在他的blog上登出了一连串有关ASP.NET 2.0和VS 2005的文章,

1。VS 2005中的Web项目系统提供的新功能 (VS 2005 Web Project System: What is it and why did we do it?)

2。如何在VS 2005和Web项目系统中使用 IIS (Using IIS with VS 2005 and the new Web Project system)

3 …

read more

在Page类的构造函数里, 为什么HttpContext.Current.Session是null?

2005-08-25 by 开心就好

(兼回答CSDN论坛的一个问题)

因为Session是在HttpApplication的AcquireRequestState事件后才有的,而Page类(或其他HttpHandler)的对象是在此之前生成的,看一下HttpApplication的事件次序

BeginRequest
AuthenticateRequest
AuthorizeRequest
ResolveRequestCache
----Page类(或其他HttpHandler)的对象在此生成
<font color="#ff0000">AcquireRequestState</font><font …

read more

给静态DataGrid动态添加列的问题

2005-08-03 by 开心就好

这个问题反复在论坛出现,其实这个问题在MSDN上早就有答案
1。英文版:Top Questions about the DataGrid Web Server Control(Mike Pope and Nikhil Kothari)
2。中文版:DataGrid Web 伺服器控制项的常 …

read more