| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Simplify.Web.Postman is a package which provides Postman collection and environment generation extension for Simplify.Web web-framework controllers.
public static class IocRegistrations
{
public static IDIContainerProvider RegisterAll(this IDIContainerProvider containerProvider)
{
containerProvider.RegisterSimplifyWeb()
.RegisterSimplifyWebPostman();
return containerProvider;
}
}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.
| Back | FazBrowse Home | New Git URL |