Skip to content

Commit 3fcd2d2

Browse files
committed
Rename steeltoe-webapi projects so as to be unique
1 parent 61e518f commit 3fcd2d2

25 files changed

+101
-101
lines changed

DEVELOPER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ using Microsoft.Extensions.Logging;
221221
#endif
222222
{
223223
#if (HelloWorldOption)
224-
logger.LogInformation("Hello, World, from {Name}", "Company.WebApplication1");
224+
logger.LogInformation("Hello, World, from {Name}", "Company.WebApplication.CS");
225225
#endif
226226
if (env.IsDevelopment())
227227
...

Steeltoe.NetCoreToolTemplates.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
Microsoft Visual Studio Solution File, Format Version 12.00
1+
Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio Version 16
33
VisualStudioVersion = 16.6.30114.105
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{7A45E423-F8A2-4421-81B6-24E6A9E9A64D}"
66
EndProject
7-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Company.WebApplication1", "src\Content\NetCoreTool.Template.WebApi\CSharp\Company.WebApplication1.csproj", "{D991A16C-69AD-457F-B9FA-EB0531CF7288}"
7+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Company.WebApplication.CS", "src\Content\NetCoreTool.Template.WebApi\CSharp\Company.WebApplication.CS.csproj", "{D991A16C-69AD-457F-B9FA-EB0531CF7288}"
88
EndProject
99
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{E6A8112D-A16A-481D-844B-E941C29A6BC4}"
1010
EndProject
@@ -26,7 +26,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
2626
EndProject
2727
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Steeltoe.NetCoreTool.Templates", "src\Steeltoe.NetCoreTool.Templates.csproj", "{8C63F895-1AD7-47F1-8074-7E6832E59D62}"
2828
EndProject
29-
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Company.WebApplication1", "src\Content\NetCoreTool.Template.WebApi\FSharp\Company.WebApplication1.fsproj", "{D898629D-C5A8-4AEC-A028-914BF2DB3878}"
29+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Company.WebApplication.FS", "src\Content\NetCoreTool.Template.WebApi\FSharp\Company.WebApplication.FS.fsproj", "{D898629D-C5A8-4AEC-A028-914BF2DB3878}"
3030
EndProject
3131
Global
3232
GlobalSection(SolutionConfigurationPlatforms) = preSolution

src/Content/NetCoreTool.Template.WebApi/CSharp/Company.WebApplication1.csproj renamed to src/Content/NetCoreTool.Template.WebApi/CSharp/Company.WebApplication.CS.csproj

File renamed without changes.

src/Content/NetCoreTool.Template.WebApi/CSharp/Controllers/WeatherForecastController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Linq;
44
using Microsoft.AspNetCore.Mvc;
55
using Microsoft.Extensions.Logging;
66

7-
namespace Company.WebApplication1.Controllers
7+
namespace Company.WebApplication.CS.Controllers
88
{
99
[ApiController]
1010
[Route("[controller]")]

src/Content/NetCoreTool.Template.WebApi/CSharp/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ EXPOSE 80
44

55
FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine AS build
66
WORKDIR /src
7-
COPY ["Company.WebApplication1.csproj", "."]
8-
RUN dotnet restore "Company.WebApplication1.csproj"
7+
COPY ["Company.WebApplication.CS.csproj", "."]
8+
RUN dotnet restore "Company.WebApplication.CS.csproj"
99
COPY . .
10-
RUN dotnet build "Company.WebApplication1.csproj" -c Release -o /app
10+
RUN dotnet build "Company.WebApplication.CS.csproj" -c Release -o /app
1111

1212
FROM build AS publish
13-
RUN dotnet publish "Company.WebApplication1.csproj" -c Release -o /app
13+
RUN dotnet publish "Company.WebApplication.CS.csproj" -c Release -o /app
1414

1515
FROM base AS final
1616
WORKDIR /app
1717
COPY --from=publish /app .
1818
ENV DOTNET_URLS http://0.0.0.0:80
19-
ENTRYPOINT ["dotnet", "Company.WebApplication1.dll"]
19+
ENTRYPOINT ["dotnet", "Company.WebApplication.CS.dll"]

src/Content/NetCoreTool.Template.WebApi/CSharp/HelloHystrixCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Threading.Tasks;
33
using Steeltoe.CircuitBreaker.Hystrix;
44

5-
namespace Company.WebApplication1
5+
namespace Company.WebApplication.CS
66
{
77
public sealed class HelloHystrixCommand : HystrixCommand<string>
88
{

src/Content/NetCoreTool.Template.WebApi/CSharp/Models/ErrorViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#if (AnyEfCore)
2-
namespace Company.WebApplication1.Models
2+
namespace Company.WebApplication.CS.Models
33
{
44
public class ErrorViewModel
55
{

src/Content/NetCoreTool.Template.WebApi/CSharp/Models/Message.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace Company.WebApplication1.Models
3+
namespace Company.WebApplication.CS.Models
44
{
55
[Serializable]
66
public class Message

src/Content/NetCoreTool.Template.WebApi/CSharp/Models/SampleContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.ComponentModel.DataAnnotations;
44
using System.ComponentModel.DataAnnotations.Schema;
55

6-
namespace Company.WebApplication1.Models
6+
namespace Company.WebApplication.CS.Models
77
{
88
public class SampleContext : DbContext
99
{

src/Content/NetCoreTool.Template.WebApi/CSharp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
using Steeltoe.Extensions.Logging;
2727
#endif
2828

29-
namespace Company.WebApplication1
29+
namespace Company.WebApplication.CS
3030
{
3131
public class Program
3232
{

0 commit comments

Comments
 (0)