Getting JSON from ASP.Net

1. The chef said, I should use a normal aspx to solve this task, and write sth, like reponse.write(„accpeti encoding : txt/json“), it is ugly. Please read this atricle from Johnny Code (http://johnnycode.com/2012/07/16/getting-json-from-asp-net-beautiful-good-bad-ugly/). Why it is ugly.

2 by defualt .net response only to POST Request and return XML. as wrapper. You should add the following http header in your request.

Content-Type: application/json; charset=utf-8

An end the chef want to sue handler to solve the URL rewrite problme, show me some code in web.config to define a handler.
I found this article about add handler in web.config (http://www.yongfa365.com/Item/configuration-configSections-SingleTagSectionHandler-DictionarySectionHandler-NameValueSectionHandler.html)

SVN Schema

svn schema

svn schema

 

The image is from : http://www.codeproject.com/Articles/20603/Accessing-the-Subversion-repository-from-NET-using

TRUNCATE DROP DELETE 区别

TRUNCATE 快速删除 表数据,不保留日志,不可以被恢复   慎用

delete  按照条件删除表数据 ,保留表结构,会保留日志,可以被恢复

drop  删除 表结构 和表数据  会保留日志,可以被恢复

浮动div保持相同高度的问题

基本上是无法解决的,但是以下这个方案,统过在外包裹附加的div,然后在附加div修改背景,试达到视觉上所有div等高的效果。跨浏览器,ie7,8,9,chrome,firefox都检查过了。可行。

http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks