Skip to content
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

build: sprint release VSP1713P1 merge main back to dev #12599

Merged
merged 7 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
namespace OpenAPIClient
{
public class RequestParams()
public class RequestParams
{
public object PathObject;
public object QueryObject;
public object HeaderObject;
public object RequestBody;
public RequestParams() { }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace {{SafeProjectName}}
},
};
var res = await graphClient.Search.Query(new List<SearchRequestObject> { q }).Request().PostAsync();
var urls = res.CurrentPage[0].HitsContainers.SelectMany(hitContainer => hitContainer.Hits ?? []).Select(hit => (hit.Resource as DriveItem).WebUrl).ToList();
var urls = res.CurrentPage[0].HitsContainers.SelectMany(hitContainer => hitContainer.Hits ?? new List<SearchHit>()).Select(hit => (hit.Resource as DriveItem).WebUrl).ToList();
return urls;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -21,9 +21,9 @@ the notification(replace <endpoint> with real endpoint, for example localhost:51
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
5. In the opened web browser, select Add button to test the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
1. Press F5, or select the Debug > Start Debugging menu in Visual Studio
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -19,9 +19,9 @@ to install the app to
4. Press F5, or select the Debug > Start Debugging menu in Visual Studio
5. In the launched browser, select the Add button to load the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -21,9 +21,9 @@ the notification(replace <endpoint> with real endpoint, for example localhost:51
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
5. In the opened web browser, select Add button to test the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
1. Press F5, or select the Debug > Start Debugging menu in Visual Studio
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -19,9 +19,9 @@ to install the app to
4. Press F5, or select the Debug > Start Debugging menu in Visual Studio
5. In the launched browser, select the Add button to load the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -21,9 +21,9 @@ the notification(replace <endpoint> with real endpoint, for example localhost:51
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
5. In the opened web browser, select Add button to test the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
1. Press F5, or select the Debug > Start Debugging menu in Visual Studio
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -19,9 +19,9 @@ to install the app to
4. Press F5, or select the Debug > Start Debugging menu in Visual Studio
5. In the launched browser, select the Add button to load the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -21,9 +21,9 @@ the notification(replace <endpoint> with real endpoint, for example localhost:51
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
5. In the opened web browser, select Add button to test the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
8 changes: 4 additions & 4 deletions templates/csharp/notification-http-trigger/README.md.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
1. Press F5, or select the Debug > Start Debugging menu in Visual Studio
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -19,9 +19,9 @@ to install the app to
4. Press F5, or select the Debug > Start Debugging menu in Visual Studio
5. In the launched browser, select the Add button to load the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -21,9 +21,9 @@ the notification(replace <endpoint> with real endpoint, for example localhost:51
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
5. In the opened web browser, select Add button to test the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
1. Press F5, or select the Debug > Start Debugging menu in Visual Studio
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -19,9 +19,9 @@ to install the app to
4. Press F5, or select the Debug > Start Debugging menu in Visual Studio
5. In the launched browser, select the Add button to load the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -21,9 +21,9 @@ the notification(replace <endpoint> with real endpoint, for example localhost:51
</br>![image](https://raw.githubusercontent.com/OfficeDev/TeamsFx/dev/docs/images/visualstudio/debug/debug-button.png)
5. In the opened web browser, select Add button to test the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
8 changes: 4 additions & 4 deletions templates/csharp/notification-timer-trigger/README.md.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
1. Press F5, or select the Debug > Start Debugging menu in Visual Studio
2. Teams App Test Tool will be opened in the launched browser
3. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
Expand All @@ -19,9 +19,9 @@ to install the app to
4. Press F5, or select the Debug > Start Debugging menu in Visual Studio
5. In the launched browser, select the Add button to load the app in Teams
6. [If you selected http trigger] Open Windows PowerShell and post a HTTP request to trigger
the notification(replace <endpoint> with real endpoint, for example localhost:5130):
the notification(replace \<endpoint\> with real endpoint, for example localhost:5130):

Invoke-WebRequest -Uri "http://<endpoint>/api/notification" -Method Post
Invoke-WebRequest -Uri "http://\<endpoint\>/api/notification" -Method Post

{{/enableTestToolByDefault}}

Expand Down
Loading