微软一站式示例代码库(http://cfx.codeplex.com/ )12月小结
1. 12 月发布了7篇基于微软一站式示例代码库的官方KB
How to use HotSpot regions in the ImageMap control in ASP.NET
http://support.microsoft.com/kb/977992
How to make Office VBA code interact with a VSTO application-level add-in
http://support.microsoft.com/kb/977993
How to use the Excel Automation Addin to create user defined formulas for Microsoft Office Excel
http://support.microsoft.com/kb/977994
How to use Pixel Shader Effects in Silverlight 3
http://support.microsoft.com/kb/977995
How to develop an out-of-process COM component by using Visual C++, Visual C#, or Visual Basic .NET
http://support.microsoft.com/kb/977996
How to work with table relationships and entity inheritances in ADO.NET Entity Data Model
http://support.microsoft.com/kb/977997
How to create and manipulate Microsoft Excel by using Office Automation in Visual C++, Visual C# and Visual Basic.NET
http://support.microsoft.com/kb/977998
另有6篇正在被review。
2. 项目重命名
在12月,我们移除了原项目代号 “CodeFx”。取而代之的是All-In-One Code Framework (微软一站式示例代码库)
3. 12月总共新增了36个示例。现在,AIO总sample 数已超过300个。
WPF: 8 samples |
VSX: 6 samples |
Silverlight: 4 samples |
Service: 3 samples |
Security: 3 samples |
Office: 3 samples |
Library: 2 samples |
Workflow: 2 samples |
IPC: 2 samples |
Data Platform: 2 samples |
IIS: 1 sample |
4. 发布了一个release
http://cfx.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=37537
中文介绍:
http://www.cnblogs.com/Jialiang/archive/2009/12/23/AIO20091220.html
5. Nice feedback and use cases of samples
Feedback
Nico (managed customer): Cool. Very good. Thank you, looks very interesting. Maybe I will allude to this in my next article or in an webcast… I’m working for T-Systems right now and I have shown around this page with all that nice samples…Good Job. I already found some things that are interesting for me (for private projects and for my customers)… If you have other interesting things, just tell me…I like every information from Microsoft!
revillusion440 (community member): I'm really impressed with the quality of this tool kit. Well done!
Use Cases
(Successful use cases of samples in real support incidents)
Sample |
Use Case |
Story |
ATLDllCOMServer |
The customer need to create a ATL COM object can be used in WebBrowser but not sure how to start. I know this is a ATL COM Automation task, so I open the ATLDllCOMServer sample's readme.txt, copy/paste some key… | |
CSWPFMasterDetailBinding |
Customer feedback: "Yep, works just fine! Much thanks for helping getting past this bottleneck." | |
CSCodeDOM |
The customer needs to know how to dynamically compile codes. The CSCodeDOM sample meets his need. | |
CSLoadLibrary |
The customer wonders how to delete unmanaged dll after it was used with DLLImport, and AIO has a directly working sample for this! | |
CppFileMappingServer, CppFileMappingClient, CSFileMappingServer, CSFileMappingClient |
A managed customer wants to implement a native/managed process-dll communication using the ICLRRuntimeHost interface. However, Pinvoked method must have the following signature: ... | |
MFCActiveX |
A managed customer wants to add a button on his ActiveX Control, but he doesn't know how to do it. I suggest him to take a look at the MFCActiveX sample in our CodeFx project. He then figure the issue and mark my reply as answer. | |
MFCActiveX |
The customer followed these instructions from the All-In-One Framework CodeFx sample MFCActiveX, and posted a question regarding the sample in msdn forum. Our engineer helped him out quickly. | |
CppUACSelfElevation, CSUACSelfElevation, VBUACSelfElevation |
I happened to see this old thread. Considering that OP's query in this thread is a very typical coding scenario, I have worked out code samples to demonstrate how to do the following things in three different langauges: VC++, VC#, VB.NET:CppUACSelfElevation, CSUACSelfElevation, and VBUACSelfElevation. |
6. 项目主要指标比较稳定
从1月开始,我们将推出 Windows Azure 的示例代码,并发布Sample Browser Application。敬请期待。