https://github.com/simplifynet/simplify.web.postman
Postman collection and environment generation extension for Simplify.Web.
https://github.com/simplifynet/simplify.web.postman
c-sharp c-sharp-library dotnet-core dotnetcore postman simplify simplify-web
Last synced: 2 months ago
JSON representation
Postman collection and environment generation extension for Simplify.Web.
- Host: GitHub
- URL: https://github.com/simplifynet/simplify.web.postman
- Owner: SimplifyNet
- License: lgpl-3.0
- Created: 2019-12-24T13:21:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T15:39:31.000Z (about 1 year ago)
- Last Synced: 2025-04-23T12:15:20.617Z (2 months ago)
- Topics: c-sharp, c-sharp-library, dotnet-core, dotnetcore, postman, simplify, simplify-web
- Language: C#
- Homepage:
- Size: 120 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simplify.Web.Postman
[](https://www.nuget.org/packages/Simplify.Web.Postman/)
[](https://www.nuget.org/packages/Simplify.Web.Postman/)
[](https://github.com/SimplifyNet/Simplify.Web.Postman/actions/workflows/build.yml)[](https://libraries.io/nuget/Simplify.Web.Postman)
[](https://www.codefactor.io/repository/github/simplifynet/Simplify.Web.Postman)

[](http://makeapullrequest.com)`Simplify.Web.Postman` is a package which provides Postman collection and environment generation extension for [Simplify.Web](https://github.com/SimplifyNet/Simplify.Web) web-framework controllers.
## Quick Start
1. Add `RegisterSimplifyWebPostman` to IOC container registrations.
```csharp
public static class IocRegistrations
{
public static IDIContainerProvider RegisterAll(this IDIContainerProvider containerProvider)
{
containerProvider.RegisterSimplifyWeb()
.RegisterSimplifyWebPostman();return containerProvider;
}
}
```2. Use `GeneratePostmanData` after Simplify registration and container setup
```csharp
DIContainer.Current
.RegisterAll()
.Verify();var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
if (builder.Environment.IsDevelopment())
DIContainer.Current.GeneratePostmanData();app.UseSimplifyWeb();
await app.RunAsync();
}
```Postman files will be generated in `postman` folder inside your app build folder.