зеркало из
1
0
Форкнуть 0
Граф коммитов

330 Коммитов

Автор SHA1 Сообщение Дата
Terence Fan af837b93ec
Rebrand AAD to Microsoft Entra ID (#241) 2023-11-07 18:07:39 +08:00
JialinXin f15548e58f
Merge pull request #240 from vwxyzh/z/aspnetform
add a sample for aspnet form.
2023-09-01 15:18:20 +08:00
Zhenghui Yan eefe366d69 add a sample for aspnet form. 2023-09-01 14:47:49 +08:00
Wanpeng Li 184284dff1
Update SimpleEcho.csproj (#236) 2023-06-28 11:26:42 +08:00
Liangying.Wei 0f822b2385
Update to net7.0 and add a solution file (#235)
* Update to net7.0 and add a solution file

* Update to use latest client js lib

* Update Chatroom to use the latest syntax
2023-06-25 20:19:12 +08:00
Zitong Yang 8e7775916a Update the SignalR client for management SDK 2023-05-30 15:30:57 +08:00
yzt c255794db2
Fix BidirectionChat samples (#226)
1. Added `local.settings.json` file to dotnet isolated-worker sample
2. Fixed the UI problem that "AddUserToGroup", "RemoveUserFromGroup" buttons appear in the messages whose user ID is null.
2023-05-06 11:43:45 +08:00
yzt 2e928b19f5
Add .NET isolated worker function integrated with SignalR management SDK (#224) 2023-04-23 16:02:19 +08:00
Zitong Yang da0aca70f4 Add Serverless Chat With Auth code 2023-02-16 14:47:53 +08:00
yzt aaf85ea16c
Add c# isolated-worker quick start serverless sample
1. Add c# isolated worker version
2. Some fixes.
2022-12-28 17:14:48 +08:00
Zitong Yang 8dfc72e682 Update quick start serverless sample 2022-12-28 17:12:10 +08:00
0xFun 8b5c8272fa Update README.md 2022-11-09 15:16:38 +08:00
Peter Hobor 57dfce8a2b NegotitationServer-->NegotiationServer typo fix
cd NegotitationServer did not work,
cd NegotiationServer  does :)
2022-11-07 10:18:35 +08:00
JialinXin 08abbdbbd0
Merge pull request #213 from aspnet/jixin/ci-sample
Add sample for client invocation.
2022-10-27 16:11:04 +08:00
Jialin Xin 2a054e6733 minor update. 2022-10-27 16:10:31 +08:00
Jialin Xin b3c17b56bf improve README 2022-10-27 16:07:26 +08:00
Jialin Xin b4598f475e update README. 2022-10-27 15:50:37 +08:00
Jialin Xin 8d33baf0ad Add sample for client invocation. 2022-10-27 15:35:55 +08:00
yzt c440114dc8
Update bidirectional chat sample for isolated worker
Update bidirectional chat sample for isolated worker
2022-06-24 12:43:21 +08:00
Zitong Yang 70018a7d4a Update bidirectional chat sample for isolated worker 2022-06-24 11:58:45 +08:00
dependabot[bot] 6df07047e8
Bump Microsoft.AspNetCore.Authentication.JwtBearer (#166)
Bumps [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/aspnet/AspNetCore) from 3.1.11 to 3.1.18.
- [Release notes](https://github.com/aspnet/AspNetCore/releases)
- [Commits](https://github.com/aspnet/AspNetCore/compare/v3.1.11...v3.1.18)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 11:17:47 +08:00
Wanpeng Li a9699ea16d
update readme (#169) 2022-06-01 11:17:12 +08:00
dependabot[bot] 9819e1e019
Bump ajv in /samples/EventGridIntegration/javascript (#188)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 11:16:45 +08:00
Chenyang Liu 345fb657bd
Update event grid version (#180)
Co-authored-by: Liangying.Wei <lianwei@microsoft.com>
2022-06-01 11:15:38 +08:00
dependabot[bot] 94ad64d203
Bump Microsoft.AspNetCore.App in /samples/ChatRoom.NetCore21/ChatRoom (#171)
Bumps [Microsoft.AspNetCore.App](https://github.com/aspnet/Universe) from 2.1.0 to 2.1.4.
- [Release notes](https://github.com/aspnet/Universe/releases)
- [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md)
- [Commits](https://github.com/aspnet/Universe/compare/2.1.0...2.1.4)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.App
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 11:14:59 +08:00
dependabot[bot] 71151bacf6
Bump Microsoft.AspNetCore.App (#172)
Bumps [Microsoft.AspNetCore.App](https://github.com/aspnet/Universe) from 2.1.0 to 2.1.4.
- [Release notes](https://github.com/aspnet/Universe/releases)
- [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md)
- [Commits](https://github.com/aspnet/Universe/compare/2.1.0...2.1.4)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.App
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 11:14:43 +08:00
dependabot[bot] 4f5a2005c0
Bump commons-io from 2.4 to 2.7 in /samples/QuickStartServerless/java (#173)
Bumps commons-io from 2.4 to 2.7.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 11:14:30 +08:00
Eric Xing 27b0283ec4
upgrade to .Net6.0 for sample QuickStartServerless (#183) 2022-06-01 11:14:17 +08:00
Eric Xing ff952fce00
upgrade to .Net 6.0 for sample Management (#184) 2022-06-01 11:13:48 +08:00
dependabot[bot] 73bae57e3f
Bump gson from 2.8.7 to 2.8.9 in /samples/QuickStartServerless/java (#189)
Bumps [gson](https://github.com/google/gson) from 2.8.7 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.7...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 11:12:08 +08:00
Eric Xing 540adfb285
upgrade to .Net6.0 & fix bug for sample GitHubChat (#182)
* upgrade to .Net6.0 & fix bug for sample GitHubChat

* add Dockerfile for GitHubChat

* update sample GitHubChat

* update README of sample GitHubChat

* update GitHubChat Dockerfile

* update GitHubChat Startup.cs

* update GitHubChat readme

* update GitHubChat dockerfile
2022-06-01 11:11:48 +08:00
Eric Xing 8002cb537b
upgrade to .Net 6.0 for some samples (#185) 2022-06-01 11:11:03 +08:00
Eric Xing caba1736ba
upgrade to .net 6.0 for some samples (#186)
* upgrade to .net 6.0 for some samples

* add DockerFile for some samples

* update README about docker deployment

* update Dockerfile and Readme for some samples

* update readme for some samples

* update dockerfile
2022-06-01 11:10:18 +08:00
Chenyang Liu 2003cb5bcc
fix naming (#177) 2022-02-21 15:00:38 +08:00
Chenyang Liu 6217bcf4bc
Add etag to eliminate rate limit (#176) 2022-02-21 14:12:04 +08:00
yzt f9bc2c3e79
Merge pull request #174 from aspnet/bidirctionalchat
Fix bidirectional chat samples
2022-02-11 12:42:55 +08:00
Zitong Yang 4a63cf6849 Add README.md for dotnet isolated bidirection chat sample 2022-02-10 18:04:58 +08:00
Zitong Yang 2ca7c04877 Fix that user id is not found 2022-02-10 16:50:04 +08:00
Zitong Yang a550f892b2 Remove unused pojo in the dotnet isolated bidirectional chat sample 2022-02-10 16:50:04 +08:00
yzt de5ea323f6
Add Auzre Functions sample bidirectional chat for isolated-process model (#170) 2022-02-10 16:23:32 +08:00
Lixiang 06b1e29ed0
The reliable chatroom sample (#110)
* Add ChatRoomWithAck sample.

Add ChatRoomWithAck sample.
Sending a message to a specified user will log the status (Sent, Arrived, Acknowledged) on the chat screen.
The user who received the message can ack each message by clicking it.
The server now stores the message for offline users. They will receive these messages the next time they login into this page with the same userName.

* Address coding standards and update 'message' classes

* Address coding convention issues

* Resharper the code

* DI the message handler

* Add jwt authentication

* Revert "Add jwt authentication"

This reverts commit 9e6a436444.

* DI the AckHandler and remove some old classes

* Address AckHandler related issues

* Refactor the hub classes

* Update Index and Add comments

* Update Folder Name

* Add the base frame of ReliableChatRoom sample

* Update Project Name

* Update message replay and base 'read' receipts

Reliable chatroom for publish

Use user-secrets

* Update Hub Name

* Update messageId

* Update front-end

* Naming and AzureTable storage issues

* Update InMemoryMessageStorage

TODO: Lock and try-catch

* Update Message Storage

* Update Message Sorting Issues InMemory

* Remove tricky rules

* Update InMemoryMessageStorage.cs

* Update the TableEntity

* Add copyrights and readme

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Add inages for tutorial

* Update README.md

* Update README.md

* Update Images

Co-authored-by: lixiang12138 <zhao20130673@163.com>
Co-authored-by: Liangying.Wei <lianwei@microsoft.com>
2021-12-08 14:27:30 +08:00
Lixiang e4cad4c928
Add AckableChatRoom sample (#107)
* Add ChatRoomWithAck sample.

Add ChatRoomWithAck sample.
Sending a message to a specified user will log the status (Sent, Arrived, Acknowledged) on the chat screen.
The user who received the message can ack each message by clicking it.
The server now stores the message for offline users. They will receive these messages the next time they login into this page with the same userName.

* Address coding standards and update 'message' classes

* Address coding convention issues

* Resharper the code

* DI the message handler

* Add jwt authentication

* Revert "Add jwt authentication"

This reverts commit 9e6a436444.

* DI the AckHandler and remove some old classes

* Address AckHandler related issues

* Refactor the hub classes

* Update Index and Add comments

* Add AckableChatRoom sample

* Self review

* Self review

* Remove the enum and update the hub

* Update hub name

* Update hub name

* Update 'Read' status logic

* Update front-end
2021-12-08 14:19:19 +08:00
Liangying.Wei 0df8cb4756
Upgrading to net472 (#148) 2021-11-08 17:14:01 +08:00
yzt d18d9b38be
Add `ClientManager` usage to management sample (#167)
SignalR client output sample:

```
User 'User' with connection id 'CKZhiNk__nyv3Vrz8SnK_Q1448c44c1' connected.
User: gets message from service: 'aaa'
```

MessagePublisher output sample:

```
*********Usage*********
send user <User Id> <Message>
send users <User Id List (Seperated by ',')> <Message>
send group <Group Name> <Message>
send groups <Group List (Seperated by ',')> <Message>
usergroup add <User Id> <Group Name>
usergroup remove <User Id> <Group Name>
broadcast <Message>
close <Connection ID> <Reason>
checkexist connection <Connection ID>
checkexist user <User ID>
checkexist group <Group Name>
***********************
> checkexist connection CKZhiNk__nyv3Vrz8SnK_Q1448c44c1
connection 'CKZhiNk__nyv3Vrz8SnK_Q1448c44c1' exists.
> checkexist connection CKZhiNk__nyv3Vrz8SnK_Q1448c44c2
connection 'CKZhiNk__nyv3Vrz8SnK_Q1448c44c2' does not exist.
> checkexist user User
user 'User' exists.
> send user User abc
send message 'abc' to 'User'
```
2021-09-17 16:36:33 +08:00
yzt abf1c3d265
Update SignalR extension version to 1.5.0 (#165) 2021-09-09 13:38:43 +08:00
yzt 733b4297d1
Add new management sample (#163)
* Add and update Management sample for 1.10.0

* Update and add md files

* add file header

* fix indention

* fix

* Remove Legacy Sample

* fix

* add another hub

* Fix

* Fix readme.md

* Add more comments

* fix doc

* Add gitignore
2021-09-08 17:01:35 +08:00
JialinXin bb7652ae0b
Merge pull request #162 from Y-Sindo/zityang/management
Move Management legacy sample
2021-07-19 16:50:04 +08:00
Zitong Yang 301f0acbab Move Management old samples to /Legacy directory 2021-07-19 16:43:00 +08:00
Chenyang Liu 1ccde13492
Add new quick start samples (#161)
* Add new quick start samples

* Add version update

* some update

* Add some readme
2021-06-22 10:41:05 +08:00
Matthew Burleigh 9c16f7cc98 fix typo 2021-04-29 12:42:46 +08:00