关闭

[置顶] String Format for DateTime [C#]

http://www.csharp-examples.net/string-format-datetime/ String Format for DateTime [C#] This example shows how to format DateTime using String.Format method. All formatting can be done also u...
阅读(555) 评论(0)

[置顶] C# MessageBox.Show

http://www.dotnetperls.com/messagebox-show Dialog boxes interrupt users. They force users to respond before further action is taken. This is necessary in some situations. It is useful if a warnin...
阅读(856) 评论(0)

[置顶] New in WCF 4.0 Note & Filters for Message Logging Note

http://msdn.microsoft.com/en-us/library/ee354381.aspx Using Filters for Message Logging             -WindowsCommunication Foundation (WCF) message logging can be customized using anXPathfilter...
阅读(671) 评论(0)

[置顶] Cryptography Note

Symmetric Cryptography (fast, one key)             - DES (dataencryption standard)                         -56-bitkey             - 3DES                         -3different keys, each key is 56...
阅读(241) 评论(0)

[置顶] Learning WCF - Security Note

Fundamental security concepts Authentication                 -We typically think aboutauthentication as identifying the message sender. Mutual authentication involves authenticating both the sender...
阅读(487) 评论(0)

[置顶] Windows Communication Foundation Top to Bottom Video Note

WCF Security Basic Concept:                 -MutualAuthentication: sender and receiver to identity one another                 -Authorization:rights I have                  -Confidentiality:view/h...
阅读(469) 评论(0)

[置顶] WCF + vs2005 Video Note

http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2006/09/13/windows-communication-foundation-videos.aspx Parameters & Messages Transfer data via WCF we have 3 ways             -...
阅读(409) 评论(0)

[置顶] WCF Useful Command

netsh http add urlacl url=http://+:8000/ user=UserName netsh http show urlacl netsh http delete urlacl url=http://+:8000/ In the Visual Studio Command Prompt window, runthe command: svcutil Sh...
阅读(303) 评论(0)

[置顶] WCF Message Size Quotas

http://geekswithblogs.net/smyers/archive/2011/10/05/wcf-service-message-timeouts-size-limits-tips-and-tricks.aspxvice Message Timeouts, Size Limits, Tips and Tricks Wednesday, October 05, 2011...
阅读(554) 评论(0)

[置顶] DotNet Web Coding Best Practice

Web Coding 1. Page Structure Overview #region properties // private const variable // private variable // property #endregion #region method #endregion #region event handler #endregion #...
阅读(307) 评论(0)

[置顶] Windows Communication Foundation (WCF) Firestarter Note

WCF SOA (Service Oriented Architecture) -It is not a product. It is an architecture and design paradigm Problem in Procedural Programming (application were developed by continuously calling fun...
阅读(448) 评论(0)

[置顶] Understanding FastCGI and “Gotchas” with Running Native Code

Refer to Programming Windows Azure In the early days of the Web, most web servers used Common Gateway Interface (CGI) programs to execute code on incoming requests, and return a response to the us...
阅读(383) 评论(0)

[置顶] Windows Azure Diagnostics Note

refer to : Microsoft Windows Azure Development Cookbook The configuration of Windows Azure Diagnostics is performed at the instance level. The code to do that configuration is at the role level, bu...
阅读(419) 评论(0)

[置顶] SQL Azure Note

SQL Azure Architecture One machine -oneSQL Server             -one"SQL DB" (physical database)                         -oneLogfile one mdf file                                     -a lot of parti...
阅读(355) 评论(0)

[置顶] Windows Azure Appfabric ACS Note

Access Control Service (ACS) provides a facility forabstractingyour authentication code, as well as mapping disparate claims from multiple identity providers into a single token and claim structure....
阅读(498) 评论(0)

[置顶] SQL Azure Transactions

Handling Transactions in SQL Azure http://social.technet.microsoft.com/wiki/contents/articles/handling-transactions-in-sql-azure.aspx Local Transactions SQL Azure supports local transacti...
阅读(546) 评论(0)

[置顶] Windows Azure VM Role Note

VM Role             -GreatControl VM Level, To migrate existing application             -hosted onwindows image VM Role is PaaS The first thing to note about the VM role in its current formis th...
阅读(446) 评论(0)

[置顶] Windows Azure Virtual Network Connect & Traffic Manager Note

Windows Azure Connect (Jan 2011): http://www.microsoft.com/en-gb/showcase/details.aspx?uuid=c7764a37-be8e-4c47-b908-837a4f0b3059 Cloud Computing in PaaS with Windows Azure Connect (Part 2/2) http://b...
阅读(864) 评论(0)

[置顶] Windows Azure Appfabric Service Bus Code

Service Bus Queue QueueDescription SessionDuplicate Message DetectTransactionDefer MessageDelete Letter Queue Sender: using System; using System.Collections.Generic; using System.Linq; us...
阅读(609) 评论(0)

[置顶] Windows Azure Appfabric Service Bus Note

Service Bus http://windowsazurecat.com/2011/07/exploring-topics-and-queues-by-building-a-service-bus-explorer-toolpart-1/ “Understanding Windows Azure AppFabric Queues (and Topics)”video on the...
阅读(449) 评论(0)

[置顶] use Fiddler to debug Development Fabric

http://blogs.msdn.com/b/partlycloudy/archive/2009/12/08/configuring-the-storage-client-with-connection-strings.aspx Development storage connection strings There are only two options you ca...
阅读(308) 评论(0)

[置顶] Windows Azure Platform 2nd Edition Note 2

NamingService                 -The Naming service allows youto assign DNS-capable names to your service, which makes the serviceeasilyresolvable over the Internet. ServiceRegistry                 -...
阅读(325) 评论(0)

[置顶] Microsoft Press Windows Azure Step by Step Note

WCF Data Services and OData Open DataProtocol (OData) is an emerging protocol for querying and updating data across the web. Ituses existing technologies such as HTTP, JSON (JavaScript Object Nota...
阅读(365) 评论(0)

[置顶] Windows Azure Platform 2nd Edition Note

How will cloud computing help? To understand, let’s go backto the original business requirement: the business owner has an immediate need to deploy an application, and the timeframe is within three...
阅读(435) 评论(0)

[置顶] Programming Windows Azure Note

Cloud Computing It is data center resources delivered like tap water. It is always on, and you pay only for what you use. Microsoft describes Windows Azure as an “operating systemfor the cloud.” OS...
阅读(862) 评论(0)

[置顶] Azure Storage Note - Code

Two approaches to create storage client via Azure Client Library  via connection stringvia base URI and storage credential using System; using System.Collections.Generic; using System.Linq;...
阅读(582) 评论(0)

[置顶] Azure Storage Note

Windows Azure Storage -Availability -Durability -Scalability Basic Knowledge -PartitionKey                                 -Blob - Container name + BlobName...
阅读(517) 评论(0)

[置顶] Conditional Update (Optimistic Concurrency)

Windows Azure provides a number of mechanisms to help developers deal with concurrency around storage: Blobs and tables use optimistic concurrency (via ETags) to ensure that two concurrent changes...
阅读(321) 评论(0)

[置顶] Windows Azure Learning Note (5)

ACSAndWindowsPhone7 ACSV2Federation Advanced Web and Worker Roles             -Exercise1: Registering Sites, Applications, and Virtual Directories                         -one web role can host mu...
阅读(901) 评论(0)

[置顶] Windows Azure Learning Note (4) - Updating

Moving an Existing Database to the Cloud The SetForeignKeyEnabledStatus stored procedure will be used todisable foreign key constraints during data migration. This will permit you to load your ta...
阅读(293) 评论(0)

[置顶] Windows Azure Learning Note (3)

PARTITION DATA Partitioning support in Azure can be summarised as follows:  Table entities are horizontally partitioned on partition key  Blobs are partitioned based on their container  Queue...
阅读(532) 评论(0)

[置顶] Windows Azure Learning Note (2)

Learning windows azure: http://channel9.msdn.com/Events/windowsazure/learn Why Cloud -Save time and money -Enable new scenarios Windows Azure -Usage Based -Automated -restful API -Ma...
阅读(590) 评论(0)

[置顶] Windows Azure Learning Note (1)

Package Software             unit:Disk Infrustruction As Service             unit:box=>Amazon EC2 Platfrom As Service             unit:Application=> Windows Azure Software As Service...
阅读(560) 评论(0)

[置顶] Troubleshooting - Using Azure Dev Fabric Log File

c:\users\\AppData\Local\dftmp\DevFCLogs c:\users\\AppData\Local\dftmp\DFAgentLogs Scenarios: When I first start Azure project, I encountered the issue as  http://stackoverflow.com/questi...
阅读(687) 评论(0)

[置顶] WCF Note9(Configuring Tracing, Microsoft Service Trace Viewer)

Configuring Tracing http://msdn.microsoft.com/en-us/library/ms733025.aspx <add name="xml" type="System.Diagnostics.XmlWriterTraceListener"...
阅读(389) 评论(0)

IIS & Application Pool & App Domain & ...

http://stackoverflow.com/questions/13319996/httpmodules-and-global-asax-asp-net-page-life-cycle ASP.NET applications in IIS are structured like my image below. I know it is probably scary looking...
阅读(1097) 评论(0)

AOP - Interception with Unity 2.0

http://www.palmmedia.de/Blog/2010/9/26/aop-interception-with-unity-20 Blog > AOP - Interception with Unity 2.0 AOP - Interception with Unity 2.0 Unity is a well known dependency injection conta...
阅读(597) 评论(0)

SmtpClient deliveryMethod

http://bartwullems.blogspot.sg/2010/02/smtpclient-deliverymethod.html SmtpClient deliveryMethod One of the nice but little known possibilities of the System.Net.Mail.SmtpClient class is ...
阅读(425) 评论(0)

Ajax and ASP.Net Web Service

Web Service (ASMX, ASPX, WCF ) and Ajax Call 1.      Use JQuery Ajax call ASMX web method directly The reason need to add [System.Web.Script.Services.ScriptService] is Ajax does not support SOAP mes...
阅读(775) 评论(0)

lock in C#

http://msdn.microsoft.com/en-us/library/c5kehkcz(v=vs.110).aspx lock ensures that one thread does not enter a critical section while another thread is in the critical section of code. If another...
阅读(430) 评论(0)

Implementing the Singleton Pattern in C#

http://www.yoda.arachsys.com/csharp/singleton.html Implementing the Singleton Pattern in C# The singleton pattern is one of the best-known patterns in software engineering. Essentially, a sing...
阅读(340) 评论(0)

Configuring IIS 5.1 to run an MVC application

Configuring IIS 5.1 to run an MVC application 12JAN http://westcountrydeveloper.wordpress.com/2011/01/12/configuring-iis-5-1-to-run-an-mvc-application/ When hosting a MVC application ...
阅读(409) 评论(0)

Visual Studio Project Template / Item Template/ Extension Location

http://msdn.microsoft.com/en-us/library/y3kkate1.aspx http://msdn.microsoft.com/en-us/library/dd293638.aspx Visual Studio Project Template Location C:\Program Files (x86)\Microsoft Visual Studi...
阅读(580) 评论(0)

Registering Your Controls in Web.config

Registering Your Controls in Web.config Each time you add a custom control (or even a user control) to a webpage, Visual Studio generates the @ Register directive to ensure that the control is registe...
阅读(486) 评论(0)

Support for ViewState in Custom Control Properties

public string PromptText{ get { String s = (String)ViewState["PromptText"]; return ((s == null) ? String.Empty : s); } set { ViewState["PromptText"] = value; } }...
阅读(493) 评论(0)

different user control type: reuse layout vs reuse data

Reuse layout: normal User Control Reuse data: Templated User Control http://www.codeproject.com/Articles/397646/A-Beginners-Tutorial-for-Understanding-Templated-U container :The main purpose of...
阅读(455) 评论(0)

How I explained OOD to my wife

http://www.codeproject.com/Articles/93369/How-I-explained-OOD-to-my-wife Introduction My wife Farhana wants to resume her career as a software developer (she started her career as a software d...
阅读(554) 评论(0)

Design Principle

SOLID Principles Single responsibilityOpen/closedLiskov substitutionInterface segregationDependency inversion...
阅读(366) 评论(0)

Forms Authentication Timeout vs Session Timeout

We have an old .NET 1.1 web application which I have to support and a recent change in the login process for a select few customers has been causing haywire with every users session. The folks at QA h...
阅读(623) 评论(0)

Understanding the Forms Authentication Ticket and Cookie

http://support.microsoft.com/kb/910443 ASP.NET Support Voice Column Understanding the Forms Authentication Ticket and Cookie To customize this column to your needs, we want to invite you to s...
阅读(775) 评论(0)
438条 共30页1 2 3 4 5 ... 下一页 尾页
    个人资料
    • 访问:235708次
    • 积分:5416
    • 等级:
    • 排名:第5479名
    • 原创:186篇
    • 转载:252篇
    • 译文:0篇
    • 评论:3条