3

is it possible to extend an existing ASP.Net MVC Website, written in C#, with IronPython. I want to make our website customizable. So my plan was, i can write additional controller and models in IronPython and views with "cshthml" and then load it dynamically in the website.

I've searched a lot and found some examples, but they always work with ASP.Net Web Forms.

Thank you!

1
  • You can most certainly do this in MVC. I implemented a solution allowing developers to create their own AutoComplete controllers using IronPython. Commented Apr 10, 2014 at 19:24

1 Answer 1

1

These two pages found on Google help explain it in depth.

http://www.tikalk.com/net/write-aspnet-mvc-using-ironpython-resources http://forums.asp.net/t/1527861.aspx?how+to+start+ironpython+in+asp+net

You will need to add a reference to the DLL in your references section of the project. Other than that, things should work as normal. I use IronPython in my business website without any issues whatsoever. If you get it running and find that there is a piece of code you are having trouble with, please don't hesitate to comment.

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.