-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from microsoft/pehecke-webapi-sample-update
Web API sample update
- Loading branch information
Showing
57 changed files
with
481 additions
and
2,126 deletions.
There are no files selected for viewing
23 changes: 10 additions & 13 deletions
23
cds/webapi/C#/CDSWebApiService/App.config → cds/webapi/C#/App.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
cds/webapi/C#/AsyncParallelOperations/AsyncParallelOperations.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
82 changes: 0 additions & 82 deletions
82
cds/webapi/C#/BasicOperations/BasicOperations/BasicOperations.csproj
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
cds/webapi/C#/BasicOperations/BasicOperations/Properties/AssemblyInfo.cs
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
cds/webapi/C#/BasicOperations/BasicOperations/SampleMethod.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.