Tampilkan postingan dengan label Web Services. Tampilkan semua postingan
Tampilkan postingan dengan label Web Services. Tampilkan semua postingan

Kamis, 28 Agustus 2014

Microsoft Dynamics GP 2015 Developers' Preview is now available

These are exciting times indeed! Microsoft Dynamics GP 2015 Developer's Preview is now available for partners to download, as featured over at Developing for Dynamics GP by Kevin Racer, Sr. Program Manager Lead with the Microsoft Dynamics GP team (See Microsoft announces Developer Preview for Dynamics GP 2015).

The Developer's Preview features the new Service Base Architecture (SBA) components that will enable developers from all walks of life to write and integrate applications on any platform to Microsoft Dynamics GP via REST services.

NOTE: as of the time of this article, hypermedia is still not part of the current design.

You can always find more information about RESTful services online, but here's a primer on RESTful with WCF on MSDN.

The RESTful approach facilitates integration across the board as it takes advantage some fundamental principles like HTTP as transport protocol, URIs to identify resources, and Verbs that translate directly into actions.

Now what makes this even more interesting is, all the business logic to consume and expose services can be written in sanScript. Let me repeat... all the business logic to consume and expose services can be written in sanScript - Microsoft Dexterity's development language. Dexterity has been considerably enhanced and extended for .NET interop. There's no more need to expose a .NET assembly to COM. And through the now familiar Dictionary Assembly Generator (DAG), you can generate the .NET assemblies for your Dexterity based services. This truly allows partners and ISVs to take significant advantage of their existing code base without much effort to add this new functionality.

Dexterity continues to evolve to deliver powerful functionality
(C) Copyright Microsoft Corporation, 2014

.NET interop opens up the door for Dexterity developers to create powerful applications that expose and consume services, along with a host of other options previously available only to Visual Studio developers. Alice Newsam discusses more on .NET Interop in her Dynamics GP Developer Insight article, over at Developing for Dynamics GP. The application integration options have now scaled beyond the traditional Web Services, eConnect, and Integration Manager options for CRUD operations and Dexterity Triggers and Visual Studio Tools for UI integration.

Partners can download the Roshal Archive format (RAR) files containing the virtual hard drive (VHD) image from PartnerSource using the links provided by Kevin in his article (See Microsoft announces Developer Preview for Dynamics GP 2015).

It's always good to point out that this is still a preview version so you are encouraged not to release any product or deliver any service to a customer with these tools and rather use for internal education and readiness.

Downloads
SBA_Preview_Readme.txt

In my next article I will discuss how to load the VHD image.

Until next post!

MG.-
Mariano Gomez, MVP
Intelligent Partnerships, LLC
http://www.IntelligentPartnerships.com

Senin, 31 Maret 2014

Microsoft Dynamics GP 2013 Virtual Machine image from the Windows Azure Gallery

Part 2/2 - The Experience

In my previous article, Part 1 of the series, I talked about provisioning a Microsoft Dynamics GP 2013 development environment from the Windows Azure gallery. If you are already an MSDN subscriber and are already taking advantage of Azure, there isn't much new to you as far as provisioning a VM from the gallery goes.

Microsoft Dynamics GP 2013 VM image

One of the first things you will notice on the desktop are shortcuts to Microsoft Dexterity, Microsoft Dynamics, Visual Studio Base Image Icons, a link to the Getting Started with the Microsoft Dynamics GP 2013 Developer Image, and Visual Studio 2013 Premium Edition.

I started out by loading the Getting Started help file, which contains tons of information on all the development tools installed and links to resources. I then proceeded to open Visual Studio 2013, which of course, went through the traditional and lengthy initialization process after entering my Microsoft Account information. At the end, however, I was able to validate that both the Microsoft Dynamics GP Add-In and Microsoft Dynamics GP Web Client Add-In projects were available to begin a Visual Studio Tools project if needed.

Next, I launched Microsoft Dynamics GP 2013 (12.00.1482) and was quickly faced with the login window. I figured the much needed sa password could be find in the Machine Configuration section of the help file provided and sure was. However, I was also disappointed to know that this image is delivered with Microsoft SQL Server Express 2012. Nonetheless, I reminded myself this is a development environment. Unfortunately, the SQL Server Express provisioning script did not incorporate the Advanced Services tools which leaves you without SQL Server Management Studio Express.

If you need to add other Microsoft Dynamics GP components or even the SQL Server Express tools (like Management Studio), you can find the media under the C:\ConfigureDeveloperDesktop\Software folder. There's media for Microsoft Dynamics GP 2013 with SP2, Microsoft SQL Server Express 2012, and Workflow for Microsoft Dynamics GP 2013.

There C:\ConfigureDeveloperDesktop folder also contains a Script folder. In this folder you can find some batch files and PowerShells scripts to deploy the web client and configure additional environment components. Be sure to follow the instructions provided in the Getting Started help file before you attempt to run any of these.

Batch Files and PowerShell scritps

NOTE: you can always add the local SQL Server Database Engine to Visual Studio and build queries using the Visual Studio editor.

To develop eConnect or Web Services for Microsoft Dynamics GP-based integrating applications, you will need to run the ConfigureGPWebServices script in the ConfigureDeveloperDesktop\Scripts folder on the desktop. This script will install and configure the eConnect for Microsoft Dynamics GP and Web Services for Microsoft Dynamics GP components as these are dependent on machine and domain information.

The script for provisioning Microsoft Dynamics GP Web Client is in the C:\ConfigureDeveloperDesktop\Scripts folder. Running the ConfigureGPWebClient script will complete the installation of the web client to the point where you need to run the Microsoft Dynamics GP Web Client Configuration Wizard to compete the configuration. The Microsoft Dynamics GP Web Client Configuration Wizard can be launched from a shortcut on the start screen. The configuration wizard will ask for connection information to the SQL Express instance and then create the databases.

The web client script will create a self-signed security certificate for configuring the web client for SSL communication. To access the web client…

1.      Launch internet explorer and type the following URL, replacing with the name you provided for the virtual machine. (https:///GP) 

2.      You will be asked for credentials to log in. Type in the name and password of the machine administrator account you were logged in with when running the ConfigureGPWebClient script.

To be frank, the Developer's VM image is well stacked and provides all the goodies you will ever need for development purposes. The most important thing to keep in mind is, this is hosted on Windows Azure and as such your disaster/recovery redundancy is unparalleled by anything you have on premise. Think about moving your demo and dev environments to the Windows Azure platform as this will probably be the replacement of the famous Hyper-V images previously delivered via PartnerSource.

Until next post!

MG.-
Mariano Gomez, MVP
IntellPartners, LLC
http://www.IntellPartners.com/