2015年5月14日星期四

IIS Application Pool Idle Timeout Leads To Long Page Load Times

IIS Application Pool Idle Timeout Leads To Long Page Load Times
IIS Application Pool Idle Timeout Leads To Long Page Load Times
If you’re running a Windows .NET web app, like DotNetNuke, it must be compiled by IIS before serving it up. When a page request comes in, IIS checks to see if the compiled bytecode is loaded in the iis application pool. If so, it uses it and if not, it loads all files and compiles them, puts them into the iis application pool, then serves the page.

2015年5月12日星期二

How to repeat table's header rows on each page in Reportviewer11 with Visual Studio 2010

click on the black upside down triangle to the left of the column groups and go to Advance Mode advanced mode tiny triangle
you have to change some of the values for static rows:
1)      FixedData        True
2)      KeepTogether     True
3)      KeepWithGroup    After
4)      RepeatOnNewPage  True
ok now you may need to read a little more details
all the above links solve this issue the same way

Note: 2 properties: RepeatColumnHeader,RepeatRowHeaders of tablix must be set to FALSE 

2015年4月23日星期四

Single Page Site with Smooth Scrolling, Highlighted Link, and Fixed Navigation

A single page site with smooth scrolling, and highlighted navigation links depending on which section is currently being viewed.

2015年4月16日星期四

Difference Between ASP.NET Web API and WCF

Introduction
This article describes the differences between the Web API and Windows Communication Foundation (WCF). And also describes how to choose between WCF and Web API.

2015年4月13日星期一

5 Ways to Build Mobile Apps with Visual Studio

With more and more developers looking to get into mobile, it would make sense that they would want to use the tooling of their choice. Visual Studio dates back to April 1995 (Version 4.0), with the most current release being Visual Studio 2013, and it shows no signs of slowing down. But the explosion of mobile apps leaves several questions for developers using Visual Studio. What are my options for developing mobile apps in general? How can I develop for iOS without a Mac? How can I develop for Android without learning Java? Maybe, even more importantly, is, “How do I develop for all three mobile platforms using a single-code base with a shared user interface in Visual Studio?” I will address all of these questions in this article.

2015年4月9日星期四

How To Choose Between 32-bit & 64-bit Windows 7 Operating Systems

Windows 7 launches this week and those waiting to upgrade should first decide if they want to install the Windows 7 64-bit (x64) version or stick with 32-bit (x86) Windows. Why? Even if you install 32-bit initially, it should be possible to upgrade to 64-bit later, right? Wrong.
You can’t upgrade from 32-bit to Windows 7 64-bit without doing a fresh “clean” install, which requires you to reinstall all applications from scratch. Therefore, you need to decide on either 32-bit or 64-bit before you install Windows 7.
While I recommend you go with 64-bit, read through this article to make an informed decision.

Microsoft ASP.NET Universal Providers 2.0.0

ASP.NET Universal Providers add provider support in ASP.NET 4 for all editions of SQL Server 2005 and later and to SQL Azure. If you use these providers to develop your application, the application will be ready for cloud environments like Azure. Other than supporting additional storage options, the providers work like the existing SQL-based providers, so that you can easily switch an application to use cloud storage via SQL Azure. Good thing for Universal Provider is we don't need run aspnet_regsql.exe any more to create database objects to be used for membership, we don't need do anyhing on database end. When create the first user the Universal Provider will create all tables to be needed for membership automaticially.

2015年3月12日星期四

MaxItemsInObjectGraph – WCF RIA Services Exception

The MaxItemsInObjectGraph error message comes up fairly often in the WCF RIA Services forums and I just ran into it on a personal project so I thought I’d write a quick blog on how to fix this error.
The exact error message from WCF Trace is:

WCF RIA Services - “Not Found” Error Message

The dreaded “The remote server returned an error: NotFound” error message in RIA Services can be frustrating if you are not aware of what it really means, and more importantly how to diagnose it.
This generic error message is due to network stack limitation in your browser, basically the browser is intercepting the error and not giving it all to Silverlight.  That does not mean there isn’t good information to be found.  Your friend here is Fiddler and/or WCF Service Tracing. 

2014年9月19日星期五

Building Silverlight Business Application with Telerik Report Viewer, step by step



Telerik Reports are Class based, so we will create a Class Library Project to contain Telerik Reports.

To feed the Telerik Reports with data using Entity Data Model, we cannot use the EDM located in the Silverlight Web project; as a circular dependency issue will rise once we add a reference to the Silverlight Web project from the Telerik Report Class Library project. As an alternative, we can create a new Class Library Project to contain the Entity Data Model that will feed the Telerik Report Class Library project.

2014年7月22日星期二

Entity Framework - Using Transactions or SaveChanges(false) and AcceptAllChanges()?

With the Entity Framework most of the time SaveChanges() is sufficient. This creates a transaction, or enlists in any ambient transaction, and does all the necessary work in that transaction.
Sometimes though the SaveChanges(false) + AcceptAllChanges() pairing is useful.
The most useful place for this is in situations where you want to do a distributed transaction across two different Contexts.

2014年5月27日星期二

Microsoft.XMLHTTP对象详解

Microsoft.XMLHTTP对象详解2008-04-22 16:40
一、数据库远程管理技术
基于互联网的广域网现代应用中的一个重要环节是数据库远程监控。首先简单回顾一下互联网上的数据库远程管理技术的发展过程和方式:
早期通过编写CGI-BIN程序模块进行数据库远程管理。但CGI-BIN的运行速度慢,维护很不方便,现在已经基本被弃用。

2014年2月10日星期一

HTTP 除错与分析的好帮手- Fiddler

下载地址:
http://www.telerik.com/download/fiddler

如果说流览器的Developer Tools 是分析CSS 结构与Script 除错的好帮手,那Fiddler 就可以说是IE 与Server 之间的通讯分析器了。Fiddler 的功能非常的强大,可以帮助IT 与RD 人员处理不少很难发现的问题,了解介面的意义后才可以更犀利的应用Fiddler 帮助我们进行Debuging 的工作。

LINQPad

LINQPad

这一套工具为免费的,而且有分为安装版以及免安装版,免安装版就是下载下来之后就可以立即执行使用,不过前提是,你的环境必须要安装.NET Framework 3.5或是4.0,虽然说免费的已经很好用了,但是付费的版本更是好用到让人惊讶不已,付费有两种版本,一种是Pro而另一种是Premium,两种版本都有的功能是:autocompletion, smart tags, code outlining, and .NET Reflector integration.
(自动完成,智能标签,代码概述,和。NET反射的整合。)

各主要浏览器的开发者工具


前端代码(HTML,CSS,JavaScript)最终是要在各种流览器中解释和运行的, 因此它的调试和纠错也就应该在流览器中, 现在各流览器都提供了开发者工具用来做这种前端代码的调试,特别是Javascript 断点调试,懂得掌握工具的使用就能更有效率的进行开发