Start working on the backend
MODIFY
MagicalCryptoWallet.Backend/MagicalCryptoWallet.Backend.csproj
MagicalCryptoWallet.Backend/MagicalCryptoWallet.Backend.csproj
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.5" />
+ <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.2" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="1.1.0" />
</ItemGroup>

MODIFY
MagicalCryptoWallet.Backend/Properties/launchSettings.json
MagicalCryptoWallet.Backend/Properties/launchSettings.json
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
- "launchUrl": "api/values",
+ "launchUrl": "api/v1/btc/blockchain/exchange-rates",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
"MagicalCryptoWallet.Backend": {
"commandName": "Project",
"launchBrowser": true,
- "launchUrl": "api/values",
+ "launchUrl": "api/v1/btc/blockchain/exchange-rates",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},

MODIFY
MagicalCryptoWallet.Backend/Startup.cs
MagicalCryptoWallet.Backend/Startup.cs
@@ -13,13 +13,6 @@ namespace MagicalCryptoWallet.Backend
{
public class Startup
{
- public Startup(IConfiguration configuration)
- {
- Configuration = configuration;
- }
-
- public IConfiguration Configuration { get; }
-
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
@@ -29,11 +22,6 @@ namespace MagicalCryptoWallet.Backend
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
- if (env.IsDevelopment())
- {
- app.UseDeveloperExceptionPage();
- }
-
app.UseMvc();
}
}

Start working on the backend