Sometime back I was doing a small POC on Castle MonoRail. So here are my quick notes on this. MonoRail is an MVC Framework from Castle inspired by ActionPack. MonoRail enforces separation of concerns with Controller handling application flow, models representing data and View taking care of the presentation logic. To work with MonoRail you need Castle Assemblies. It also utilizes nHibernate You can use Castle MonoRail Project Wizard or create the project manually. Project structure – Content Css Images Controllers HomeController.cs Models Views Home \ index.vm Layouts \ Default.vm ...
Welcome to learn from my learnings. This is where I share my learnings so that others can benefit too and I can reference it in future. I publish posts, helpful notes or cheat sheets on various software technologies.
Abhy Nadar. Sr. Architect @ 3Pillar Global.
Comments
Please eaborate more on why ThreadPool shouldn't be used in web?
Also one addon. What if a method takes input as int x, int y instead of one object type like:
public static void xyz (int a, int b)
To start a thread on such method, the way is:
Thread T3 = new Thread(() => xyz(3, 4));
To start thread with multiple arguments you can also create a delegate and use its BeginInvoke.