My Photo

Microsoft Dynamics 365

Official Blog for Microsoft Dynamics Functional and Technical Solutions....
Browsing Category " mscrm v9 "

Get Parameter from URL in C#

Get Query from URL and then get Parameter as required .

      string URLT = "localhost:2081/page.aspx?CaseID=662BB71D-CFF9-E711-90CD-00155DD3F14C";
            Uri uri = new Uri(URLT);
            var query = HttpUtility.ParseQueryString(uri.Query);
            var param1 = query.Get("CaseID");
            Guid CaseGUID = new Guid(param1);


Get Plugin Registration tool and assemblies from NuGet Packages for Dynamics 365 , v9.0

With the release of Dynamics 365 (online), version 9.0, there are a lot of changes in our developer documentation:
No more monolithic SDK download : Getting the assemblies and tools you need
SDK assemblies and tools will be distributed only via NuGet. We will provide a script that will allow you to download the assemblies and tools from NuGet.

You can follow below steps to download Nuget Packages using Visual studio

Step 1 Right Click on to your visual studio project and click on to manage NuGet Packages

Step 2 Search for "Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool" and click on install

Click on I accept

Step 3 Navigate to the package directory of that project

Step 4 Search the folder Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.X.0.0.X

Done!! now you will be having your latest Plugin registration Tool

Sample PRT Reference for quick start  : Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.

In the same way you can download any of the NuGet assemblies and tools

Hope it helps !!

Happy CRMing