IC窗口
community.icburner.com

July 2009 - VS2010学习

  • 容易犯的低级ASP.NET服务器端控件的属性值绑定错误

    这些天在整理TC5中控制面板、Widgets中所有未汉化的资源时,被ASP.NET服务器控件的属性绑定搞得晕头。比如,如下绑定会出现运行时错误: <asp:Button ID="Save" runat="server" Text= "<%= CommunityServer.Components.ResourceManager.GetString("Save", "Resources.xml") ...
    Published 2009/7/31 12:42 by 革命
    Filed under: ,
  • Entity Framework 4.0 and Fetching Strategies

    I have spent a fair amount of time already trying to improve my experience with the Entity Framework with versions 1.0, 2.0 and 3.0. Well that’s a bit of joke really because there was and never will be versions 2.0 or 3.0 for the Entity Framework with...
  • Windows Workflow Design Patterns

    Code download available from the MSDN Code Gallery Design patterns provide a common, repeatable approach to solving software development tasks, and many different patterns can describe how to accomplish a certain goal in code. When developers begin working...
    Published 2009/7/29 1:04 by 革命
  • Employing the Domain Model Pattern

    In this article, we’ll go through the reasons to (and not to) employ the domain model pattern, the benefits it brings, as well as provide some practical tips on keeping the overall solution as simple as possible. If you had come to me a few years ago...
    Published 2009/7/29 1:01 by 革命
    Filed under:
  • RESTful Services With ASP.NET MVC

    A RESTful service is a web of resources that programs can navigate. When designing a RESTful service, you have to think carefully about how your web will work. This means designing resource representations with links that facilitate navigation, describing...
    Published 2009/7/29 0:57 by 革命
    Filed under:
  • N-Tier Application Patterns

    In my previous article, I described a foundation on which you can build successful n-tier applications, focusing mainly on anti-patterns to avoid. There are many issues to consider before making decisions about the design of an n-tier application. In...
  • EF v2 and Data Access Architecture Best Practices

    David Hill, in his preface to the latest patterns & practices Architecture Guidance, jokes that the key to being a good architect is learning to answer "It depends" to most questions. In this article, I'll take that joke to heart. How...
  • 解决Kigg不能进行中文查询的问题

    Kigg采用SQL Server的全文索引机制对文摘、评论进行全文索引。默认情况下,Kigg的SQL脚本设置全文索引使用默认语言English: /****** Object: FullTextIndex [PK_Story] Script Date: 04/07/2009 13:59:53 ******/ /****** Object: FullTextIndex Script Date: 04/07/2009 13:59:53 ******/ CREATE FULLTEXT INDEX ON...
    Published 2009/7/27 22:33 by 革命
    Filed under: ,
  • JavaScript File Management

    As many of you know that I am currently involved in developing few UI Components for the ASP.NET MVC Framework (Hint: It is not a personal project, and we do have the plan to make it the source open dual license). In this post, I will discuss about our...
    Published 2009/7/27 1:21 by 革命
    Filed under: ,
  • Customizing T4 Templates

    The whole point of us using T4 for code-generation is that it makes it easy to customize the generated entities. A good example might be to support some sort of validation when setting string properties. To illustrate lets re-use the code from the recent...
    Published 2009/7/27 0:55 by 革命
    Filed under: , ,
  • Checking out one of the new stored procedure features in EF4

    I certainly have not yet explored the depths of EF4 to the same extent as I have with the current version and I have a lot of discoveries ahead of me. Thanks to a tweet this morning by Zekq , I finally saw one of the promised improvements to EF’s stored...
  • Automagic Time Localization

    One of the most often-overlooked and easy to fix things encountered when developing a hosted software application is the management of local time. First and foremost, you should be storing timestamps in your database in UTC. I don’t care if your users...
    Published 2009/7/19 0:56 by 革命
    Filed under: ,
  • Ninject 2 Reaches Beta!

    A month or so ago, I started a spike of a new version of Ninject to test out some ideas that have been floating around in my head. I fully intended to throw it away and integrate what I’d learned into the existing Ninject codebase – but gradually...
    Published 2009/7/19 0:52 by 革命
    Filed under: ,
  • Implementing the ViewModel pattern

    The Model-View-Control (MVC) pattern is more popular than ever. Microsoft has now jumped the bandwagon with its ASP.NET MVC framework. Other popular frameworks like Ruby on Rails, Django (Python) and the Spring MVC Framework (Java) all implement this...
    Published 2009/7/18 23:03 by 革命
    Filed under:
  • 如何配置SMTP中继Relay服务使用验证

    为了不让您的SMTP服务器上黑名单,更为了服务器的安全,您也许要配置您的服务器的SMTP中继Relay服务使用验证,只允许通过验证的用户才能使用你的SMTP服务器发送邮件。 1、 打开IIS管理器,右击“默认SMTP虚拟服务器”,选择“Properties” 2、 在弹出的对话框中,选择“Access”标签页,然后点击“Authentication”按钮: 3、 在弹出绘话中,取消“Anonymous access”,并选中“Integrated Windows Authentication”,然后点击...
    Published 2009/7/18 17:11 by 革命
    Filed under: ,
1 2 3 4 5 Next >