-
Notifications
You must be signed in to change notification settings - Fork 63
Clean csx samples #812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Clean csx samples #812
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
282053c
sql attribute not needed
MaddyDev 5397606
simplify the folder structure for csx
MaddyDev 6d99129
add local.settings.json
MaddyDev c6344ec
Merge branch 'main' into maddy/cleanCsxSamples
MaddyDev eea2ee8
Merge branch 'main' into maddy/cleanCsxSamples
MaddyDev e7305fa
rename folders in proj file
MaddyDev 4d5bff6
clean up logs and unused
MaddyDev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...t/OutputBindingSamples/AddProduct/run.csx → ...s/samples-csharpscript/AddProduct/run.csx
This file contains hidden or 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
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...utBindingSamples/AddProductParams/run.csx → ...les-csharpscript/AddProductParams/run.csx
This file contains hidden or 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
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...ngSamples/AddProductWithDefaultPK/run.csx → ...arpscript/AddProductWithDefaultPK/run.csx
This file contains hidden or 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
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...ples/AddProductWithIdentityColumn/run.csx → ...ript/AddProductWithIdentityColumn/run.csx
This file contains hidden or 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
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...ProductWithIdentityColumnIncluded/run.csx → ...ProductWithIdentityColumnIncluded/run.csx
This file contains hidden or 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
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...MultiplePrimaryColumnsAndIdentity/run.csx → ...MultiplePrimaryColumnsAndIdentity/run.csx
This file contains hidden or 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
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...utBindingSamples/AddProductsArray/run.csx → ...les-csharpscript/AddProductsArray/run.csx
This file contains hidden or 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
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...ndingSamples/AddProductsCollector/run.csx → ...csharpscript/AddProductsCollector/run.csx
This file contains hidden or 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
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...ddProductsWithIdentityColumnArray/run.csx → ...ddProductsWithIdentityColumnArray/run.csx
This file contains hidden or 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
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...tBindingSamples/GetAndAddProducts/run.csx → ...es-csharpscript/GetAndAddProducts/run.csx
This file contains hidden or 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...indingSamples/GetProductNamesView/run.csx → ...-csharpscript/GetProductNamesView/run.csx
This file contains hidden or 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ndingSamples/GetProductsNameEmpty/run.csx → .../samples-csharpscript/GetProducts/run.csx
This file contains hidden or 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...amples/GetProductsAsyncEnumerable/run.csx → ...script/GetProductsAsyncEnumerable/run.csx
This file contains hidden or 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...indingSamples/GetProductsNameNull/run.csx → ...csharpscript/GetProductsNameEmpty/run.csx
This file contains hidden or 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...amples/GetProductsStoredProcedure/run.csx → ...-csharpscript/GetProductsNameNull/run.csx
This file contains hidden or 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...t/InputBindingSamples/GetProducts/run.csx → ...script/GetProductsStoredProcedure/run.csx
This file contains hidden or 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
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
samples/samples-csharpscript/GetProductsStoredProcedureFromAppSetting/run.csx
This file contains hidden or 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,17 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
|
||
#load "../Common/product.csx" | ||
#r "Newtonsoft.Json" | ||
|
||
using System.Net; | ||
using Microsoft.AspNetCore.Mvc; | ||
using Microsoft.Extensions.Primitives; | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
|
||
public static IActionResult Run(HttpRequest req, ILogger log, IEnumerable<Product> products) | ||
{ | ||
log.LogInformation("C# HTTP trigger function processed a request."); | ||
return new OkObjectResult(products); | ||
} |
5 changes: 0 additions & 5 deletions
5
samples/samples-csharpscript/InputBindingSamples/.vscode/extensions.json
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...samples-csharpscript/InputBindingSamples/GetProductsStoredProcedureFromAppSetting/run.csx
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
samples/samples-csharpscript/OutputBindingSamples/.vscode/extensions.json
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
samples/samples-csharpscript/OutputBindingSamples/host.json
This file was deleted.
Oops, something went wrong.
File renamed without changes.
6 changes: 2 additions & 4 deletions
6
...ndingSamples/QueueTriggerProducts/run.csx → ...csharpscript/QueueTriggerProducts/run.csx
This file contains hidden or 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
File renamed without changes.
This file contains hidden or 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
File renamed without changes.
File renamed without changes.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.