Skip to content

Commit f332cbd

Browse files
committed
Upgrade to Simplify.Web 2.3
Repository, icon URL update Switch to 2019 build image
1 parent 92d3ce8 commit f332cbd

File tree

3 files changed

+25
-24
lines changed

3 files changed

+25
-24
lines changed

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
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
@@ -23,22 +23,23 @@
2323
```csharp
2424
public 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

3535
Multipart files will be deserialized to the controller model on first model access
36+
3637
```csharp
3738
public 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+
```

Simplify.Web.Multipart/Simplify.Web.Multipart.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
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>

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
version: '{build}'
1+
version: "{build}"
22

3-
image: Visual Studio 2017
3+
image: Visual Studio 2019
44

55
skip_tags: true
66
clone_depth: 1

0 commit comments

Comments
 (0)