drwatson1 / aspnet-webapi Goto Github PK
View Code? Open in Web Editor NEWReady to use preconfigured VS2017/VS2019 project to create fully functional production ready RESTful services with minimum frictions
License: MIT License
Ready to use preconfigured VS2017/VS2019 project to create fully functional production ready RESTful services with minimum frictions
License: MIT License
I found that the default value for runAllManagedModulesForAllRequests is false (patch IIS 7 and high) and after deployment to IIS the API doesn't work
So my suggestion is to add it explicitly in Web.config (line 52)
To show a small difference in the Nuget Package Reference format and old packages.config let see differences in two project (ClassLibraryNugetConfig, ClassLibraryNugetPackageReference)
The first difference is that, after the installation of EntityFramework, in ClassLibraryNugetConfig App.config is created and configured.
The second difference is in ClassLibraryNugetConfig.csproj eg.
<Import Project="..\packages\xunit.core.2.4.1\build\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.4.1\build\xunit.core.props')" />
but in ClassLibraryNugetPackageReference there is no Inport directive.
I figured that my test wasn't performed in NugetPackageReference format.
The link to repository https://github.com/fruex/drwatson1-AspNet-WebApi
Great work on the template!
Are there any plans to include asp.net identity by default into the project given how that would play with the autofac container for the identity services such as usermanager....
Hello, I have created a project using this template and I compiled it immediately, showing this compile error:
No se encuentran los ensamblados de referencia para .NETFramework,Version=v4.7.1. Para resolver este problema, instale el Paquete de desarrollador (SDK o Paquete de compatibilidad) de esta versión de .NET Framework o redestine la aplicación. Para descargar los paquetes de desarrollador de .NET Framework, vaya a https://aka.ms/msbuild/developerpacks
This means:
Cannot find reference assemblies for .NETFramework, Version = v4.7.1. To resolve this problem, install the Developer Pack (SDK or Compatibility Pack) for this version of the .NET Framework or redirect the application. To download the .NET Framework developer packages, go to https://aka.ms/msbuild/developerpacks
I always have developed 4.7.1 applications, both Winforms and Web (MVC) so I don't understand why the message is telling me to install developer packs.
Could this be caused because you used PackageReference instead of paackages.config? If this is the case, how can I changed it to use packages.config? All projects in the solution uses packages.config.
By seeing the references folder, absolutely all references appear with a little exclamation mark, even if I rebuild all.
I am using Visual Studio 2019.
Thanks
Jaime
Hi
Thanks for this template, I find it working very nice on IISExpress, but I am getting HTTP Error 500.0 when running on Local IIS (Windows 10).
Here are the details:
Module : ManagedPipelineHandler
Notification : ExecuteRequestHandler
Handler : ExtensionlessUrlHandler-Integrated-4.0a
Error Code : 0x800703e9
Are you having the same issue?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.