c# - Need help in modifying OWIN (Katana) for running VS2013's MVC WebApplication in Raspberry Pi -
i want run visual studio 2013's default mvc webapplication in raspberry pi 2. managed install mono 4.0.1 , lighttpd web server, , able default mvc webapplication (with no authentication) run on raspberry machine. however, when tried same mvc webapplication "individual authentication", gives following error:
system.missingmethodexception: method 'httpapplication.registermodule' not found.
after googling, found here method 'registermodule()' not implemented in mono's system.web.httpapplication. , solution rebuild owin. have never done before. used 'git bash' clone katana follow:
git clone https://git01.codeplex.com/katanaproject
then modified preapplicationstart.cs accordingly, , run 'build' in command prompt, , created microsoft.owin.host.systemweb.dll under project directory. tried replace original dll new 1 in visual studio 2013, , hit f5 try run it, , following errors:
the type 'microsoft.owin.iowincontext' defined in assembly not referenced. must add reference assembly 'microsoft.owin, version=3.0.1.0, culture=neutral, publickeytoken=null'.
and
'microsoft.owin.iowincontext' not contain definition 'getusermanager' , best extension method overload 'microsoft.aspnet.identity.owin.owincontextextensions.getusermanager<tmanager>(microsoft.owin.iowincontext)' has invalid arguments
is proper way rebuild owin , update microslft.owin.host.systemweb.dll? suggestion work?
thanks.
got work using visual studio 2013 build project microsoft.owin.host.systemweb directly, use result microsoft.owin.host.systemweb.dll replace 1 used in original mvc webapplication project.
Comments
Post a Comment