自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 资源 (4)
  • 收藏
  • 关注

原创 New in WCF 4.0 Note & Filters for Message Logging Note

http://msdn.microsoft.com/en-us/library/ee354381.aspxUsing Filters for Message Logging            -WindowsCommunication Foundation (WCF) message logging can be customized using anXPathfilter

2012-05-27 18:21:10 957 1

原创 Cryptography Note

Symmetric Cryptography (fast, one key)            - DES (dataencryption standard)                        -56-bitkey            - 3DES                        -3different keys, each key is 56

2012-05-27 15:15:03 407

转载 Learning WCF - Security Note

Fundamental security conceptsAuthentication                -We typically think aboutauthentication as identifying the message sender. Mutual authentication involves authenticating both the sender

2012-05-07 15:19:58 690

转载 Adding Styles to Excel sheet Range in VSTO

http://blogs.msdn.com/b/krishnab/archive/2008/10/04/disable-all-default-ribbons-in-excel-application.aspxExcel.Style style;style = Globals.ThisWorkbook.Styles.Add("Style1", Type.Missing); style.

2012-05-31 10:10:38 617

原创 WCF Tracing Note

http://msdn.microsoft.com/en-us/library/aa751917.aspxThere are four components to WCF Diagnostics: Eventing,Tracing, which includes Activity Tracing, and Message Logging.            -Activities

2012-05-28 00:23:02 553

转载 WCF Before Call and After Call

http://blog.csdn.net/quanben/article/details/5271298客户端: BeforeCall在参数序列化之前发生;AfterCall在消息返回参数反序列化之后发生。当参数不正确,需要阻止传递时,应抛出FaultException。 在proxy创建后,用proxy.Endpoint.Contract.Operations[0].Behavi

2012-05-28 00:13:09 509

原创 Introduce SQL Server Compact Note

Embeded Engine base on set of dlls            -not need other installation required except framework            -not run as a service   -In-proc   What it is?            -very smallembeded

2012-05-18 16:17:25 577

转载 Basic drag and drop in WinForms

http://codebetter.com/petervanooijen/2007/07/07/basic-drag-and-drop-in-winforms/1.Start the drag operation in the originator. This is done by invoking the DoDragDrop method, a member of the Co

2012-05-15 09:50:34 287

原创 How to keep Item in the same page?

Solution 1: - Make two items distance to "0", meaning link together, then these two items will appear together in the export PDF pages

2012-05-08 15:31:10 372

转载 Windows Communication Foundation Authentication Service Overview

http://msdn.microsoft.com/en-us/library/bb386582.aspxThe Windows Communication Foundation (WCF) authentication service enables you to use ASP.NET membership toauthenticate users from any applica

2012-05-08 00:12:28 341

原创 Add SSL Certificate During WCF HTTPS Development Testing

IIS: Add a certificate (name as "localhost-cert") :cmd>makecert -sr LocalMachine -ss My -n CN=localhost -sky exchangeThis command creates a certificate with the subject “localhost” and places it

2012-05-07 23:59:03 695

转载 Perform Input Validation in WCF

http://msdn.microsoft.com/en-us/library/ff647875.aspxIt implements AfterCall() and BeforeCall() methods.When used as part of the service, BeforeCall() will be invoked before the parameters are

2012-05-07 17:53:40 426

原创 Message Contract, Data Contract, XmlSerializer Message XML Body

1.Message Contract Declaration [ServiceContract] public interface ISocialStatus { [OperationContract] string UpdateStatus(string text); [OperationContract]

2012-05-07 10:14:24 603

原创 When need to add WCF SessionMode.Required

Scenarios:1. TransactionAutoComplete set to falserequires SessionMode.Required. [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete=false)] [TransactionFlow(T

2012-05-06 17:30:58 729

原创 FindBySubjectName vs FindBySubjectDistinguishedName

FindBySubjectName vs FindBySubjectDistinguishedNameFindBySubjectName : The findValue parameter for the Find method must be a string representing the subject name of the certificate. This i

2012-05-06 16:58:06 6164

原创 Using WMI to Modify Settings at runtime

http://msdn.microsoft.com/en-us/library/ms735120.aspxhttp://msdn.microsoft.com/en-us/library/aa702726.aspxUsing WMI to Modify Settings (Windows Management Instrumentation)You can use WMI to

2012-05-06 16:45:00 480

原创 Discovery & Annoucement

Ad Hoc DiscoveryService (add "UdpDiscoveryEndpoint")// Add ServiceDiscoveryBehavior svcHost.Description.Behaviors.Add(new ServiceDiscoveryBehavior()); // Add a UdpDiscov

2012-05-06 15:35:22 478

转载 ConcurrencyMode and InstanceContextMode

http://kennyw.com/work/indigo/178ConcurrencyMode : Specifies whether a service class supports single-threaded or multi-threaded modes of operation.InstanceContextMode: Specifies the number of se

2012-05-06 13:11:06 409

原创 Impersonation In WCF

http://msdn.microsoft.com/en-us/library/ms731090.aspxhttp://www.danrigsby.com/blog/index.php/2008/04/17/impersonate-a-clients-identity-in-wcf/Impersonation is a common technique that WCF servi

2012-05-06 11:57:24 570

转载 How to: Set the ProtectionLevel Property

http://msdn.microsoft.com/en-us/library/aa347791.aspxTo sign all messages for a service[ServiceContract(ProtectionLevel = ProtectionLevel.Sign)]public interface ICalculatorTo sign all message

2012-05-06 00:01:58 542

原创 Manual addressing is enabled on this factory, so all messages sent must be pre-addressed.

When using "ChannelFactory" to try to consume WCF Restful Service, e.g.:Service[ServiceContract] public interface ISocialStatus { [OperationContract] [WebGet(UriTemplate

2012-05-05 23:32:09 6561

原创 2 approach achieve Duplex call at Client Side

Approach One:InstanceContext callbackContext = new InstanceContext(new NameService());DuplexChannelFactory factory = new DuplexChannelFactory(typeof(callbackContext), binding, address);IMyService

2012-05-05 22:38:32 475

原创 LINQ to Entities does not recognize the method ToString()

SqlFunctions.StringConvertddEnrollmentMethod.DataSource = from t in context.EnrollmentMethodsorderby t.Nameselect new{Name = SqlFunctions.StringConvert((double)t.EnrollmentMethodID) + ". " + t.Nam

2012-05-04 12:10:21 1126

转载 Fixing the Date Format Issue in Azure Reporting CTP

http://www.clickrex.com/post/21657412179/fixing-the-date-format-issue-in-azure-reporting-ctpIf you are migrating to the Azure Reporting CTP; you may experience the below error:The report s

2012-05-03 10:22:42 564

原创 WCF Addressing In Depth Note

WCF Addressing In Depthhttp://msdn.microsoft.com/en-us/magazine/cc163412.aspx-Addressing Fundamentals                                -Relative URIs (base address)

2012-05-03 00:00:00 790

原创 3 Approach to achieve Async call in WCF

Approach One: using proxy client)http://msdn.microsoft.com/en-us/library/ms730059.aspxevent-driven asynchronous calling modelService Side [ServiceContract] public interface IService

2012-05-01 23:51:47 348

原创 3 approach to create mex endpoint

Approach One Approach Two

2012-05-01 22:58:28 419

MCTS Self-Paced Training Kit(70-516)

EXAM PREP GUIDE Ace your preparation for the skills measured by MCTS Exam 70-516—and on the job—with this official Microsoft study guide. Work at your own pace through a series of lessons and reviews that fully cover each exam objective. Then, reinforce and apply what you’ve learned through real-world case scenarios and practice exercises. Maximize your performance on the exam by mastering the skills and experience measured by these objectives: Modeling data Managing connections and context Querying data Manipulating data Developing and deploying reliable applications PRACTICE TESTS Assess your skills with the practice tests on CD. You can work through hundreds of questions using multiple testing modes to meet your specific learning needs. You get detailed explanations for right and wrong answers—including a customized learning path that describes how and where to focus your studies.

2012-05-21

Microsoft Press Windows Azure Step by Step

Teach yourself how to build and host scalable applications in the cloud using Windows Azure—one step at a time. Ideal for those with basic programming skills, this tutorial provides practical, learn-by-doing exercises for working with the core services and features of the Windows Azure platform. Discover how to: Extend your existing skills to the cloud development model Build a simple web role application and deploy it to the cloud Create a worker role project to perform backend processes Store persistent data with Windows Azure Storage Develop a scalable database application in the cloud using Microsoft SQL Azure™ Connect several cloud-based applications with Windows Azure AppFabric Design a multitiered solution that can scale to meet user demand

2012-02-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除