File tree Expand file tree Collapse file tree 3 files changed +25
-24
lines changed Expand file tree Collapse file tree 3 files changed +25
-24
lines changed Original file line number Diff line number Diff line change 11# Simplify.Web.Multipart
22
3- ` Simplify.Web.Multipart ` is a package which provides multipart form view model and model binder for [ Simplify.Web] ( https://github.com/SimplifyNet/Simplify.Web ) web-framework.
3+ ` Simplify.Web.Multipart ` is a package which provides multipart form view model and model binder for [ Simplify.Web] ( https://github.com/SimplifyNet/Simplify.Web ) web-framework.
44
55## Package status
66
7- | Latest version | [ ![ Nuget version] ( http://img.shields.io/badge/nuget-v1.0-blue.png )] ( https://www.nuget.org/packages/Simplify.Web.Multipart/ ) |
8- | :------ | :------: |
9- | ** Target Framework** | Standard 2.0 |
7+ | Latest version | [ ![ Nuget version] ( http://img.shields.io/badge/nuget-v1.0.1 -blue.png )] ( https://www.nuget.org/packages/Simplify.Web.Multipart/ ) |
8+ | :------------------- | :--------------------------------------------------------------------------------------------------------------------- ------: |
9+ | ** Target Framework** | Standard 2.0 |
1010
1111## Build status
1212
13- | Branch | Status |
14- | :------ | :------ |
13+ | Branch | Status |
14+ | :--------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ------ |
1515| ** master** | [ ![ AppVeyor Build status] ( https://ci.appveyor.com/api/projects/status/i8sons2botn3xxiw/branch/master?svg=true )] ( https://ci.appveyor.com/project/i4004/simplify-web-multipart/branch/master ) |
1616
1717## Examples
2323``` csharp
2424public void Configuration (IAppBuilder app )
2525{
26- .. .
27- HttpModelHandler .RegisterModelBinder <HttpMultipartFormModelBinder >();
28- .. .
29- app .UseSimplifyWeb ();
26+ .. .
27+ HttpModelHandler .RegisterModelBinder <HttpMultipartFormModelBinder >();
28+ .. .
29+ app .UseSimplifyWeb ();
3030}
3131```
3232
3333### Accessing model
3434
3535Multipart files will be deserialized to the controller model on first model access
36+
3637``` csharp
3738public class MyController : Controller <MultipartViewModel >
3839{
39- public override ControllerResponse Invoke ()
40- {
41- Model .Files
42- }
40+ public override ControllerResponse Invoke ()
41+ {
42+ Model .Files
43+ }
4344}
44- ```
45+ ```
Original file line number Diff line number Diff line change 55 <Product >Simplify</Product >
66 <Description >Simplify.Web multipart form model binder</Description >
77 <Copyright >Licensed under LGPL</Copyright >
8- <Version >1.0</Version >
9- <PackageProjectUrl >https://github.com/i4004 /Simplify.Web.Multipart</PackageProjectUrl >
10- <PackageIconUrl >https://raw.githubusercontent.com/i4004/Simplify.Web /master/Images/Icon .png</PackageIconUrl >
11- <RepositoryUrl >https://github.com/i4004 /Simplify.Web.Multipart</RepositoryUrl >
8+ <Version >1.0.1 </Version >
9+ <PackageProjectUrl >https://github.com/SimplifyNet /Simplify.Web.Multipart</PackageProjectUrl >
10+ <PackageIconUrl >https://raw.githubusercontent.com/SimplifyNet/Images /master/LogoWeb32x32 .png</PackageIconUrl >
11+ <RepositoryUrl >https://github.com/SimplifyNet /Simplify.Web.Multipart</RepositoryUrl >
1212 <RepositoryType >GIT</RepositoryType >
1313 <PackageTags >Simplify.Web multipart</PackageTags >
1414 <PackageReleaseNotes >
15- * Upgrade to Simplify.Web 2.2
16- * .NET Standard 2.0 support (switched to .NET Standard)
15+ Updates
16+ * Upgrade to Simplify.Web 2.3
1717 </PackageReleaseNotes >
1818 <OutputPath >bin\Any CPU\$(Configuration)\</OutputPath >
1919 <DocumentationFile >bin\Any CPU\$(Configuration)\$(TargetFramework)\Simplify.Web.Multipart.xml</DocumentationFile >
2020 </PropertyGroup >
2121 <ItemGroup >
22- <PackageReference Include =" Simplify.Web" Version =" 2.2 .0" />
22+ <PackageReference Include =" Simplify.Web" Version =" 2.3 .0" />
2323 <PackageReference Include =" HttpMultipartParser" Version =" 2.2.4" />
2424 </ItemGroup >
2525</Project >
Original file line number Diff line number Diff line change 1- version : ' {build}'
1+ version : " {build}"
22
3- image : Visual Studio 2017
3+ image : Visual Studio 2019
44
55skip_tags : true
66clone_depth : 1
You can’t perform that action at this time.
0 commit comments