12 January 2012 0 Comments

Microsoft Dynamics Sure Step Online Project Wizard Available

Our Microsoft Dynamics development team is happy to announce the availability of the Microsoft Dynamics Sure Step Online Project Wizard. According to the team… Microsoft Dynamics Sure Step Online Project Wizard enables the ability to create specific Sure Step projects in a partner or customer’s SharePoint environment all from within their own SharePoint environment. In Sure Step, projects are a collection of documents, tools, and templates that are automatically generated based upon filtering criteria selected.

8 January 2010 0 Comments

Developing Testable Silverlight Applications: Part One – Abstracting Data Persistence

At Microsoft PDC 2009 I gave a talk entitled “Developing Testable Silverlight Applications”. We looked at how to use the Inversion of Control principle with the Model-View-ViewModel design pattern to isolate the dependencies within a Silverlight 4 application for easier testing.

25 August 2009 0 Comments

Announcing the New MPN Partner Learning Center

With the evolution of the Microsoft Partner Program to the new Microsoft Partner Network (MPN) , our partner portal and partner tools are starting to reflect the new MPN brand. The transition to MPN welcomes exciting improvements directly related to your training experience—specifically, a new Partner Learning Center (PLC) . The Partner Learning Center provides you with a vast portfolio of training offerings that focus on the latest innovations and strategies – all designed to enhance your team’s…( read more )

6 July 2009 0 Comments

Customer Service & Support – Just one Slice of the Pie

So as our name might suggest, CSS is nestled in with the rest of the Services organization. To learn about this larger spectrum of our offerings just visit the Microsoft Services website! By keeping an eye on the Latest News and exploring our support options you can get an indepth look at the world of Microsoft Services and how we support a software plus services model. Here’s a sneak peek, taken from from the Microsoft Services Overview : “We are devoted to helping customers get the most value from their Microsoft technology.

18 June 2009 0 Comments

How to Create and Consume a Service – New AIF Webcast

If you’re using Dynamics AX 2009 and are new to services, there’s a new webcast that you’ll want to check out.

4 June 2009 0 Comments

The GET MORE! Microsoft Dynamics GP Sales Webinar Series

Didn’t get a chance to attend the most popular Microsoft Dynamics GP partner event of the year? Not to worry! After exceeding the maximum registration in nearly every city visited across the United States and Canada (twelve in all), the Microsoft Dynamics GP Product Management and Marketing teams have recorded the Get More! Microsoft Dynamics GP Sales Seminar into a 4 part web seminar series for you to view on demand! One of the highest ranked series of events based on completed evaluation this year,…( read more )

1 June 2009 0 Comments

DLR を使った Excel プログラミング

Visual Studio 2010ベータ1のウォークスルーの中に Office プログラマビリティ があります。このウォークスルーの中で、1か所だけ 動的呼び出しになると記述されたところがあります。この個所を、このウォークスルーではNo PIA(埋め込みPIA)というシナリオを確認するために、最終的には、キャストします。なぜキャストするかといえば、埋め込みPIAでは必要な型情報のみを取り込むからだと説明されています。この内容は、さておきNo PIAにしないコードの抜粋を以下に引用します。 public class Account { public int ID { get; set; } public double Balance { get; set; } } using Excel = Microsoft.Office.Interop.Excel; class Program { static void Main(string[] args) { var checkAccounts = new List<Account> { new Account { ID = 345, Balance = 541.27 }, new Account { ID = 123, Balance = -127.44 } }; DisplayInExcel(checkAccounts, (account, cell) => { cell.Value2 = account.ID; cell.get_Offset(0, 1).Value2 = account.Balance; if (account.Balance < 0) { cell.Interior.Color = 255; cell.get_Offset(0, 1).Interior.Color = 255; } }); } public static void DisplayInExcel( IEnumerable<Account> accounts, Action<Account, Excel.Rage> DisplayFunc) { var xl = new Excel.Application(); xl.Workbooks.Add(); xl.Visible = true; xl.get_Range(“A1″).Value2 = “ID”; xl.get_Range(“B1″).Value2 = “Balance”; xl.get_Range(“A2″).Select(); foreach (var ac in accounts) { DisplayFunc(ac, xl.ActiveCell); xl.ActiveCell.get_Offset(1, 0).Select(); } xl.get_Range(“A1:B3″).Copy(); xl.Columns[1].AutoFit(); xl.Columns[2].AutoFit(); } } 「 xl.Columns[1].AutoFit(); 」が実行時に解決されて、AutoFitメソッドが呼ばれます。この実行時に解決するというのは、xl.Columns[1]が実行時にRangeオブジェクトを返すために、AutoFitメソッドを呼び出せるようになるという意味です。このウォークスルーでは埋め込みPIAを確認するためですが、最終的に「((Excel.Range) xl.Columns[1]).AutoFit();」とキャストを追加するようになります。  しかし、.NET Framework 4.0ベータ1には動的呼び出しをサポートするために DLRが含まれています。DLRを使うようにすることで、埋め込みPIAどころか、型情報自体を実行時に解決することができます。そのように改造した Programクラスを以下に示します。 //using Excel = Microsoft.Office.Interop.Excel; class Program { static void Main(string[] args) { var checkAccounts = new List<Account> { new Account { ID = 345, Balance = 541.27 }, new Account { ID = 123, Balance = -127.44 } }; DisplayInExcel(checkAccounts, (account, cell) => { cell.Value2 = account.ID; cell.Offset(0, 1).Value2 = account.Balance; if (account.Balance < 0) { cell.Interior.Color = 255; cell.Offset(0, 1).Interior.Color = 255; } }); } public static void DisplayInExcel( IEnumerable<Account> accounts, Action<Account, dynamic> DisplayFunc) { dynamic xl = GetComInstance(“Excel.Application”); xl.Workbooks.Add(); xl.Visible = true; xl.Range(“A1″).Value2 = “ID”; xl.Range(“B1″).Value2 = “Balance”; xl.Range(“A2″).Select(); foreach (var ac in accounts) { DisplayFunc(ac, xl.ActiveCell); xl.ActiveCell.Offset(1, 0).Select(); } xl.Range(“A1:B3″).Copy(); xl.Columns[1].AutoFit(); xl.Columns[2].AutoFit(); } // COMインスタンス作成用のヘルパーメソッド public static dynamic GetComInstance(string progID) { Type comType = Type.GetTypeFromProgID(progID); return System.Activator.CreateInstance(comType); } } プロジェクトからPIAアセンブリへの参照を削除して、ビルドすれば DLR を活用した動的呼び出しが完成します。C#では、PIAを使っている時にGet_RangeやGet_Offsetというメソッドだったことにも注意してください。VBと同じように「Get_」プレフィックスのつかないメソッドで呼び出せるようになります。これは、dynamicキーワードによってC# Binderが DLR のCOM呼び出し(VB6のレイトバインディングと同等)を呼び出すからです。 VB のウォークスルーのコードも、型名を Object に変更すれば、同じように動的呼び出しを実現することができます。VBの場合は、VBコンパイラがVB Binderである NewLateBindingクラス を利用するコードを出力することで実現しています。 PIAがあれば実行時の型変換の規則がありますので実行速度的には良いでしょうが、DLRを使った動的呼び出しも私には良さそうに思えます。皆さんは、どちらがお好きでしょうか?

1 June 2009 0 Comments

MOF Framework Comparison Companion Guides for ITIL and ISO/IEC 20000 now available!

Cross Reference ITIL® V3 and MOF 4.0 and Using MOF for ISO/IEC 20000 The MOF team has released a new series of framework comparison companion guides. Download them now: Download— Cross Reference ITIL® V3 and MOF 4.0 Download— Using MOF for ISO/IEC 20000 The MOF team continues to extend MOF’s core content with the release of new companion guides that address the challenges facing today’s IT pros. This latest series of companion guides focuses on framework comparisons

1 June 2009 0 Comments

RunningJobContext.IsClientConnected

I’ve seen a few people get confused over what this error message in the Reporting Services log file indicates. This message is generated when the Reporting Services web server detects that an HTTP request has experienced a remote disconnect.  In practice, this means that we queried the property HttpResponse.IsClientConnected and it returned false. So how does this work exactly, and are all requests subject to this kind of check?

29 May 2009 0 Comments

Slides Posted: Canadian Leadership Summit “Exploring Software Plus Services” Breakout Session

I’ve posted the slides from the “Exploring Software + Services” presentation Mark Relph and presented May 28, 2009 at the Canadian Leadership Summit. We had a great session as there were plenty of good questions throughout which was appreciated as it always makes the presentation much more engaging so thanks to everyone who came to the session. Also, thanks to everyone who caught up with us at the lunch roundtable as well! As a reminder, you can check out Office Live Workspace, Live Mesh, Microsoft Online, and Windows Azure here: Mesh: www.mesh.com Office Live Workspace: http://workspace.officelive.com   Microsoft Online: www.microsoft.com/online Azure Services Platform: www.microsoft.com/azure Software Plus Services: http://www.microsoft.com/softwareplusservices   Technorati Tags: Microsoft , Software Plus Services , Canadian Leadership Summit , MSCLS09

29 May 2009 0 Comments

Microsoft Dynamics Operations Hour: Year-End Close Info and Credit & Collections – June 4

Join us for the Microsoft Dynamics Hour, a monthly live meeting event that will focus on one or two key operational topics or trainings, in-depth, each month.

27 May 2009 0 Comments

Upcoming CE Training! (Free Hardware too)

  Often, I get asked for when and where’s on CE official training. so here’s one. if you have partners that you know of that’s offering a Training, let me know, and I’ll post for everyone