Edit on April 10, 2014: A lot has changed since I started this now out of date post and Microsoft has created and updated the authentication system to ASP.Net Identity. Please look at this first. Here's a video on the subject.First: After searching for awhile to figure out what’s new/different with MVC 4 and forms authentication, this is the best article I've found on the subject: http://weblogs.asp.net/jgal... ......
I was having all kinds of problems with a new machine after installing VS 2012 RTM. First the Nuget Package Manager Console started spewing out this error: “ The following error occurred while loading the extended type data file: , C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS... : File skipped because of the following validation exception: File C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS... ......
I can pass the name of the template to the controller like this (/Templates/KnockoutTemplat... where 'radial' is the name of a view (radial.cshtml), return a partial view of that name and have Knockout put it in the template block. My Controller: public class TemplatesController : Controller{ public TemplatesViewModel viewModel { get; set; } public ActionResult KnockoutTemplate(string templateName, int? id) { this.viewModel.Id = id; return PartialView(templateName.Re... ......
We upgraded a javascript library and pointed to the *.min.js files in our MVC4 application. They weren't getting downloaded and were not in the source code when running in debug="true", but worked in debug="false".
The lesson is to remove .min from your js files or the ScriptBundle doesn't return them for downloading.
bundles.Add(new ScriptBundle("~/bundles/x").Include(
"~/Scripts/x*"));
I get to be a part of a project that is re-writing dashboards from a Flash implementation to all HTML5. Our lead developer liked the Wijmo gadgets (as do I), so I've been putting the gadgets to the test. At the time of this writing we are using version 2.1.6. I really like how they look and they seem to perform well. I don't like the lack of information on how to style these and some of the other behaviors. Some of the requirements are:They have to be able to re-size with the browser and have the ......