serverless-dotnet

1.6.1 • Public • Published

Serverless DotNet

serverless npm version license

A Serverless v1.0 plugin to build your C# lambda functions on deploy.

This plugin is for you if you don't want to have to run dotnet restore, dotnet publish and zip the output manually every time you want to deploy.

Install

npm install serverless-dotnet

Add the plugin to your serverless.yml file:

plugins:
  - serverless-dotnet

And that's all there is to it. From this point, dotnet restore and dotnet publish will run as part of each serverless deploy run and the output will be zipped into the .serverless folder of your service, as it would for other runtimes.

Note

If you are using the aws-csharp service template, you will need to remove the following line from your serverless.yml file as these are not needed any more:

package:
 artifact: bin/Release/netcoreapp1.0/publish/deploy-package.zip

Readme

Keywords

none

Package Sidebar

Install

npm i serverless-dotnet

Weekly Downloads

20

Version

1.6.1

License

MIT

Unpacked Size

8.81 kB

Total Files

7

Last publish

Collaborators

  • fruffin