SignalR Real-time Application Cookbook

SignalR Real-time Application Cookbook

Author: Roberto Vespa

Publisher: Packt Publishing Ltd

Published: 2014-04-23

Total Pages: 450

ISBN-13: 1783285966

DOWNLOAD EBOOK

This book contains illustrated code examples to help you create real-time, asynchronous, and bi-directional client-server applications. Each recipe will concentrate on one specific aspect of application development with SignalR showing you how that aspect can be used proficiently. Different levels of developers will find this book useful. Beginners will be able to learn all the fundamental concepts of SignalR, quickly becoming productive in a difficult arena. Experienced programmers will find in this book a handy and useful collection of ready-made solutions to common use cases, which they will be able to enhance as needed. Developers can also use the book as a quick reference to the most important SignalR features. No previous practical experience either with SignalR or with real-time communication in general is required.


Real-Time Web Application Development

Real-Time Web Application Development

Author: Rami Vemula

Publisher: Apress

Published: 2017-12-01

Total Pages: 607

ISBN-13: 1484232704

DOWNLOAD EBOOK

Design, develop, and deploy a real-world web application by leveraging modern open source technologies. This book shows you how to use ASP.NET Core to build cross-platform web applications along with SignalR to enrich the application by enabling real-time communication between server and clients. You will use Docker to containerize your application, integrate with GitHub to package the application, and provide continuous deployment to Azure’s IaaS platform. Along the way, Real-Time Web Application Development covers topics including designing a Materialize CSS theme, using a test-driven development approach with xUnit.net, and securing your application with the OAuth 2.0 protocol. To further your understanding of the technology, you will learn logging and exception handling; navigation using view components; and how to work with forms and validations. The rich code samples from this book can be used to retrofit or upgrade existing ASP.NET Core applications. What You Will Learn Design and develop a real-world web application Implement security and data storage with OAuth2 and Azure Table Storage Orchestrate real-time notifications through SignalR Use GitHub and Travis CI for continuous integration of code Master Docker containerization and continuous deployment with Docker Cloud to Azure Linux virtual machines Who This Book Is For Developers and software engineers interested in learning an end-to-end approach to application development using Microsoft technologies.


SignalR – Real-time Application Development

SignalR – Real-time Application Development

Author: Einar Ingebrigtsen

Publisher: Packt Publishing Ltd

Published: 2015-09-29

Total Pages: 222

ISBN-13: 1785288628

DOWNLOAD EBOOK

A fast-paced guide to develop, test, and deliver real-time communication in your .Net applications using SignalR About This Book Build and test real-time apps in .Net using the new features of SignalR Explore the fundamentals and the new methods and functions in the latest version of SignalR along with developing a complete application from scratch A progressive, hands-on guide to gain an understanding of the SignalR framework Who This Book Is For If you are a .Net developer with good understanding of the .Net platform then this is an ideal book for you to learn how to build real-time apps using the SignalR framework. What You Will Learn Explore the basic knowledge and understanding of SignalR Get to know how to connect client to the server Connecting a client with a server and setting a hub Creating group connections together Understand how to have state in the client to have specific operations Securing SignalR connections How to scale SignalR across multiple servers Building a client for WPF Building a client using Xamarin targeting Windows, iPhone and Android Get to grips with monitoring the traffic in SignalR using Fiddler for Windows and Charles for OSX Setting up code to host SignalR using OWIN In Detail With technology trends, demands on software have changed with more and more skilled users. Over the past few years, with services such as Facebook, Twitter and push notifications on smartphones, users are now getting used to being up to date with everything that happens all the time. With SignalR, the applications stay connected and will generate notifications when something happens either from the system or by other users thus giving new opportunities to enter into this new, exciting world of real-time application development. This is a step-by-step guide that follows a practical approach helping you as a developer getting to get started with SignalR by learning its fundamentals. It will help you through building real-time applications using the new methods and functions in the SignalR framework. Starting from getting persistent connections with the server, you will learn the basics of connecting a client to the server and how the messaging works. This will be followed by setting up a hub on the server and consuming it from a JavaScript client. Next you will be taught how you can group connections together to send messages. We will then go on to know how you can have state in the client to handle specific operations like connecting or disconnecting. Then, moving on you will learn how to secure your SignalR connections using OWIN and scaling SignalR across multiple servers. Next you will learn building a client for WPF and building a client using Xamarin that targets Windows Phone, iPhone and Android. Lastly, you will learn how to monitor the traffic in SignalR using Fiddler, Charles and hosting SignalR using OWIN. Style and approach This is an example- oriented and comprehensive guide to learning the fundamentals of SignalR to build real-time applications. It will help you build real-time applications on the .Net platform in a step-by-step manner along with giving teaching techniques to deal with possible performance bottlenecks and other key topics.


SignalR Programming in Microsoft ASP.NET

SignalR Programming in Microsoft ASP.NET

Author: José M. Aguilar

Publisher:

Published: 2014

Total Pages: 0

ISBN-13: 9780735683884

DOWNLOAD EBOOK

Get definitive guidance on SignalR, a new library for ASP.NET developers that simplifies the process of adding real-time web functionality to your applications. Real-time web functionality enables server-side code to push content to connected clients instantly as it becomes available. With this book, Microsoft .NET developers familiar with HTML and JavaScript will gain the skills to add real-time and async communication features for web, desktop, and mobile phone applications. Topics include: Introduction to async development; HTTP and real-time communications; SignalR technology fundamentals; persistent connections and hubs; multiplatform real-time applications; advanced topics Learn how SignalR uses Websockets when supported by the browser and the server and falls back to other techniques and technologies when it is not Use the simple ASP.NET API in SignalR for creating server-to-client remote procedure calls (RPC) that call JavaScript functions in client browsers from server-side .NET code. Exploit the API for connection management (e.g. connect and disconnect events), grouping connections, and authorization.


SignalR Blueprints

SignalR Blueprints

Author: Einar Ingebrigtsen

Publisher: Packt Publishing Ltd

Published: 2015-02-25

Total Pages: 244

ISBN-13: 1783983132

DOWNLOAD EBOOK

This book is designed for software developers, primarily those with knowledge of C#, .NET, and JavaScript. Good knowledge and understanding of SignalR is assumed to allow efficient programming of core elements and applications in SignalR.


Pro ASP.NET SignalR

Pro ASP.NET SignalR

Author: Keyvan Nayyeri

Publisher: Apress

Published: 2014-12-09

Total Pages: 347

ISBN-13: 1430263202

DOWNLOAD EBOOK

ASP.NET SignalR is the new solution to real-time communication between servers and clients in .NET. Use it to push new data to a web page or mobile device as soon as it becomes available, whether it’s a notification, live chat, up-to-the-minute financial data, or a range of other exciting applications. Innovations like Google live search and live Facebook and Twitter updates are pushing users’ expectations of the real-time web. With Pro ASP.NET SignalR, you can join this revolution and learn skills that will be valuable for years to come. Pro ASP.NET SignalR starts with an introduction to the real-time web. Learn about the technologies underlying the SignalR library, such as WebSockets and long-polling, and how SignalR elegantly flips between them depending on the capabilities of the client. Next, meet the concepts of hubs and persistent connections and how to use them to build the components of an ASP.NET SignalR application. Find out how to extend, test, debug, configure, scale, and host your applications, and how to target a range of clients, including Windows and iOS. The book rounds off with two case studies—a stock market price updater, and a collaborative drawing application—so you can get to grips with SignalR in a realistic scenario, using a broad range of the concepts covered in earlier chapters. As real-time updates to web and mobile apps become the norm, Pro ASP.NET SignalR will be your in-depth, one-stop companion to this new and exciting technology.


ASP.NET Core 5 for Beginners

ASP.NET Core 5 for Beginners

Author: Andreas Helland

Publisher: Packt Publishing Ltd

Published: 2020-12-18

Total Pages: 603

ISBN-13: 180056631X

DOWNLOAD EBOOK

Learn how to build web applications efficiently using ASP.NET Core 5 with the C# programming language and related frameworks Key FeaturesBuild web apps and services and cross-platform applications using .NET and C#Understand different web programming concepts with the help of real-world examplesExplore the new features and APIs in ASP.NET Core 5, EF Core, Visual Studio, and BlazorBook Description ASP.NET Core 5 for Beginners is a comprehensive introduction for those who are new to the framework. This condensed guide takes a practical and engaging approach to cover everything that you need to know to start using ASP.NET Core for building cloud-ready, modern web applications. The book starts with a brief introduction to the ASP.NET Core framework and highlights the new features in its latest release, ASP.NET Core 5. It then covers the improvements in cross-platform support, the view engines that will help you to understand web development, and the new frontend technologies available with Blazor for building interactive web UIs. As you advance, you’ll learn the fundamentals of the different frameworks and capabilities that ship with ASP.NET Core. You'll also get to grips with securing web apps with identity implementation, unit testing, and the latest in containers and cloud-native to deploy them to AWS and Microsoft Azure. Throughout the book, you’ll find clear and concise code samples that illustrate each concept along with the strategies and techniques that will help to develop scalable and robust web apps. By the end of this book, you’ll have learned how to leverage ASP.NET Core 5 to build and deploy dynamic websites and services in a variety of real-world scenarios. What you will learnExplore the new features and APIs introduced in ASP.NET Core 5 and BlazorPut basic ASP.NET Core 5 concepts into practice with the help of clear and simple samplesWork with Entity Framework Core and its different workflows to implement your application’s data accessDiscover the different web frameworks that ASP.NET Core 5 offers for building web appsGet to grips with the basics of building RESTful web APIs to work with real dataDeploy your web apps in AWS, Azure, and Docker containersWork with SignalR to add real-time notifications to your appWho this book is for This book is for developers who want to learn how to develop web-based applications using the ASP.NET Core framework. Familiarity with the C# language and a basic understanding of HTML and CSS is required to get the most out of this book.


Understanding Game Application Development

Understanding Game Application Development

Author: Vincent Maverick S. Durano

Publisher: Apress

Published: 2018-12-12

Total Pages: 280

ISBN-13: 1484242645

DOWNLOAD EBOOK

Learn to build a simple data-driven mobile game application using the power of Xamarin.Forms, ASP.NET, the Web API, and SignalR with this short book. In it you will build a cross-platform mobile application that targets both iOS and Android, connect your app with your database using Entity Framework, and implement real-time syncing functionality using SignalR. Understanding Game Application Development starts by giving you an overview of the development tools, an installation guide, and a list of prerequisites. You will learn how to manage application flow, create your workspace, and set up your database. Next, you will see how to access data for handling CRUD operations and define the necessary API endpoints. Further, you will build a mobile application with Xamarin.Forms, both in iOS and in Android. You will also understand the deployment and testing process as well as how to build a real-time leader board using ASP.NET MVC and SignalR. Finally, you will understand how to publish your source code on GitHub from Visual Studio 2017. What You Will LearnUnderstand the basic concept and fundamentals of the technologies used for building the applicationsSet up your development environmentCreate a SQL database from scratch Implement a data access layerDefine REST service endpoints using the Web APIDeploy, test, and debug iOS and Android applicationsPush your source code to GitHubWho This Book Is For .NET developers who want to jump on mobile application development with Xamarin and learn with practical examples.


ASP.NET Core 3 and React

ASP.NET Core 3 and React

Author: Carl Rippon

Publisher: Packt Publishing Ltd

Published: 2019-12-27

Total Pages: 585

ISBN-13: 1789959241

DOWNLOAD EBOOK

Build modern, scalable, and cloud-ready single-page applications using ASP.NET Core, React, TypeScript, and Azure Key FeaturesExplore the full potential and latest features of .NET Core 3.0, TypeScript 3, and ReactLearn how to manage data, application design, and packaging, and secure your web appsDiscover best practices for using React and TypeScript to build a scalable frontend that interacts with REST APIsBook Description Microsoft's ASP.NET Core is a robust and high-performing cross-platform web API framework, and Facebook's React uses declarative JavaScript to drive a rich, interactive user experience on the client-side web. Together, they can be used to build full stack apps with enhanced security and scalability at each layer. This book will start by taking you through React and TypeScript components to build an intuitive single-page application. You’ll understand how to design scalable REST APIs that can integrate with a React-based frontend. You’ll get to grips with the latest features, popular patterns, and tools available in the React ecosystem, including function-based components, React Router, and Redux. The book shows how you can use TypeScript along with React to make the frontend robust and maintainable. You’ll then cover important .NET Core features such as API controllers, attribute routing, and model binding to help you build a sturdy backend. Additionally, you’ll explore API security with ASP.NET Core identity and authorization policies, and write reliable unit tests using both .NET Core and React before you deploy your app to the Azure cloud. By the end of the book, you’ll have gained all the knowledge you need to enhance your C# and JavaScript skills and build full stack, production-ready applications with ASP.NET Core and React. What you will learnBuild RESTful APIs with .NET Core using API controllersCreate strongly typed, interactive, and function-based React components using HooksBuild forms efficiently using reusable React componentsPerform client-side state management with Redux and the React Context APISecure REST APIs with ASP.NET identity and authorization policiesRun a range of automated tests on the frontend and backendImplement continuous integration (CI) and continuous delivery (CD) processes into Azure using Azure DevOpsWho this book is for If you’re a web developer looking to build solid full-stack web applications with .NET Core and React, this book is for you. Although this book does not assume any knowledge of React, you’re expected to have a basic understanding of .NET Core.


ASP.NET Core Application Development

ASP.NET Core Application Development

Author: James Chambers

Publisher: Microsoft Press

Published: 2016-11-29

Total Pages: 1008

ISBN-13: 1509304096

DOWNLOAD EBOOK

This is the eBook of the printed book and may not include any media, website access codes, or print supplements that may come packaged with the bound book. Through four complete sprints, this book takes you through every step needed to build brand new cross-platform web apps with ASP.NET Core, and make them available on the Internet. You won't just master Microsoft's revolutionary open source ASP.NET Core technology: you'll learn how to integrate the immense power of MVC, Docker, Azure Web Apps, Visual Studio and Visual Studio Code, C#, JavaScript, TypeScript, and Entity Framework. Working through the authors' carefully designed sprints, you'll start with a blank canvas, move through software architecture and design, adjusting to user feedback, recovering from mistakes, builds, testing, deployment, maintenance, refactoring, and more. Along the way, you'll learn techniques for delivering state-of-the-art software to users more rapidly and repeatably than ever before.