Giter Site home page Giter Site logo

drwatson1 / aspnet-webapi Goto Github PK

View Code? Open in Web Editor NEW
33.0 3.0 11.0 256 KB

Ready to use preconfigured VS2017/VS2019 project to create fully functional production ready RESTful services with minimum frictions

License: MIT License

C# 100.00%
asp-net webapi-2 csharp vs2017 visual-studio owin autofac automapper swagger serilog

aspnet-webapi's People

Contributors

drwatson1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aspnet-webapi's Issues

The API doesn't run on IIS 8 and higher

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)

Reference format differentiate in project config

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

It seems this is not a ready-to-use template

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

Fails to work on IIS

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.