Injecting Global Variables into Angular Through ASP.NET MVC Master Page

As I am learning Angular, using it in conjunction with ASP.NET MVC I faced the following issue.  I need to inject some global variables into my Angular app.  Specifically, I would like to inject root url and current running version.  Root Url I will be using for communication with the server and version will be …

Continue reading ‘Injecting Global Variables into Angular Through ASP.NET MVC Master Page’ »

Calling MVC Controller On Periodic Basis in JavaScript

Here is a business use case I am trying to address.  After a web page is loaded, I need to make a server call every so often and make certain parts of the web page visible or hidden based on server call results.  In my case I am checking the state of the object in …

Continue reading ‘Calling MVC Controller On Periodic Basis in JavaScript’ »