text: Parthiv Pandya's Blog – Welcome to My Blog…
  Parthiv Pandya's Blog
  In ASP.NET MVC, AntiForgeryToken is to prevent Cross-Site Request Forgery (CSRF) Attacks. It generates a hidden form field (anti-forgery token) that is validated when the form is submitted. To help prevent CSRF attacks, ASP.NET MVC uses anti-forgery tokens, also called request verification tokens. The client requests an HTML page that contains a form. The server … Continue reading AngularJS and AntiForgeryToken in ASP.NET MVC
  November 25, 2013 July 4, 2016 Leave a comment
  CRUD Operations using Knockout and ASP.NET Web API
  In this article, We will implement CRUD (Create, Read, update and delete) operations with Knockout.js, ASP.NET Web API, Entity Framework 5.0 Database First Approach. For Add or Edit operation, A modal dialog having WYSIWYG Html editor is used. User can enter information and submit it. It should look like the image below: Creating Project: Open … Continue reading CRUD Operations using Knockout and ASP.NET Web API
  Hello.. I have written few steps to make simple application using Asp.net MVC and KnockoutJS. Step 1: Open VS 2012 and create a new MVC 4 application, name it as 'MVC40_Knockout_App'. Download the knockout.js library from http://www.knockout.js or use the 'Manage Nuget Package Manager' from the context menu of the project by right-clicking on the … Continue reading Asp.net MVC and KnockoutJS
  Watch this sample video for OAuth in the Default ASP.NET 4.5 Templates on below link http://www.asp.net/vnext/overview/aspnet/oauth-in-the-default-aspnet-45-templates
  There are two main goals in this tutorial: Enable a user to log in with credentials from an OAuth provider. Retrieve account information from the provider and integrate that information with the account registration for your site. Although the examples in this tutorial focus on using Facebook as the authentication provider, you can modify the … Continue reading Using OAuth Providers with MVC 4
  March 5, 2013 March 6, 2013 Leave a comment
  Features in MVC 4.0
  Last few days I have worked on MVC3 and MVC4 beta. In MVC4 beta some cool features added like: 1.ASP.NET Web API 2.ASP.NET Single Page Application 3.Enhancements to Default Project Templates 4.Mobile Project Template 5.Display Modes 6.jQuery Mobile, the View Switcher, and Browser Overriding 7.Recipes for Code Generation in Visual Studio 8.Task Support for Asynchronous … Continue reading Features in MVC 4.0
  February 18, 2013 March 6, 2013 2 Comments
  What's really new in ASP.NET MVC 4 (not much)
  Attributes [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple=false, Inherited=true)] public sealed class AllowAnonymousAttribute : Attribute This new attribute allows you to secure an entire controller using AuthorizeAttribute but still expose individual actions for anonymous access. [AttributeUsage(AttributeTargets.Method, AllowMultiple=false, Inherited=true)] public sealed class HttpHeadAttribute : ActionMethodSelectorAttribute [AttributeUsage(AttributeTargets.Method, AllowMultiple=false, Inherited=true)] public sealed class HttpOptionsAttribute : ActionMethodSelectorAttribute [AttributeUsage(AttributeTargets.Method, AllowMultiple=false, Inherited=true)] public sealed class … Continue reading What's really new in ASP.NET MVC 4 (not much)