Non-invocable member ‘File’ cannot be used like a method while generating Reports

I used a method for generating report in my previous project and tried to use the same method in the new project. However, I encounter “Non-invocable member ‘File’ cannot be used like a method” error and File cannot be recognized. By looking at the references of file, it seems to be FileContentResult Controller.File() in the previous project, but System.IO.File() in the new project (even if I remove using System.IO; from the references lines, I encounter “The name ‘File’ does not exist in the current context” error). Any idea to fix the problem?

How to let users login to my site using SoundCloud

I want to let users authenticate via SoundCloud for my ASP.NET MVC 4 project. Since there is no .NET SDK, I wrote a custom OAuth2Client to handle the authentication. After adding the client to my AuthConfig.cs, it appropriately showed up as an option to login. The problem is, when I click on the button to login, it always returns

How to load MVC Partial View and keep Angular JS working

How should I load mvc partial views and keep Angular JS working.
Angular JS is working fine after I render the layout, but if I load partial views in the layout, Angular JS is not working anymore in the partials.
I guess that Angular engine is not compiling the ng- directives after I inject the HTML in the DOM.