Click here to Skip to main content
12,633,073 members (32,700 online)
Click here to Skip to main content

Stats

19.9K views
353 downloads
9 bookmarked
Posted

Fluent Filters - Global Action Filters for ASP.NET MVC 2

, 8 Nov 2010 Apache
This article describes a small library for ASP.NET MVC, that can be used as a facility for registering global filters. It is similar to Global Filter in ASP.NET MVC 3, but with different implementation and features.
FluentFilters.pdb
FluentFilters.dll
lib
mvc
v2
System.Web.Mvc.dll
src
FluentFilters
Criteria
Properties
Samples
FluentFilters.Samples.BasicUsage
Website
Content
Controllers
Global.asax
Models
Properties
Scripts
Views
Account
Home
Shared
Website.csproj.user
Website.Core
Filters
Properties
FluentFilters.Samples.IoC
Dependency
Microsoft.Practices.ServiceLocation.dll
Microsoft.Practices.ServiceLocation.pdb
Microsoft.Practices.Unity.Configuration.dll
Microsoft.Practices.Unity.Configuration.pdb
Microsoft.Practices.Unity.dll
Microsoft.Practices.Unity.pdb
Website
Content
Controllers
Global.asax
Models
Properties
Scripts
Views
Account
Home
Shared
Website.csproj.user
Website.Core
Filters
Properties
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Website.Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Website.Core")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible 
// to COM components.  If you need to access a type in this assembly from 
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("379a6664-31de-4f53-8397-f0ef45651354")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers 
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0

Share

About the Author

Dmytro Antonenko
Software Developer (Senior) Epam Systems
United States United States
Who am I:


My name is Dmitry Antonenko and I'm developer with warm love to the web. My goal is to developing so it's beautifully simple and fast.

Currently I'm living in Irvine, CA and working as a lead software engineer at Epam Systems.

I do not specialize in one programming language or platform, I love to use all possible means to develop. I love to develop for front-end as well as for back-end ( but yes, front-end I like a little bit more ) Also like learn different algorithmic approaches that could be applied in development process.


What am I doing:

I try to make the Web better.


Blog: hystrix.com.ua


I like it:

.NET/C#, ASP.NET, ASP.NET MVC, NHibernate, LINQ, AJAX, (X)HTML, CSS, JavaScript

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161208.2 | Last Updated 8 Nov 2010
Article Copyright 2010 by Dmytro Antonenko
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid