Blog Stats
  • Posts - 59
  • Articles - 0
  • Comments - 128
  • Trackbacks - 0

 

November 2008 Entries

MVC Attributes via ActionFilterAttribute

I needed an attribute to decorate methods/controllers to protect them from being accessed by users that are not logged in. If I were using a .net provider for authentication I could use the [Authorize] attribute that is provided in the MVC framework. However, in this case I chose to create my own security. This means that I need to also create my own [Authorize] attribute (as I love it’s simplicity!). Finding the way to do this is not that straight forward. So here is the custom attribute. Code Snippet0:...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

LINQ to SQL possibly being dropped by Microsoft?

Is anyone out there close to this subject? My editor at RedGate sent me a link to someone’s blog post that basically took me to this link where I found a beat around the bush statement eluding to the possibility of MS dropping LINQ to SQL. http://blogs.msdn.com/adone... As I have several applications running on LINQ to SQL I was wondering what people’s thoughts were on this subject. What do you think the odds are of them actually...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

 

 

Copyright © Andrew Siemer - www.andrewsiemer.com