How to set up an ASP.NET MVC project to work with Boo

I want to create an ASP.NET MVC application using Boo instead of C #. If you know the steps for setting up this type of project setup, I would be interested to know what I need to do.

The MVC project has no problem. What I'm trying to understand is how to set up pages and a project to switch to using the Boo language and compiler.

+6
asp.net-mvc boo
source share
2 answers

So, there are two levels of "working with Boo". One of them will be the whole code (namely, the controllers), and the other will be the views.

For code, I assume that Boo compiles into standard .NET assemblies, so just following the naming conventions used by ASP.NET MVC just right should allow you to write controllers. You will probably need to start with the MVC web application template version or the VB version and pass some of the template code to Boo in order to completely solve the problem in Boo (I believe that Boo supports web application projects?).

The other half are species. Someone will need to transfer the Brail view engine to the ASP.NET MVC view engine system. This can already be done, but I do not know for sure. If this is not the case, then this is probably significant work.

Probably the best place to get answers to such questions is the MvcContrib community on CodePlex .

+2
source share

The Brail viewer has been implemented for use in ASP.NET MVC. The MvcContrib project implemented the code. The source code is in Google Code.

As for the controllers, I'm really not sure. I am not familiar with Boo. I know that many developers use it for customization instead of using xml, for example. My advice would be if Boo can inherit the base class of Controller and adhere to naming conventions, you should be fine. If you are changing from naming conventions, you will need to implement your own IControllerFactory to instantiate boo controllers as you receive requests.

I’ve been following ASP.NET MVC bits since the first CTP, and after that I haven’t seen anyone use Boo to encode. I think you will be the first to try to do this.

+1
source share

All Articles