![]() |
VOOZH | about |
dotnet add package Boxed.AspNetCore --version 9.0.1
NuGet\Install-Package Boxed.AspNetCore -Version 9.0.1
<PackageReference Include="Boxed.AspNetCore" Version="9.0.1" />
<PackageVersion Include="Boxed.AspNetCore" Version="9.0.1" />Directory.Packages.props
<PackageReference Include="Boxed.AspNetCore" />Project file
paket add Boxed.AspNetCore --version 9.0.1
#r "nuget: Boxed.AspNetCore, 9.0.1"
#:package Boxed.AspNetCore@9.0.1
#addin nuget:?package=Boxed.AspNetCore&version=9.0.1Install as a Cake Addin
#tool nuget:?package=Boxed.AspNetCore&version=9.0.1Install as a Cake Tool
👁 Boxed.AspNetCore
👁 Boxed.AspNetCore NuGet Package Downloads
Provides ASP.NET Core middleware, MVC filters, extension methods and helper code for an ASP.NET Core project.
ILoggingBuilder Extensions
loggingBuilder
.AddIfElse(
hostingEnvironment.IsDevelopment(),
x => x.AddConsole(...).AddDebug(),
x => x.AddSerilog(...));
IConfiguration Extensions
this.configuration = new ConfigurationBuilder()
.SetBasePath(hostingEnvironment.ContentRootPath)
.AddJsonFile("config.json")
.AddJsonFile($"config.{hostingEnvironment.EnvironmentName}.json", optional: true)
.AddIf(
hostingEnvironment.IsDevelopment(),
x => x.AddUserSecrets())
.AddEnvironmentVariables()
.AddApplicationInsightsSettings(developerMode: !hostingEnvironment.IsProduction())
.Build();
IApplicationBuilder Extensions
application
.UseIfElse(
environment.IsDevelopment(),
x => x.UseDeveloperExceptionPage(),
x => x.UseStatusCodePagesWithReExecute("/error/{0}/"))
.UseIf(
environment.IsStaging(),
x => x.UseStagingSpecificMiddleware())
.UseStaticFiles()
.UseMvc();
[HttpGet("product/{id}/{title}", Name = "GetProduct")]
public IActionResult GetProduct(int id, string title)
{
var product = this.productRepository.Find(id);
if (product == null)
{
return this.NotFound();
}
// Get the actual friendly version of the title.
string friendlyTitle = FriendlyUrlHelper.GetFriendlyTitle(product.Title);
// Compare the title with the friendly title.
if (!string.Equals(friendlyTitle, title, StringComparison.Ordinal))
{
// If the title is null, empty or does not match the friendly title, return a 301 Permanent
// Redirect to the correct friendly URL.
return this.RedirectToRoutePermanent("GetProduct", new { id = id, title = friendlyTitle });
}
// The URL the client has browsed to is correct, show them the view containing the product.
return this.View(product);
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 3 NuGet packages that depend on Boxed.AspNetCore:
| Package | Downloads |
|---|---|
|
Boxed.AspNetCore.Swagger
Provides ASP.NET Core middleware, MVC filters, extension methods and helper code for an ASP.NET Core project implementing Swagger (OpenAPI). |
|
|
HMRC.ESFA.Levy.Api.Types
Returns apprenticeship levy information from HMRC |
|
|
WebScheduler.Client.Http
The API for the Web Scheduler |
Showing the top 1 popular GitHub repositories that depend on Boxed.AspNetCore:
| Repository | Stars |
|---|---|
|
Dotnet-Boxed/Templates
.NET project templates with batteries included, providing the minimum amount of code required to get you going faster.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.1 | 261,131 | 9/14/2023 |
| 9.0.0 | 723 | 9/14/2023 |
| 8.1.2 | 366,330 | 8/24/2022 |
| 8.1.1 | 789 | 8/24/2022 |
| 8.1.0 | 513 | 8/24/2022 |
| 8.0.0 | 329,527 | 11/9/2021 |
| 7.0.0 | 72,186 | 4/29/2021 |
| 6.2.0 | 12,626 | 4/1/2021 |
| 6.1.1 | 3,584 | 3/12/2021 |
| 6.1.0 | 2,053 | 3/11/2021 |
| 6.0.0 | 23,982 | 11/23/2020 |
| 5.1.2 | 189,139 | 6/1/2020 |
| 5.1.2-preview.0.44 | 516 | 4/3/2020 |
| 5.1.1 | 106,290 | 12/11/2019 |
| 5.1.0 | 1,846 | 12/9/2019 |
| 5.0.0 | 2,797 | 11/30/2019 |
| 4.0.0 | 26,941 | 9/3/2019 |
| 4.0.0-beta-0000 | 2,104 | 9/3/2019 |
| 3.3.0 | 26,737 | 7/14/2019 |
| 3.2.0 | 38,021 | 2/13/2019 |