26.06.2017 Views

Bootstrap for ASP.NET MVC

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using <strong>Bootstrap</strong> Components<br />

SignalR is a library <strong>for</strong> <strong>ASP</strong>.<strong>NET</strong>; this library makes it very easy<br />

to add real-time functionality and feedback to your applications.<br />

You can read more about it at www.signalr.net.<br />

2. Next, add a new folder called Hubs to your project, and add a new<br />

class called ProgressbarHub.cs to the folder. Change its code to the<br />

following code:<br />

using System.Threading;<br />

using Microsoft.AspNet.SignalR;<br />

namespace Northwind.Web.Hubs<br />

{<br />

public class ProgressbarHub : Hub<br />

{<br />

public void SendProgress()<br />

{<br />

<strong>for</strong> (int i = 0; i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!