Skip to content

Commit 6035f0b

Browse files
Merge pull request #46 from IowaComputerGurus/feature/splitofproject
Updated to reflect on what has been removed
2 parents e9132cd + a81b5a7 commit 6035f0b

25 files changed

+20
-3508
lines changed

README.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
ICG.AspNetCore.Utilities ![](https://img.shields.io/nuget/v/icg.aspnetcore.utilities.svg) ![](https://img.shields.io/nuget/dt/icg.aspnetcore.utilities.svg)
88

99

10-
A collection of helpful utilities for working with ASP.NET Core projects. These items are used by the IowaComputerGurus Team to aid in unit testing and other common tasks
10+
A collection of helpful utilities for working with ASP.NET Core projects. These items are common rules, tag helpers and similar that our team has found valuable.
11+
12+
## Breaking Change with 5.1
13+
14+
A number of elements have been moved to the sister netcore project.
1115

1216
## Usage
1317

@@ -21,34 +25,12 @@ Install-Package ICG.AspNetCore.Utilities
2125

2226
### Register Dependencies
2327

24-
Inside of of your project's Startus.cs within the RegisterServices method add this line of code.
25-
26-
```
27-
services.UseIcgAspNetCoreUtilities();
28-
```
29-
30-
If you desire to use the included Taghelpers inside of your `_viewimports.cshtml` add
28+
To utilize the tag helpers modify `_viewimports.cshtml` by adding
3129

3230
```
3331
@addTagHelper *, ICG.AspNetCore.Utilities
3432
```
3533

36-
### Included C# Objects
37-
38-
| Object | Purpose |
39-
| ---- | --- |
40-
} IDirectory Provider | Provides a shim around the System.IO.Directory object to allow for unit testing. |
41-
| IGuidProvider | Provides a shim around the System.Guid object to allow for unit testing of Guid operations. |
42-
| IFileProvider | Provides a shim around the System.IO.File object to allow for unit testing of file related operations. |
43-
| IPathProvider | Provides a shim around the System.IO.Path object to allow for unit testing of path related operations |
44-
| ITimeProvider | Provides a shim around the System.DateTime object to allow for unit testing of date operations |
45-
| ITimeSpanProvider | Provides a shim around the System.TimeSpan object to allow for unit testing/injection of TimeSpan operations |
46-
| IUrlSlugGenerator | Provides a service that will take input and generate a url friendly slug from the content |
47-
| ForceNonWwwRewriteRule | An `IRule` implementation that will strip www. from the start of the host name if found |
48-
| ForceWwwRewriteRule | An `IRule` implementation that will force a URL to have www. as a prefix |
49-
50-
Detailed information can be found in the XML Comment documentation for the objects, we are working to add to this document as well.
51-
5234
**Caution:** As expected the use of both ForceNonWwwRewriteRule and ForceWwwRewriteRule in the same installation will result in broken sites.
5335

5436
### Included Tag Helpers

icgAppIcon.png

106 KB
Loading

src/AspNetCore.Utilities.Tests/CurrentEnvironmentInfoServicesTests.cs

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

src/AspNetCore.Utilities.Tests/DatabaseEnvironmentModelFactoryTests.cs

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

src/AspNetCore.Utilities.Tests/GuidProviderTests.cs

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

0 commit comments

Comments
 (0)