in

SDT Community Server

SDT Forums, Blogs, Photos server.

Floating Heart

No description is bad.

Browse by Tags

All Tags » ASP.Net (RSS)
  • 网站性能越来越差怎么办?

    http://www.cnblogs.com/WizardWu/archive/2009/01/03/1367527.html 新的一年,你的老板或客户,是否曾和你抱怨公司的网站性能愈来愈差?网站大家都会写,自从有了 Visual Studio 之后,连你家楼下的正妹小喵和隔壁的王大婶都会写 ASP.NET。但同样的一个画面,背后的性能却可能是天差地远,更惶论多人同时上线的企业网站,而程序员的身价也因此有所差别。本帖提供一些改善网站性能的点子,从硬件、软件、程序技巧的层面都有,也欢迎大家分享自己的经验或秘技。 (1) 重新调整或重新设计 DB schema、索引 (index) 一个在线系统的性能不佳,主要原因都是来自于数据库规划及 SQL 语句层面,至于 .NET 程序撰写不良都还在其次。 先将数据库适度地做正规化,如:一个 Table 中,避免把常用的字段、很少用的字段,都塞在同一个表中,而影响数据扫描的速度。 应该将很少用的字段,另切割出来成为另一个表。 请参考: 30 分钟快快乐乐学 SQL Performance Tuning: http://www.cnblogs.com/WizardWu...
    Posted Jan 04 2009, 01:17 PM by wicky with | with no comments
    Filed under:
  • ASP.NET MVC Framework Series by ScottGu

    ASP.NET MVC Road-Map Update Introducing the ASP.NET MVC Framework ASP.NET MVC Framework Tutorial Part 1 ASP.NET MVC Framework Tutorial Part 2: URL Routing ASP.NET MVC Framework Tutorial Part 3: Passing ViewData from Controllers to Views ASP.NET MVC Framework Tutorial Part 4: Handling Form Edit and Post Scenarios ASP.NET MVC Source Code Now Available ASP.NET MVC Source Refresh Preview ASP.NET MVC Preview 3 Release ASP.NET MVC Preview 4 Release Part 1 ASP.NET MVC Preview 5 and Form Posting Scenarios...
    Posted Jan 03 2009, 01:55 PM by wicky with | with no comments
    Filed under:
  • Oxite

    What is this? This is a simple blog engine written using ASP.NET MVC, and is designed with two main goals: To provide a sample of 'core blog functionality' in a reusable fashion. Blogs are simple and well understood by many developers, but the set of basic functions that a blog needs to implement (trackbacks, rss, comments, etc.) are fairly complex. Hopefully this code helps. To provide a real-world sample written using ASP.NET MVC. We aren't a sample-building team (more on what we are...
    Posted Dec 10 2008, 09:26 PM by wicky with | with no comments
    Filed under:
  • New ASP.NET Charting Control: <asp:chart runat="server"/>

    http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx Microsoft recently released a cool new ASP.NET server control - <asp:chart /> - that can be used for free with ASP.NET 3.5 to enable rich browser-based charting scenarios: Download the free Microsoft Chart Controls Download the VS 2008 Tool Support for the Chart Controls Download the Microsoft Chart Controls Samples Download the Microsoft Chart Controls Documentation Visit...
    Posted Nov 25 2008, 09:34 PM by wicky with | with no comments
    Filed under:
  • C# Interactive Shell and C# Eval

    http://tirania.org/blog/archive/2008/Sep-10.html 一个很有趣的项目。
    Posted Nov 14 2008, 09:56 PM by wicky with | with no comments
    Filed under: ,
  • Custom Controls Everywhere and ASP.NET MVC

    http://blog.jeffhandley.com/archive/2008/02/13/custom-controls-everywhere-and-asp.net-mvc-part-0.aspx As I referenced last night, I've been advocating "custom controls everywhere" for a long, long time. I don't approve of using the <asp:Textbox> control or <asp:DataGrid> control, or pretty much any others. Instead, these controls should be inherited, and the derived controls should be used. There are many reasons for doing this, and I've given a few user group talks...
    Posted Nov 06 2008, 01:14 PM by wicky with | with no comments
    Filed under:
  • MochaUI

    http://mochaui.com/ http://mochaui.com/demo/ MochaUI is a web applications user interface library built on the Mootools JavaScript framework. Uses Web Applications Web Desktops Web Sites Widgets Standalone Windows and Modal Dialogs Getting Started Download the latest stable release. Upload the files to your server. If your server has PHP installed you can use mocha.js.php to concatenate your source files. Otherwise use mocha.js in your header instead or individually list the source files you are...
    Posted Sep 28 2008, 12:04 PM by wicky with | with no comments
    Filed under: ,
  • Web Application Stress Tool

    http://www.microsoft.com/downloads/details.aspx?FamilyID=E2C0585A-062A-439E-A67D-75A89AA36495&displaylang=en The Microsoft WAS web stress tool is designed to realistically simulate multiple browsers requesting pages from a web site. You can use this tool to gather performance and stability information about your web application. This tool simulates a large number of requests with a relatively small number of client machines. The goal is to create an environment that is as close to production...
    Posted Sep 11 2008, 07:15 PM by wicky with | with 1 comment(s)
    Filed under:
  • Silverlight: A few thoughts on minimizing CPU usage

    http://blogs.msdn.com/seema/archive/2007/08/09/silverlight-a-few-thoughts-on-minimizing-cpu-usage.aspx The first two suggestions will have the most drastic improvement on the performance of your Silverlight application, and can affect CPU usage, framerate, and application responsiveness. 1. IsWindowless=false is faster Do not turn on isWindowless unless your design requires overlay of other HTML content on top of Silverlight content. 2. Opaque Background is faster Do not set a transparent channel...
    Posted Sep 11 2008, 07:13 PM by wicky with | with no comments
    Filed under: ,
  • Silverlight2相关文章汇总

    http://www.cnblogs.com/Terrylee/archive/2008/07/21/silverlight-2-articles.html 概述 对自己写的Silverlight 2的相关文章做一下汇总,便于大家直接查找。另外,大家如果有关于Silverlight 2方面的问题,也可以在这里提出,我将尽力为大家解答。 一步一步学习Silverlight 2系列 本系列基于Silverlight 2 Beta 1,主要介绍了Silverlight 2基础,网络与数据访问,图形图像处理、与浏览器的集成等几个方面: 1. 一步一步学Silverlight 2系列(1):创建一个基本的Silverlight应用 2. 一步一步学Silverlight 2系列(2):基本控件 3. 一步一步学Silverlight 2系列(3):界面布局 4. 一步一步学Silverlight 2系列(4):鼠标事件处理 5. 一步一步学Silverlight 2系列(5):实现简单的拖放功能 6. 一步一步学Silverlight 2系列(6):键盘事件处理 7. 一步一步学Silverlight...
    Posted Jul 31 2008, 03:26 PM by wicky with | with no comments
    Filed under:
  • Internet Explorer 6 may unexpectedly exit when you view a Web page that sets a scroll bar style attribute for an element

    http://support.microsoft.com/kb/918967/en-us SYMPTOMS loadTOCNode(1, 'symptoms'); Consider the following scenario. You create an HTML page. The HTML page sets one or more of the following scroll bar style attributes for an element: • scrollbar-3dlight-color • scrollbar-arrow-color • scrollbar-base-color • scrollbar-darkshadow-color • scrollbar-face-color • scrollbar-highlight-color • scrollbar-shadow-color • scrollbar-track-color In this scenario, when you view the HTML page, Microsoft Internet...
    Posted Jul 26 2008, 09:44 PM by wicky with | with no comments
    Filed under: ,
  • AspxGridView: TypeConverter cannot convert from System.String

    http://www.devexpress.com/Support/Center/p/Q21651.aspx?searchtext=TypeConverter+&tid=4b2d6f97-c4ae-48fc-87f6-8c5da6541e40 Created by DataItem template does not refresh in CustomCallback at 10/5/2007 1:01:40 PM I am using the ASPxGridView with an LLBLGenDataSource. I am displaying a templated column in the grid whose contents are a string that is returned by a method on the page code behind class as follows: <dxwgv:GridViewDataTextColumn FieldName="ApplicantId" VisibleIndex="0"...
    Posted Jul 11 2008, 02:11 PM by wicky with | with no comments
    Filed under:
  • Element Type of CLR

    et_unknown Undefined type. et_void ELEMENT_TYPE_VOID. et_boolean ELEMENT_TYPE_BOOLEAN, System.Boolean. et_char ELEMENT_TYPE_CHAR, System.Char. et_int8 ELEMENT_TYPE_I1, System.SByte. et_uint8 ELEMENT_TYPE_U1, System.Byte. et_int16 ELEMENT_TYPE_I2, System.Short. et_uint16 ELEMENT_TYPE_U2, System.UShort. et_int32 ELEMENT_TYPE_I4, System.Int. et_uint32 ELEMENT_TYPE_U4, System.UInt. et_int64 ELEMENT_TYPE_I8, System.Long. et_uint64 ELEMENT_TYPE_U8, System.ULong. et_float32 ELEMENT_TYPE_R4, System.Float...
    Posted Jun 28 2008, 10:21 AM by wicky with | with no comments
    Filed under: , ,
  • DevExpress Announcing the Upcoming AgDataGrid Suite for Silverlight

    http://www.devexpress.com/Products/NET/Components/Silverlight/Grid/ Available Free-of-Charge without any licensing or royalties from DevExpress As the release of Silverlight draws near, DevExpress has invested the engineering resources needed to deliver a feature-rich grid control for Silverlight. Not just a "preview" of what is possible with Silverlight, the AgDataGrid Suite was developed to fully exploit the power and flexibility of the platform and will ship with the following features...
    Posted Jun 10 2008, 03:56 PM by wicky with | with no comments
    Filed under:
  • Master-Detail with the GridView, DetailsView and ModalPopup Controls

    http://mattberseth.com/blog/2008/04/masterdetail_with_the_gridview.html Or refer to attached file.
    Posted May 27 2008, 02:31 PM by wicky with | with no comments
    Filed under:
  • AJAX.Net Progress Bar Control

    http://mattberseth.com/blog/2008/05/aspnet_ajax_progress_bar_contr.html Or refer to attached file.
    Posted May 27 2008, 02:29 PM by wicky with | with no comments
    Filed under:
  • Creating great thumbnails in ASP.NET

    http://www.thebrainparasite.com/post/Creating-great-thumbnails-in-ASPNET.aspx Or refer to attached file.
    Posted May 27 2008, 02:21 PM by wicky with | with no comments
    Filed under: ,
  • Silverlight 2 初览

    http://blog.joycode.com/scottgu/archive/2008/02/23/114891.aspx Silverlight 2 初览 【原文地址】 First Look at Silverlight 2 【原文发表日期】 Friday, February 22, 2008 6:41 AM 去年9月, 我们发布了面向Mac和Windows的Silverlight 1.0 ,还宣布了在Linux上提供Silverlight的计划。Silverlight 1.0着重于促进浏览器中的丰富媒体场景,支持JavaScript/AJAX编程模型。 我们不久将发布 Silverlight 2 的第一个公开beta,这是个Silverlight的重大更新,将注重于促进富网络应用(RIA)的开发。本贴是我将在以后的几个月内撰写的详细讨论相关细节的几个贴子的第一篇。 跨平台/跨浏览器的 .NET 开发 Silverlight 2 包含了.NET 框架的一个跨平台,跨浏览器版本,促成了在浏览器中运行的一个丰富的 .NET 开发平台。开发人员可以使用任何一门 .NET 语言(包括VB,...
    Posted May 27 2008, 01:47 PM by wicky with | with no comments
    Filed under:
  • Control State of ASP.Net 2.0

    Here is sample: [code language="C#"] protected override object SaveControlState() { object baseState = base.SaveControlState(); object thisState = new object[] { baseState, _recordCount }; return thisState; } protected override void LoadControlState(object savedState) { object[] stateLastRequest = (object[])savedState; object baseState = stateLastRequest[0]; base.LoadControlState(baseState); _recordCount = (int)stateLastRequest[1]; } protected override void OnInit(EventArgs e) { base.OnInit...
    Posted Apr 15 2008, 11:57 AM by wicky with | with no comments
    Filed under:
  • WebToolkit.Info

    http://www.webtoolkit.info 一个非常好的网站,有一些有用的代码. Javascript trim Javascript sprintf Javascript url decode, encode Javascript MD5 Javascript SHA-1 Javascript SHA-256 Javascript CRC32 Javascript base64 encoding Javascript UTF-8 AJAX file upload Scrollable HTML table Javascript context menu Sortable HTML table Javascript drag and drop Javascript custom cursor Javascript pie menu CSS drop shadow CSS clearfix CSS vertical align CSS centered layout
    Posted Apr 09 2008, 05:57 PM by wicky with | with no comments
    Filed under: ,
  • JavaScript的BASE64

    http://www.bccn.net/Article/web/javascript/jszl/200703/4535.html 原帖及讨论: http://bbs.bc-cn.net/dispbbs.asp?boardid=15&id=107182 /** * 我在网上看到过很多BASE64的JavaScript算法,都觉得不满意,于是自己写了一个,在这里分享一下。 * 我的代码在质量的效率都较高,没有一些冗余的操作。总体来讲我觉得非常不错。 * 如果大家有什么不懂的地方可以问我。 */ var BASE64={ /** * 此变量为编码的key,每个字符的下标相对应于它所代表的编码。 */ enKey: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/', /** * 此变量为解码的key,是一个数组,BASE64的字符的ASCII值做下标,所对应的就是该字符所代表的编码值。 */ deKey: new Array( -1, -1, -1, -1, -1, -1, -1, -1...
    Posted Apr 09 2008, 08:25 AM by wicky with | with no comments
    Filed under: ,
  • Compress ViewState in your ASP.Net application with SimpleCompressedPageStatePersister

    Just put below code into your BasePage: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 private SimpleCompressedPageStatePersister _compressedPageStatePersister = null ; private bool _enableCompressedPageState = true ; public bool EnableCompressedPageState { get { return _enableCompressedPageState; } set { _enableCompressedPageState = value; } } protected override PageStatePersister PageStatePersister { get { if (_enableCompressedPageState) { if (_compressedPageStatePersister == null...
    Posted Apr 08 2008, 05:09 PM by wicky with | with no comments
    Filed under:
  • 20 Tips to Improve ASP.net Application Performance

    http://funjackyone.javaeye.com/blog/120226 August 31, 2007 20 Tips to Improve ASP.net Application Performance Not a .net Developer? Are you an asp.net developer? If you aren't don't worry, we have similar posts in the works for Ruby, PHP, and other developers out there. If you are an ASP.net developer, listen up! Get Ready for Massive Gains There are certain things you should take into account when you are developing your applications. Over the last 12 years or so of working with asp and...
    Posted Apr 08 2008, 01:33 PM by wicky with | with no comments
    Filed under:
  • ASP.NET 2.0页面框架的几点新功能

    http://www.cnblogs.com/guow3c/articles/287291.html 新增的页面事件 : 在ASP.NET 2.0中,一个ASP.NET页面的生命周期主要为(红色字体表示ASP.NET 2.0新增加的阶段页面事件):客户端请求页面—》 预初始化(OnPreInit) —》初始化(OnInit)—》 完成初始化(OnInitComplete) —》载入ViewState(LoadViewState)—》处理回送数据(IPostBackDataHandler)—》 Page_OnPreLoad —》Page_OnLoad—》回发更改通知(RaisePostDataChangedEvent)—》处理回发事件(RaisePostBackEvent)—》 Page_OnLoadComplete —》预呈现(OnPreRender)—》 完成预呈现(OnPreRenderComplete) —》 保存ControlState(SaveControlState) —》保存ViewState(SaveViewState)—》呈现(Render)—》Page_UnLoad...
    Posted Feb 29 2008, 03:31 PM by wicky with | with 1 comment(s)
    Filed under:
  • Enter Key in ASP.NET - Complete Research

    http://www.beansoftware.com/ASP.NET-Tutorials/Accept-Enter-Key.aspx One of the common requests in ASP.NET is to submit a form when visitor hit an Enter key. That could be a case if, for example you want to make Login Screen. It is expected that user just hit enter when he insert a password instead to of forcing him to use a mouse to click login button. If you want to make search function on your web site, it is frequently required to give a possiblity to hit enter after you insert a search terms...
    Posted Feb 26 2008, 02:42 PM by wicky with | with 1 comment(s)
    Filed under:
  • IIS ASP.NET Tab Missing

    There are lots of case on internet. Solution 1 (work for me): 1) Stop the IIS Admin service (and any services that depend on it) 2) Open C:\WINDOWS\system32\inetsrv\MetaBase.xml in notepad or your favorite XML Editor. _DELETE_ the line that reads ‘Enable32BitAppOnWin64=”TRUE”’ 3) Start -> Run -> iisreset Solution 2: To fix, check the following 3 regkeys - HKEY_CLASSES_ROOT\CLSID\{7D23CCC6-A390-406E-AB67-2F8B7558F6F6}\InprocServer32 HKEY_CLASSES_ROOT\CLSID\{FD5CD8B1-6FE0-44F3-BBFB-65E3655B096E...
    Posted Feb 21 2008, 10:42 AM by wicky with | with no comments
    Filed under:
  • VS 2008 Web Development Hot-Fix Roll-Up Available

    http://weblogs.asp.net/scottgu/archive/2008/02/08/vs-2008-web-development-hot-fix-roll-up-available.aspx One of the things we are trying to do with VS 2008 is to more frequently release public patches that roll-up bug-fixes of commonly reported problems. Today we are shipping a hot-fix roll-up that addresses several issues that we've seen reported with VS 2008 and Visual Web Developer Express 2008 web scenarios. Hot Fix Details You can download this hot-fix roll-up for free here (it is a 2.6MB...
    Posted Feb 14 2008, 02:13 PM by wicky with | with 1 comment(s)
    Filed under:
  • What is Theme?

    http://weblogs.asp.net/vimodi/articles/ThemesFaqs.aspx What is Theme? Theme is a collection of control styles applied to webcontrols on website. It gives the common looks and feel to all webcontols in a simple way. Its allows to abstract the styles so that it can be reused. So from the software engg point of it satisfy the reusability and easy maintainance quality. Theme only works for WebControls MasterPage can not define Theme but Theme can be set in the content pages. Control style defined in...
    Posted Feb 03 2008, 10:37 AM by wicky with | with 1 comment(s)
    Filed under:
  • What is a StyleSheetTheme?

    http://weblogs.asp.net/vimodi/articles/WhatIs_StyleSheetTheme.aspx What is a StyleSheetTheme? Basically StyleSheetTheme is a Theme which gets applied in very early page cycle before the page control properties applied. So order is like StyleSheetTheme -> Page -> Theme That means control property set in StyleSheetTheme can be overridden by the control property in Page and control property set in Page can be overridden by the control property in Theme. For example if StyleSheetTheme contain following...
    Posted Feb 03 2008, 10:36 AM by wicky with | with 1 comment(s)
    Filed under:
  • Custom Client Side Drag and Drop Behavior in ASP_NET AJAX

    A useful article.
    Posted Jan 24 2008, 11:18 AM by wicky with | with no comments
    Filed under:
More Posts Next page »
Copyright SDT, 2006-2009. All rights reserved.