Articles : Page 1 of 1

  • Conditional Filters in ASP.NET MVC 3

    Conditional Filters in ASP.NET MVC 3

    Apr 11
    25

    Say you want to apply an action filter to very action except one. How would you go about it? For example, suppose you want to apply an authorization filter to every action except the action that lets the user login. Seems like a pretty good idea, right? Currently, it takes a bit of work to do this. If you add a filter to the GlobalFilters.Filters collection, it applies to every action, which in the previous scenario would mean you already need to be authorized to login. Now that is security ...


  • August 29th Links: .NET, ASP.NET, IIS Express, Silverlight, Windows Phone 7

    August 29th Links: .NET, ASP.NET, IIS Express, Silverlight, Windows Phone 7

    Aug 10
    30

    Here is the latest in my link-listing series. Also check out my VS 2010 and .NET 4 series and ASP.NET MVC 2 series for other on-going blog series I’m working on. [In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu] .NET/WPF/EF 5 Little C#/.NET Wonders that Make Code Better: Nice blog post from James that highlights 5 nice language/framework tips you can take advantage of within your apps. I’m betting a lot of peopl...



  • 1