摘要:
The main drawback to CGI is that it must run a new copy of the CGI-aware programfor each request. This is a relatively expensive process that can bog downhigh-volume sites where thousands of requests are serviced per minute. Anotherdrawback is that CGI programs tend to be platform dependent. A CGI p 阅读全文
摘要:
In this example we'll demonstarte how you may get the history of changes made to a repository (i.e perform a logoperation) starting with the very first revision and up to the very last one.public class History { public static void main( String[] args ) { DAVRepositoryFactory.setup( ); ... 阅读全文
摘要:
The first question a newcomer toSubversionmay ask to himself -What is this and how can I use it in my work?Speaking shortlySubversioncan be characterized as a version control system which tracks the history of file and directory changes over time. All versioned files and directories reside as a tree 阅读全文
摘要:
I will try to show you a basic feature of ASP.NET MVC, creating custom HTML Helpers. We can reduce the amount of logic in view pages (razor or asp.net –aspx- pages) by extracting logic code as method.HTML Helper methods are nothing more than methods that are returning string. If you want to write yo 阅读全文
摘要:
ASP.NET routing differs from URL rewriting. URL rewriting processes incoming requests by actually changing the URL before it sends the request to the Web page. For example, an application that uses URL rewriting might change a URL from/Products/Widgets/to/Products.aspx?id=4. Also, URL rewriting typi 阅读全文
摘要:
The Answer is the Log Tracing the WCF .My service is:[OperationContract(Name="Add")][WebInvoke(UriTemplate = "test/", Method = "POST", ResponseFormat=WebMessageFormat.Json, RequestFormat=WebMessageFormat.Json )]public int Add(Number n1){ res = Convert.ToInt32(n1.Number1 阅读全文
摘要:
RESTful WCF Services with No svc file and No configWhile Microsoft continues to add features to WCF with each version, they are also adding features thatsimplifyworking with WCF services as well. Historically WCF has been somewhat intimidating to the uninitiated because of the non-trivial configurat 阅读全文
摘要:
WCF REST Services Inside MVC ProjectsRecently I blogged aboutWCF REST services with no svc file and no config. In this post I also discussed the pros/cons of WCF services as compared to using MVC controller actions for web services and I made the case that, in many instances, WCF REST services is be 阅读全文