Frez
6 posts.
- Anti Forgery Tokens with AngularJS and ASP.NET Web APISingle Page Applications using AngularJS with ASP.NET will by default leave our web api methods open to forgery abuse. A few simple steps will allow you…
- Generic wrapper for calling ASP.NET WEB API REST service using HttpClient with optional HMAC authenticationWanting to implement my business rules in a separate tier running on a different server than the presentation tier I decided that I wanted the business…
- Unit Testing an ASP.NET MVC 4 Controller using MS Test, Rhino Mocks, AutoMapper and Dependency InjectionI decided to put together a demo project to showcase unit testing an ASP.NET MVC controller. The MVC controller is part of a much larger n-tier solution…
- ASP.NET MVC3 Using Code First Entity Framework Without Database GenerationNote that this works just as well with MVC4 as it does MVC3. So, when is Code First not Code First? It is possible, even recommended, to use 'code first'…
- Back Button issue after Logout in ASP.NETThis is the code most of us would normally use when logging out a user: FormsAuthentication.SignOut(); FormsAuthentication.RedirectToLoginPage(); A…
- Preventing a User From Having Multiple Concurrent SessionsThis article is largely based on information learned within the book "Professional ASP.NET 3.5 Security, Membership, and Role Management with C# and VB"…
