c# - Is there any way to write system independent MVC applications? -
for last 2 days, tried running mvc4 sample internet application (the application created when inside visualstudio 2010 go to: file->new->mvc4 webapllication->internet application (with razor)) on mono, in order check whether can use linux host real mvc app.
at first - tried running xamarian studio , .net - no problems there: shows, startup page, can register, , login -> great.
then switched .net mono, , hell broke loose.
- first complains log4net not found -> installing newest log4net fixed problem, why complaining in first place??
- then, there error entityframework -> updating ef fixed but, again - why wasn't working?
then saw start-up page attempt register thrown:
system.missingmemberexception type being lazily initialized not have public, parameterless constructor.
when refreshed page, above error gone got when try register:
system.invalidoperationexception call method, "membership.provider" property must instance of "extendedmembershipprovider".
i gave :/
according this:
http://mono-project.com/compatibility
mvc4 compatible far asynchronic controllers not used... question - doing wrong here or mono compatibility 1 big lie?
allow me add, compatibility, mean: using same code, without changing (this how works in java or qt).
thanks in advance opinions.
best regards.
for point# 1 , 2 why log4net , entityframework causing problems, think there different assemblies 2 frameworks (.net , mono). case take advantage of framework features , way .net , mono constructed , optimized for.
for 3rd point, sounds simplemembership not recognized mono. try this: http://goo.gl/hpnzjv
before giving up, message mono team/post on community forum... i've heard quite responsive. hope helps!
Comments
Post a Comment