Skip to content

Commit

Permalink
Merge pull request #147 from microsoft/pehecke-webapi-sample-update
Browse files Browse the repository at this point in the history
Web API sample update
  • Loading branch information
phecke authored Aug 4, 2020
2 parents 9b2e535 + 706a238 commit 1643f0b
Show file tree
Hide file tree
Showing 57 changed files with 481 additions and 2,126 deletions.
Original file line number Diff line number Diff line change
@@ -1,35 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>

<startup>
<supportedRuntime version="v4.0"
sku=".NETFramework,Version=v4.7.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>

<connectionStrings>

<!--
** !IMPORTANT! **
Be mindful that the connection information you enter here will be available to anyone with access to this file.
Do not push changes to this file to a cloned GitHub repository.
This file is used by several Web API samples including: AsyncParallelOperations, BasicOperations,
ConditionalOperations, ParallelOperations, and QueryData.
-->



<add name="Connect"
connectionString="Url=https://yourorg.api.crm.dynamics.com;
connectionString="Url=https://{myorg}.api.crm.dynamics.com;
Authority=null;
ClientId=51f81489-12ee-4a9e-aaae-a2591f45987d;
RedirectUrl=app://58145B91-0C36-4500-8554-080854F2AC97;
UserPrincipalName=you@yourorg.onmicrosoft.com;
Password=y0urp455w0rd;
UserPrincipalName={user}@{myorg}.onmicrosoft.com;
Password={password};
CallerObjectId=null;
Version=9.1;
MaxRetries=3;
TimeoutInSeconds=180;
"/>

</connectionStrings>

</configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<ItemGroup>
<None Include="..\App.config">
<Link>App.config</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="packages.config" />
<None Include="README.md" />
Expand Down
31 changes: 31 additions & 0 deletions cds/webapi/C#/AsyncParallelOperations/AsyncParallelOperations.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30225.117
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsyncParallelOperations", "AsyncParallelOperations.csproj", "{CB194775-BAB4-49F1-8CF5-EEAEBB3C2FA9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CDSWebApiService", "..\CDSWebApiService\CDSWebApiService.csproj", "{E8C225D3-F15A-417C-AA4A-9114C0F2BDF4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CB194775-BAB4-49F1-8CF5-EEAEBB3C2FA9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CB194775-BAB4-49F1-8CF5-EEAEBB3C2FA9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CB194775-BAB4-49F1-8CF5-EEAEBB3C2FA9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CB194775-BAB4-49F1-8CF5-EEAEBB3C2FA9}.Release|Any CPU.Build.0 = Release|Any CPU
{E8C225D3-F15A-417C-AA4A-9114C0F2BDF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E8C225D3-F15A-417C-AA4A-9114C0F2BDF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E8C225D3-F15A-417C-AA4A-9114C0F2BDF4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E8C225D3-F15A-417C-AA4A-9114C0F2BDF4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D6CFEF98-E971-4C15-B4C7-088385D9E7A1}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
<ItemGroup>
<None Include="..\App.config">
<Link>App.config</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="packages.config" />
<None Include="README.md" />
Expand Down
22 changes: 14 additions & 8 deletions cds/webapi/C#/BasicOperations/BasicOperations.sln
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2043
# Visual Studio Version 16
VisualStudioVersion = 16.0.30225.117
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasicOperations", "BasicOperations\BasicOperations.csproj", "{12084EC7-3654-42EA-B545-000D4962F159}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasicOperations", "BasicOperations.csproj", "{DEF5DD26-C911-40A7-A249-7728D360FB1A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CDSWebApiService", "..\CDSWebApiService\CDSWebApiService.csproj", "{E8C225D3-F15A-417C-AA4A-9114C0F2BDF4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{12084EC7-3654-42EA-B545-000D4962F159}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{12084EC7-3654-42EA-B545-000D4962F159}.Debug|Any CPU.Build.0 = Debug|Any CPU
{12084EC7-3654-42EA-B545-000D4962F159}.Release|Any CPU.ActiveCfg = Release|Any CPU
{12084EC7-3654-42EA-B545-000D4962F159}.Release|Any CPU.Build.0 = Release|Any CPU
{DEF5DD26-C911-40A7-A249-7728D360FB1A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DEF5DD26-C911-40A7-A249-7728D360FB1A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DEF5DD26-C911-40A7-A249-7728D360FB1A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DEF5DD26-C911-40A7-A249-7728D360FB1A}.Release|Any CPU.Build.0 = Release|Any CPU
{E8C225D3-F15A-417C-AA4A-9114C0F2BDF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E8C225D3-F15A-417C-AA4A-9114C0F2BDF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E8C225D3-F15A-417C-AA4A-9114C0F2BDF4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E8C225D3-F15A-417C-AA4A-9114C0F2BDF4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FC5866C4-3C4A-49BE-A21F-127A75886A40}
SolutionGuid = {C9F35D5A-9543-476B-85F1-AAF0D1ED3864}
EndGlobalSection
EndGlobal

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions cds/webapi/C#/BasicOperations/BasicOperations/SampleMethod.cs

This file was deleted.

Loading

0 comments on commit 1643f0b

Please sign in to comment.