Skip to content

Commit 357b369

Browse files
authored
Merge pull request PHOENIXCONTACT#884 from PHOENIXCONTACT/rename/asp-extensions
Renamed the package Moryx.Asp.Extensions to Moryx.AspNetCore
2 parents fa35e88 + 5b2cbb3 commit 357b369

25 files changed

+29
-24
lines changed

MORYX-Framework.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CommandCenter", "CommandCen
8282
EndProject
8383
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Moryx.CommandCenter.Web", "src\Moryx.CommandCenter.Web\Moryx.CommandCenter.Web.csproj", "{BD8D5AB2-0C9E-4C61-B158-FF132890DB3C}"
8484
EndProject
85-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Moryx.Asp.Extensions", "src\Moryx.Asp.Extensions\Moryx.Asp.Extensions.csproj", "{0FB22EF0-3C6F-4235-A50E-3A976AC261D3}"
85+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Moryx.AspNetCore", "src\Moryx.AspNetCore\Moryx.AspNetCore.csproj", "{0FB22EF0-3C6F-4235-A50E-3A976AC261D3}"
8686
EndProject
8787
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Moryx.AbstractionLayer", "src\Moryx.AbstractionLayer\Moryx.AbstractionLayer.csproj", "{B1ABAAF9-811D-41C8-8C1F-37AEF687BDF1}"
8888
EndProject

docs/migrations/v8_to_v10.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,7 @@ The API of `IResourceInitializer` was adjusted
118118
## ConstraintContext during activity-handling
119119

120120
The `IConstraintContext` interface was removed from `IProcess`. Instead a new wrapper was introduced `ActivityConstraintContext` which provides the Activity and the Process for better handling in `IConstraint` implementations.
121+
122+
## Renamed Moryx.Asp.Extensions to Moryx.AspNetCore
123+
124+
Renamed the package Moryx.Asp.Extensions to Moryx.AspNetCore and moved the classes to the respective namespace. This change was applied to match the Microsoft namespaces. In the past the project was used in MORYX <6 for C#-extensions on ASP.NET Components to initialize the Runtime environment and register endpoints inside the ServerModules. Since we use controllers based on the facades, these stuff was already removed.

src/Moryx.AbstractionLayer.Products.Endpoints/Moryx.AbstractionLayer.Products.Endpoints.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<ItemGroup>
1515
<ProjectReference Include="..\Moryx.AbstractionLayer\Moryx.AbstractionLayer.csproj" />
16-
<ProjectReference Include="..\Moryx.Asp.Extensions\Moryx.Asp.Extensions.csproj" />
16+
<ProjectReference Include="..\Moryx.AspNetCore\Moryx.AspNetCore.csproj" />
1717
<ProjectReference Include="..\Moryx.Runtime\Moryx.Runtime.csproj" />
1818
</ItemGroup>
1919

src/Moryx.AbstractionLayer.Products.Endpoints/ProductManagementController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
using System.Net;
1010
using Microsoft.AspNetCore.Authorization;
1111
using Moryx.AbstractionLayer.Products.Endpoints.Properties;
12+
using Moryx.AspNetCore;
1213
using Moryx.Configuration;
13-
using Moryx.Asp.Extensions;
1414
using Moryx.Runtime.Modules;
1515

1616
namespace Moryx.AbstractionLayer.Products.Endpoints

src/Moryx.AbstractionLayer.Products.Endpoints/WorkplanController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.AspNetCore.Http;
66
using Microsoft.AspNetCore.Mvc;
77
using Moryx.AbstractionLayer.Products.Endpoints.Properties;
8-
using Moryx.Asp.Extensions;
8+
using Moryx.AspNetCore;
99
using Moryx.Workplans;
1010

1111
namespace Moryx.AbstractionLayer.Products.Endpoints

src/Moryx.AbstractionLayer.Resources.Endpoints/Moryx.AbstractionLayer.Resources.Endpoints.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<ItemGroup>
1616
<ProjectReference Include="..\Moryx.AbstractionLayer\Moryx.AbstractionLayer.csproj" />
17-
<ProjectReference Include="..\Moryx.Asp.Extensions\Moryx.Asp.Extensions.csproj" />
17+
<ProjectReference Include="..\Moryx.AspNetCore\Moryx.AspNetCore.csproj" />
1818
<ProjectReference Include="..\Moryx.Runtime\Moryx.Runtime.csproj" />
1919
</ItemGroup>
2020

src/Moryx.AbstractionLayer.Resources.Endpoints/ResourceManagementController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
using Microsoft.AspNetCore.Http;
88
using Microsoft.AspNetCore.Mvc;
99
using Microsoft.AspNetCore.Mvc.ModelBinding;
10-
using Moryx.Asp.Extensions;
1110
using Moryx.Serialization;
1211
using Moryx.Tools;
1312
using Moryx.Runtime.Modules;
1413
using Moryx.Configuration;
1514
using System.Runtime.Serialization;
1615
using System.ComponentModel.DataAnnotations;
1716
using Moryx.AbstractionLayer.Resources.Endpoints.Properties;
17+
using Moryx.AspNetCore;
1818

1919
namespace Moryx.AbstractionLayer.Resources.Endpoints
2020
{

src/Moryx.Asp.Extensions/Moryx.Asp.Extensions.csproj renamed to src/Moryx.AspNetCore/Moryx.AspNetCore.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
<PropertyGroup>
44
<TargetFramework>net10.0</TargetFramework>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
6-
<Description>Extensions for the Integration of MORYX in ASP.NET Core</Description>
6+
<Description>Extensions for the integration of MORYX in ASP.NET Core</Description>
77
<PackageTags>MORYX;ASP</PackageTags>
88
<IsPackable>true</IsPackable>
9+
<RootNamespace>Moryx.AspNetCore</RootNamespace>
910
</PropertyGroup>
1011

1112
<ItemGroup>

src/Moryx.Asp.Extensions/MoryxExceptionFilter.cs renamed to src/Moryx.AspNetCore/MoryxExceptionFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Microsoft.AspNetCore.Mvc;
66
using Microsoft.AspNetCore.Mvc.Filters;
77

8-
namespace Moryx.Asp.Extensions
8+
namespace Moryx.AspNetCore
99
{
1010
public class MoryxExceptionFilter : IExceptionFilter
1111
{

src/Moryx.Asp.Extensions/MoryxExceptionResponse.cs renamed to src/Moryx.AspNetCore/MoryxExceptionResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) 2025, Phoenix Contact GmbH & Co. KG
22
// Licensed under the Apache License, Version 2.0
33

4-
namespace Moryx.Asp.Extensions
4+
namespace Moryx.AspNetCore
55
{
66
public class MoryxExceptionResponse
77
{

0 commit comments

Comments
 (0)