How to correctly work with class libraries in ASP.NET Core (.NET Framework) application -


i have created new asp.net core web application (.net framework) in visual studio.

enter image description here

this application intedned use windows authentication chosen option when creating project.

enter image description here

i trying export models , repository code out respective external class library projects cannot work. has have experience of this?

what should project.json files in each class library if need reference them in main web project etc.

the prject.json file generated visual studio contains following code.

{   "dependencies": {     "microsoft.applicationinsights.aspnetcore": "1.0.0",     "microsoft.aspnetcore.diagnostics": "1.0.0",     "microsoft.aspnetcore.mvc": "1.0.1",     "microsoft.aspnetcore.razor.tools": {       "version": "1.0.0-preview2-final",       "type": "build"     },     "microsoft.aspnetcore.routing": "1.0.1",     "microsoft.aspnetcore.server.iisintegration": "1.0.0",     "microsoft.aspnetcore.server.kestrel": "1.0.1",     "microsoft.aspnetcore.staticfiles": "1.0.0",     "microsoft.extensions.configuration.environmentvariables": "1.0.0",     "microsoft.extensions.configuration.json": "1.0.0",     "microsoft.extensions.logging": "1.0.0",     "microsoft.extensions.logging.console": "1.0.0",     "microsoft.extensions.logging.debug": "1.0.0",     "microsoft.extensions.options.configurationextensions": "1.0.0",     "microsoft.visualstudio.web.browserlink.loader": "14.0.0"   },    "tools": {     "bundlerminifier.core": "2.0.238",     "microsoft.aspnetcore.razor.tools": "1.0.0-preview2-final",     "microsoft.aspnetcore.server.iisintegration.tools": "1.0.0-preview2-final"   },    "frameworks": {     "net461": { }   },    "buildoptions": {     "emitentrypoint": true,     "preservecompilationcontext": true   },    "publishoptions": {     "include": [       "wwwroot",       "**/*.cshtml",       "appsettings.json",       "web.config"     ]   },    "scripts": {     "prepublish": [ "bower install", "dotnet bundle" ],     "postpublish": [ "dotnet publish-iis --publish-folder %publish:outputpath% --framework %publish:fulltargetframework%" ]   } } 

do create class library (.net core) application , alter compatible .net framework application? if so, altercations needed?

i have searched web cannot find information on scenario.

thanks


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -