My developer and I are looking for information on how to use custom .NET class libraries in razor scripts. We have some data we used to access in xslt via these classes. But we would very much like to convert it all to razor.
Just drop any dll's into the /bin folder any everthing should work just like a .Net Project. You can use the full namspace names or use using statments such as the following.
Use custom class libraries in razor
Hi all
My developer and I are looking for information on how to use custom .NET class libraries in razor scripts. We have some data we used to access in xslt via these classes. But we would very much like to convert it all to razor.
Any one who has some tips for us? Thanks
Just drop any dll's into the /bin folder any everthing should work just like a .Net Project. You can use the full namspace names or use using statments such as the following.
@using My.Library.Namespace;
@{
var obj = new MyCustomClass();
}
is working on a reply...