Skip to content

Commit 17b4659

Browse files
committed
prepare 3.3.0
1 parent e0bda7f commit 17b4659

File tree

400 files changed

+649
-202326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

400 files changed

+649
-202326
lines changed

.gitignore

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
1-
_ReSharper.*
1+
.vs
2+
*.user
23
bin
3-
Bin
44
obj
5-
build
6-
dist
7-
*.suo
8-
*resharper*
9-
*.user
10-
*.cache
11-
*.dotCover
12-
lib/Ninject/*.zip
13-
lib/Ninject/*/**
14-
lib/Ninject.Web.Common/*.zip
15-
lib/Ninject.Web.Common/*/**
5+
packages

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased] - 2017-10-19
8+
9+
### Removed
10+
- Dropped support for ASP.NET MVC 1,2,3,4.
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11

2-
Microsoft Visual Studio Solution File, Format Version 11.00
3-
# Visual Studio 2010
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27004.2002
5+
MinimumVisualStudioVersion = 10.0.40219.1
46
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{77BE2A9F-F61F-45D4-A5C5-1DF0DA05EA42}"
57
ProjectSection(SolutionItems) = preProject
6-
README.markdown = README.markdown
8+
appveyor.yml = appveyor.yml
9+
CHANGELOG.md = CHANGELOG.md
10+
README.md = README.md
711
EndProjectSection
812
EndProject
9-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ninject.Web.Mvc", "src\Ninject.Web.Mvc\Ninject.Web.Mvc.csproj", "{82222179-0EB8-4C43-AD48-6EA388349C64}"
13+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ninject.Web.Mvc", "src\Ninject.Web.Mvc\Ninject.Web.Mvc.csproj", "{82222179-0EB8-4C43-AD48-6EA388349C64}"
1014
EndProject
1115
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleApplication", "src\SampleApplication\SampleApplication.csproj", "{E511B69F-0BB7-4BD3-A69A-5B995173D666}"
1216
EndProject
@@ -33,4 +37,7 @@ Global
3337
GlobalSection(SolutionProperties) = preSolution
3438
HideSolutionNode = FALSE
3539
EndGlobalSection
40+
GlobalSection(ExtensibilityGlobals) = postSolution
41+
SolutionGuid = {5C09CB2C-A1C3-4E87-B489-5D29E640DC86}
42+
EndGlobalSection
3643
EndGlobal

README.markdown

Lines changed: 0 additions & 26 deletions
This file was deleted.

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Ninject.Web.Mvc
2+
3+
[![Build status](https://ci.appveyor.com/api/projects/status/7af63sr9x1mwuhd8?svg=true)](https://ci.appveyor.com/project/Ninject/ninject-web-mvc)
4+
[![NuGet Version](http://img.shields.io/nuget/v/Ninject.Mvc5.svg?style=flat)](https://www.nuget.org/packages/Ninject.Mvc5/)
5+
[![NuGet Downloads](http://img.shields.io/nuget/dt/Ninject.Mvc5.svg?style=flat)](https://www.nuget.org/packages/Ninject.Mvc5/)
6+
7+
This extension allows integration between the [Ninject](http://github.com/ninject/ninject/)
8+
and [ASP.NET MVC](http://www.asp.net/mvc/) projects. To use it, just make your HttpApplication
9+
(typically in Global.asax.cs) extend NinjectHttpApplication:
10+
11+
```C#
12+
public class YourWebApplication : NinjectHttpApplication
13+
{
14+
public override void OnApplicationStarted()
15+
{
16+
// This is only needed in MVC1
17+
RegisterAllControllersIn("Some.Assembly.Name");
18+
}
19+
20+
public override IKernel CreateKernel()
21+
{
22+
return new StandardKernel(new SomeModule(), new SomeOtherModule(), ...);
23+
24+
// OR, to automatically load modules:
25+
26+
var kernel = new StandardKernel();
27+
kernel.AutoLoadModules("~/bin");
28+
return kernel;
29+
}
30+
}
31+
```
32+
33+
Once you do this, your controllers will be activated via Ninject, meaning you can expose dependencies on
34+
their constructors (or properties, or methods) to request injections.

appveyor.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
configuration: Release
2+
3+
image: Visual Studio 2017
4+
5+
init:
6+
- ps: >-
7+
if ($env:APPVEYOR_REPO_TAG -eq "true")
8+
{
9+
Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME"
10+
}
11+
else
12+
{
13+
Update-AppveyorBuild -Version "3.3.0-ci.$($env:APPVEYOR_BUILD_NUMBER)+sha.$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
14+
}
15+
16+
dotnet_csproj:
17+
patch: true
18+
file: '**\*.csproj'
19+
version: '{version}'
20+
package_version: '{version}'
21+
22+
cache:
23+
- '%LocalAppData%\NuGet\v3-cache -> **\*.csproj'
24+
25+
before_build:
26+
- dotnet restore --verbosity quiet
27+
28+
build:
29+
parallel: true
30+
verbosity: minimal
31+
32+
artifacts:
33+
- path: '**\*.nupkg'
34+
35+
deploy:
36+
provider: NuGet
37+
api_key:
38+
secure: Sn05A/FiUAlID5v31uaf5EZuYCSo4frLONtrCY+cwY265dU2JUZsl2+sjVeLQyz/
39+
on:
40+
appveyor_repo_tag: true

lib/Mvc1/System.Web.Mvc.dll

-182 KB
Binary file not shown.

lib/Mvc2/System.Web.Mvc.dll

-367 KB
Binary file not shown.

0 commit comments

Comments
 (0)