RealTime Pulse Monitor Using SignalR And Ignite UI igSparkline

Hey folks. Here I’m sharing a real time heart rate monitor app that I’ve created using SignalR and Ignite UI igSparkline chart. Ignite UI is so cool and comes in very handy when building adaptable UI for Line of Business applications.
Here’s an article, on Getting Started with Ignite UI igGrid from my recent posts:

Download the sample code for this demo from my GitHub Repo:

HeartRate Monitor Using SignalR & igSparkline.

Below is a snapshot of what I’ve built:

snapshot

Prerequisite: Install Infragistics Ignite UI, if you haven’t installed it yet. (Alternatively, you can use CDN versions of JS scripts and CSS files referred). Here, I assume that you have an idea on how SignalR works.

Create an empty ASP.NET project.

empty ASP.NET project
Add SignalR using Nuget.

 

Read the full article here @ C# Corner

 

Happy Learning 🙂

(15)

‘bdfb4361-93b5-436d-bed2-2e56f3e60351’ is not a valid 24 digit hex string

I encountered this error while working with MongoDB Official C# Driver. This error occured when I was trying you insert some test data into a collection. Here’s the snap of error it shown



Later in the course I figured out i was using BsonReprentation Attribute to decorate the Bson data type as objectId.


When I changed the attribute to BsonId it started working fine. 



Below is my model before and after the changes.



Hope it helps somebody!


(402)

A new guard page for stack cannot be created- ASP.NET MVC4 Error

An hour back I was working with ASP.NET and encountered with this pretty error. I kept wandering for about ten minutes what really has happened. My iisexpress.exe was automatically shut down and it didn’t work when I kept hitting CTRL+F5.


How I solved it:

Later i the process I came to know that I had the name for an Action was “View” that you can see in the picture below. 


I renamed it to View1 and it worked again. Hope this helps somebody. Thanks!

(151)

Cannot create/shadow copy ‘DotNetOpenAuth.OAuth’ when that file already exists. – ASP.NET MVC4

Error:

Cannot create/shadow copy ‘DotNetOpenAuth.OAuth’ when that file already exists.

How I solved it:

Try to re-build the solution and it should work. It worked in my case, I’m not kidding !

(5)

Where to place the email settings in web.config in ASP.NET MVC?




  <!– Add the email settings to the element –>
  <system.net>
   
     
        <network 
             host=”relayServerHostname” 
             port=”portNumber”
             userName=”username”
             password=”password” />
     
   
  </system.net>

 
    … 
 

(4)

Server Application Unavailable in IIS 5.1

I encountered this error while deploying an ASP.NET website to IIS 5.1 on Windows XP SP2. It’s really been a head hitting issue to track it down until I got something interesting after a lot of Googling exercise that I would love to share with you. But before that please allow me to explain what it took for me reaching at the resolution. I uninstalled the .NET framework, restarted the system and re-installed it… No luck. Following another tip I went through the Web.Config file and changed the Authentication Mode to “None” but no luck though. Also gone through the event viewer to track down the issue where I got another error – “aspnet_wp.exe (PID: 664) stopped unexpectedly“. Fortunately I landed on this page which took me to the divine:
http://stackoverflow.com/questions/4322878/server-application-unavailable-in-asp-net

Thanks to Sachin Shanbhag for sharing this tip on stackoverflow.

The problem was having multiple .NET frameworks installed on that system. I uninstalled all the previous versions using :

aspnet_regiis.exe ua

By default it will be found at %windir%Microsoft.NETFramework.

After the uninstallation I installed the version of 2.0 using:

aspnet_regiis.exe i


Hope this solution help somebody 🙂

(10)