asp.net - Using WebActivator in VB.NET project -


in order make elmah.mvc package work in vb.net projects well, i've create asp.net mvc3 vb.net application added webactivator nuget package (v.1.5.1), in app_start folder inserted simple code, like

[assembly: webactivator.preapplicationstartmethod(typeof(elmah.mvc.web.app_start.elmahmvc_start), "start")]  namespace elmah.mvc.web.app_start {     public class elmahmvc_start     {         public static void start()         {             elmah.mvc.bootstrap.initialize();         }     } } 

the project built fine, never hit elmah.mvc.bootstrap.initialize(); line.

does webactivator work vb.net? wounder if not, cause lot of different projects using webactivator (ninject, structuremap etc.) supported in vb.net?

webactivator should work in language, it's pure runtime component. i'm confused how can end using c# code in vb app. shouldn't write in vb? maybe c# files getting ignored is, why doesn't work?


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

java - stack overflow exception on xml transformation -