Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
C# 7 and .NET Core 2.0 Blueprints

You're reading from   C# 7 and .NET Core 2.0 Blueprints Build effective applications that meet modern software requirements

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher
ISBN-13 9781788396196
Length 428 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
 Strauss Strauss
Author Profile Icon Strauss
Strauss
 Rademeyer Rademeyer
Author Profile Icon Rademeyer
Rademeyer
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Title Page
Copyright and Credits
Dedication
Packt Upsell
Contributors
Preface
1. eBook Manager and Catalogue App FREE CHAPTER 2. Cricket Score Calculator and Tracker 3. Cross Platform .NET Core System Info Manager 4. Task Bug Logging ASP .NET Core MVC App 5. ASP.NET SignalR Chat Application 6. Web Research Tool with Entity Framework Core 7. A Serverless Email Validation Azure Function 8. Twitter Clone Using OAuth 9. Using Docker and ASP.NET Core 1. Other Books You May Enjoy Index

Solution overview


Now you should have a complete, buildable solution. Let's have a quick look at the solution in Solution Explorer:

Starting at the top, let me list the changes we've made to our Chapter5 project:

  1. The following is the SignalR Asp.NET Core library we added through NuGet:

Dependencies/NuGet/Microsoft.AspNetCore.SignalR (1.0.0-alpha2-final)

  1. We copied this JavaScript library manually from the node_modules folder after we downloaded it using npm:

wwwroot/scripts/signalr-client-1.0.0-alpha2-final.min.js

  1.  Our client page with HTML markup, styling and JavaScript all in one:  one.wwwroot/index.html

 

Note

If you are going to use this application as a base and extend it, I recommend moving the JavaScript code to a separate .js file. It is easier to manage and is another good coding standard to follow.

  1. Chat.cs: This is our chat server code—or rather any custom Task methods that we declared
  2. Startup.cs: This file is standard in an Asp.NET Code web application, but we changed the configuration to...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images