1

I use MVC.net alot, and I made some functionality (or found it on internet) which I use in every project (custom authentication filterattribute, ImageActionlink html helper etc). Is it possible to create a "class" library with these filters and htmlhelpers etc? So I could import them in every project.

And how would you do this ?

1 Answer 1

3

Yes, you can create a reusable class library. Simply add a new project of type Class Library to your solution and include the helper classes inside. Then you can reference the compiled assembly in other projects in order to reuse the functionality.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.