Browse Source

Update POST.md

pull/8247/head
Alper Ebicoglu 6 years ago
committed by GitHub
parent
commit
137526011b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      docs/en/Community-Articles/2021-03-12-Simple-SignalR-Notification/POST.md

7
docs/en/Community-Articles/2021-03-12-Simple-SignalR-Notification/POST.md

@ -84,12 +84,13 @@ We added SignalR to the `package.json` but it comes into your `node_modules` fol
#### 4- Usage
We have completed the implementation part. Let's check if it's running...
We will show the current time which comes from server.
To do this replace the `Index.cshtml` and `Index.cshtml.cs` with the followings:
To do this easily, open your `Index.cshtml` which is in the Pages folder of your Web project. And replace the content with the following. Also replace the `Index.cshtml.cs` as well.
- [Index.cshtml](https://gist.github.com/ebicoglu/f7dc22cca2d353f8bf7f68a03e3395b8#file-index-cshtml)
[Index.cshtml](https://gist.github.com/ebicoglu/f7dc22cca2d353f8bf7f68a03e3395b8#file-index-cshtml)
- [Index.cshtml.cs](https://gist.github.com/ebicoglu/f7dc22cca2d353f8bf7f68a03e3395b8#file-index-cshtml-cs)
[Index.cshtml.cs](https://gist.github.com/ebicoglu/f7dc22cca2d353f8bf7f68a03e3395b8#file-index-cshtml-cs)
#### 5- See it in action

Loading…
Cancel
Save