MICROSOFT.NET INTEROPERABILITY BLACK BELT – TIPS & TRICKS Vjekoslav Babic (Fortempo)

Slides:



Advertisements
Similar presentations
More and Better Test Ideas Rikard Edgren TIBCO Spotfire EuroSTAR share one-liner test ideas.
Advertisements

How To: Insert Headers and Footers
For(int i = 1; i
§3 Dynamic Programming Use a table instead of recursion 1. Fibonacci Numbers: F(N) = F(N – 1) + F(N – 2) int Fib( int N ) { if ( N
GPUG ® Summit 2011 November 8-11 Caesars Palace – Las Vegas, NV Microsoft Office 365 & Microsoft Dynamics GP: Better Together Jay Manley - Sr. Microsoft.
How to be a C# ninja in 10 easy steps. Benjamin Day.
Unit 7 Generic Interfaces and Encapsulation, a Class in the Middle Kirk Scott.
S EMINAL : Searching for ML Type-Error Messages Benjamin Lerner, Dan Grossman, Craig Chambers University of Washington.
TIPS & TRICKS ABOUT REPORT DESIGN IN DYNAMICS 2009 Steven Renders …think about IT.
EXtreme.NET Dr. Neil Roodyn. eXtreme.NET Who is Dr. Neil? MISSION: To increase the value of your Software Business Working with software for way too long.
THE BEAUTIFUL “CHORD” OF COMPUTING SETH WALDROP C#
Product Overview. Agenda  Performance Management  PerformancePoint Overview  PerformancePoint Monitoring & Analytics  PerformancePoint Planning 
Trey Mack James Moore Osa Osar-Emokpae
The Use of Microsoft based Technologies for the benefit of the Community Prof. Avi Mendelson – Microsoft & Technion - Taub 643.
Java 1.5 Features (1) Foreach and enums. Administrivia Labs Took feedback Consensus: Labs are valuable, but take a lot of time Result: We will continue.
Iterator Pattern Dr. Neal CIS 480. Iterator An iterator pattern can be used when one class is a collection of things and would like to provide a standardized.
Microsoft Dynamics Road To Repeatability Technical Deep Dive Server Extensibility in Microsoft Dynamics NAV Vjekoslav Babić, MVP.
INTELLIGENT DATA SOLUTIONS SSIS Tips and Tricks Bradley Schacht Blog:
Seven Habits of Effective Pattern Writers Facade Pattern PH pp GoF pp John Klacsmann.
About me I attend the Edina chapter of TechMasters Been a programmer since age 13, sparked by playing video games Currently employed at GMAC as an independent.
MICROSOFT.NET INTEROPERABILITY FOR BEGINNERS Vjekoslav Babic (Fortempo)
WEB SERVICES. Service Tier Web Services Client Services ApplicationApplication Meta data provider Class Library Client Tier Microsoft SQL Server Form.
Week 8 Hi everyone! I hope you’re having a good time programming your apps and writing up completed business plans.
Presenter - Donn Felker.  Senior Consultant for Microsoft Gold Certified Partner- Statêra.  8 years of experience in developing and architecting enterprise.
@benday #vslive Better Unit Tests through Design Patterns: Repository, Adapter, Mocks, and more… Benjamin
Exception Handling Basic -- from generic idea to Java.
HDNUG 27-March-2007 SQL Server 2005 Suite as a Business Intelligence Solution.
Starting Line Students’ Book 7 Unit 1.
07 Coding Conventions. 2 Demonstrate Developing Local Variables Describe Separating Public and Private Members during Declaration Explore Using System.exit.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
Generics in.NET and C# Generics. ”Generic” Programming in C#/Java (as it was until Summer 2005) All classes inherit from Object So we can apply polymorphism.
1 Hammad Khan. COURSE CONTENTS.NET Framework And C# SQL Server 2008 ADO.NET LINQ ASP.NET Dynamics Data ASP.NET MVC framework 2 Advance C# Concepts Windows.
© 2012 About Me Doing agile since 1999 Start ups / Enterprises Planigle - Consulting and Training Qcue – VP, Engineering.
Teaching with C Sharp Rob Miles. Overview  Introduction >My perspective  C# and Java >Broad overview of the languages  Significant C# Features >C#
Keith Elder Microsoft MVP
Facade Introduction. Intent Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the.
Tony Whitter Principal, Whitter Technology WMB401 Author Jeff Neafsey Mobility Architect Microsoft.
Types in programming languages1 What are types, and why do we need them?
Hack for HHVM Converting Facebook Julien Verlaguet Software Engineer.
IAsyncResult ar = BeginSomething(…); // Do other work, checking ar.IsCompleted int result = EndSomething(ar);
5/28/2002 (c) 2002 Orbonyx Corp. All Rights Reserved. GotDotNet – Building Upon the Framework Roy Ogborn, Lead Consultant Orbonyx Corp.
Advanced Windows 8 Apps Using JavaScript Jump Start Exam Prep M6: Deployment Jeremy Foster Microsoft Developer Evangelist Michael Palermo Microsoft.
Mark Hudson – Session 1 David Lynn – Session 2 The Microsoft Office 2007 Experience jeffersonparish.wikispaces.com.
Reading Strategies Marking the Text: METACOGNITIVE MARKERS.
1.Net programmingGenericsNOEA / 2009 Generics 11. Generics in.NET and C#
Really Useful Web Services
Design Patterns: Behavioral Design Patterns General and reusable solutions to common problems in software design Software University
Are you seeing half the picture? More speed, more accuracy, less filing: Using Zetadocs to optimise your sales order process Customer Day: September 18.
Tips for Quick Reading.
Microsoft Dynamics NAV: Tips and tricks for security methodologies Andy Snook and Nate Boettcher Fastpath, Inc.
Modern Development Technologies in SharePoint SHAREPOINT SATURDAY OMAHA APRIL, 2016.
DYNAMICS CRM 2013 MOBILE APPLICATIONS Nikita Polyakov | | NikitaP.com.
Northwest Arkansas.Net User Group Jay Smith Tyson Foods, Inc. Unit Testing nUnit, nUnitAsp, nUnitForms.
Principled N-Tier Design or, a Solution to the Solution Problem Steve | ardalis.com Telerik, Inc.
M E L B O U R N E S Y D N E Y C A N B E R R A B R I S B A N EW W W. R E A D I F Y. N E T DEV315: Visual C# Under the Covers An In-Depth Look at C# 2.0.
Microsoft dynamics nav Vjekoslav Babić Fortempo d.o.o. WHAT’S NEW IN TECHNOLOGY IN MICROSOFT DYNAMICS NAV 2013 BETA.
CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Advanced.NET Programming I 2 nd Lecture Pavel Ježek
Account Schedules in Dynamics NAV
Microsoft Dynamics NAV 2013 Overview Tom Doran - ABC Computers
Polymorphic Event Patterns for C/AL
The World of Web-Based Microsoft Dynamics NAV Resources
Extending SSRS with Custom Code
#7 Adriatics Dynamics Community
M4: Animations, Custom Controls, and Globalization
Jose Almeida, BI Consultant
Microsoft Azure Fundamentals Microsoft Azure මූලික දැනුම
Amazing the End User with JavaScript
Amazing the End User with JavaScript
Building VDI with Microsoft and Citrix
Reflection week beginning 6th March
Presentation transcript:

MICROSOFT.NET INTEROPERABILITY BLACK BELT – TIPS & TRICKS Vjekoslav Babic (Fortempo)

Vjekoslav Babić consultant, trainer, blogger, author Blog:vjeko.com Author of many How Do I… videos for MSDN and PartnerSource for NAV 2013 and NAV 2013 R2 Co-author of “Implementing Microsoft Dynamics NAV 2009” book ABOUT ME

HOW USERS SEE PROGRAMMERS

HOW PROGRAMMERS SEE USERS

NAV PROGRAMMER PROGRAMMING IN C/AL

NAV PROGRAMMER PROGRAMMING IN.NET

Take.NET Interoperability… … slice it to ribbons… … and then glue it all back together AGENDA

WHAT’S WRONG WITH.NET INTEROPERABILITY?

Part 1 Strong Type

IEnumerable

foreach

for (int i = 0; i < foos.Count(); i++) { Foo f = foos.ElementAt(i); // Do something } foreach (Foo f in foos) { // Do something }

for (int i = 0; i < foos.Count(); i++) { Foo f = foos.ElementAt(i); // Do something } foreach (Foo f in foos) { // Do something }

DON’T DO THIS FOR i := 0 TO Foos.Count - 1 DO BEGIN Foo := Foos.Item(i); END;

DO THIS INSTEAD Enumerator := Foos.GetEnumerator; WHILE Enumerator.MoveNext DO BEGIN Foo := Enumerator.Current; END;

Demo 1 Simple List

System.Object

Demo 2 Not That Simple List

Demo 3 Very Rude Codeunit

Demo 4 A Nice Idea That Fails

Reflection

System.Type

System.Activator

Demo 5 System.Activator

Demo 6 Strongly-Typed Generics

Demo 7 A Nice Idea That Works

Part 2 Error Handling

Demo 8 File.Delete

try..catch

Demo 9 Try..Catch

Part 3 Dependencies

Demo 10 Tight Coupling

PRS.NET

Demo 11 Facade

But there is an even better way.

Inversion of Control Pattern

Demo 12 Inversion of Control

Quick Tip Simple GAC Deployment

Part 4 Auto-Deployment

Demo 13 Client/Server

Demo 14 Auto-Deployment