Skip to content

Commit 3bdaea8

Browse files
JinhuafeiHongGit
authored andcommitted
update according to the feedback (#5)
* update according to the feedback * update lisence and fix some test issues * update license msg in cs file * clean up
1 parent 1f25cd8 commit 3bdaea8

38 files changed

+248
-76
lines changed

CONTRIBUTING.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# How to contribute
2+
3+
One of the easiest ways to contribute is to participate in discussions and discuss issues. You can also contribute by submitting pull requests with code changes.
4+
5+
6+
## General feedback and discussions?
7+
Please start a discussion on the [Issue tracker](https://github.com/aspnet/AspNetSessionState/issues).
8+
9+
10+
## Bugs and feature requests?
11+
For non-security related bugs please log a new issue according to the [Functional bug template](https://github.com/aspnet/AspNetSessionState/wiki/Functional-bug-template).
12+
13+
14+
15+
## Reporting security issues and bugs
16+
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) [email protected]. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://technet.microsoft.com/en-us/security/ff852094.aspx).
17+
18+
19+
## Contributing code and content
20+
21+
**Obtaining the source code**
22+
23+
If you are an outside contributer, please fork the repository. See the GitHub documentation for [forking a repo](https://help.github.com/articles/fork-a-repo/) if you have any questions about this.
24+
25+
**Submitting a pull request**
26+
27+
You will need to sign a [Contributor License Agreement](https://cla.dotnetfoundation.org/) when submitting your pull request. To complete the Contributor License Agreement (CLA), you will need to follow the instructions provided by the CLA bot when you send the pull request. This needs to only be done once for any .NET Foundation OSS project.
28+
29+
If you don't know what a pull request is read this article: https://help.github.com/articles/using-pull-requests. Make sure the respository can build and all tests pass.
30+
31+
**Commit/Pull Request Format**
32+
33+
```
34+
Summary of the changes (Less than 80 chars)
35+
- Detail 1
36+
- Detail 2
37+
38+
Addresses #bugnumber (in this specific format)
39+
```
40+
41+
**Tests**
42+
43+
- Tests need to be provided for every bug/feature that is completed.
44+
- Tests only need to be present for issues that need to be verified by QA (e.g. not tasks)
45+
- If there is a scenario that is far too hard to test there does not need to be a test for it.
46+
- "Too hard" is determined by the team as a whole.
47+
48+
**Feedback**
49+
50+
Your pull request will now go through extensive checks by the subject matter experts on our team. Please be patient; we have hundreds of pull requests across all of our repositories. Update your pull request according to feedback until it is approved by one of the ASP.NET team members. After that, one of our team members will add the pull request to **dev**.

License.txt

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
2-
Microsoft Open Technologies would like to thank its contributors, a list of whom
3-
are at http://aspnetwebstack.codeplex.com/wikipage?title=Contributors.
1+
Copyright (c) Microsoft Corporation
2+
All rights reserved.
43

5-
Licensed under the Apache License, Version 2.0 (the "License"); you
6-
may not use this file except in compliance with the License. You may
7-
obtain a copy of the License at
4+
MIT License
85

9-
http://www.apache.org/licenses/LICENSE-2.0
6+
Permission is hereby granted, free of charge, to any person obtaining a copy of
7+
this software and associated documentation files (the ""Software""), to deal in
8+
the Software without restriction, including without limitation the rights to
9+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10+
the Software, and to permit persons to whom the Software is furnished to do so,
11+
subject to the following conditions:
1012

11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14-
implied. See the License for the specific language governing permissions
15-
and limitations under the License.
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ SessionStateModule is ASP.NET’s default session-state handler which retrieves
66
2. Run build.cmd. This will build Nuget package and run all the unit tests.
77
3. All the build artifacts will be under aspnetsessionstate\bin\Release\ folder.
88

9+
## How to contribute
10+
Information on contributing to this repo is in the [Contributing Guide](CONTRIBUTING.md).
11+
912
## Settings of the module and providers
1013

1114
+ #### Microsoft.AspNet.SessionState.SessionStateModule

build.cmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ set logOptions=/flp:Summary;Verbosity=m;LogFile=msbuild.log /flp1:warningsonly;l
77
echo Please build from VS 2015(or newer version) Developer Command Prompt
88

99
:BUILD
10-
REM %MSBUILDEXE% "%~dp0\MicrosoftAspNetSessionState.msbuild" %logOptions% /v:d /maxcpucount /nodeReuse:false %*
1110
msbuild "%~dp0\MicrosoftAspNetSessionState.msbuild" %logOptions% /v:m /maxcpucount /nodeReuse:false %*
1211

1312
endlocal

src/CosmosDBSessionStateProviderAsync/CosmosDBSessionStateProviderAsync.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
2-
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license. See the License.txt file in the project root for full license information.
33

44
namespace Microsoft.AspNet.SessionState
55
{

src/CosmosDBSessionStateProviderAsync/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.Reflection;
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license. See the License.txt file in the project root for full license information.
3+
4+
using System.Reflection;
25
using System.Runtime.CompilerServices;
36
using System.Runtime.InteropServices;
47

src/CosmosDBSessionStateProviderAsync/SessionStateActionsConverter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
2-
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license. See the License.txt file in the project root for full license information.
33

44
namespace Microsoft.AspNet.SessionState {
55
using Microsoft.AspNet.SessionState.Resources;

src/CosmosDBSessionStateProviderAsync/SessionStateItem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
2-
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license. See the License.txt file in the project root for full license information.
33

44
namespace Microsoft.AspNet.SessionState
55
{

src/CosmosDBSessionStateProviderAsync/TimeSpanConverter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
2-
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license. See the License.txt file in the project root for full license information.
33

44
namespace Microsoft.AspNet.SessionState
55
{

src/SessionStateModule/AppSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
2-
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license. See the License.txt file in the project root for full license information.
33

44
namespace Microsoft.AspNet.SessionState
55
{

0 commit comments

Comments
 (0)