Skip to content

Commit

Permalink
Subido Projecto Base
Browse files Browse the repository at this point in the history
  • Loading branch information
BR0KK2294 committed Jun 13, 2018
0 parents commit 9b9bdc8
Show file tree
Hide file tree
Showing 206 changed files with 105,661 additions and 0 deletions.
Binary file added .vs/PowerHouseFitness/DesignTimeBuild/.dtbcache
Binary file not shown.
Binary file added .vs/PowerHouseFitness/v15/.suo
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
991 changes: 991 additions & 0 deletions .vs/config/applicationhost.config

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions PowerHouseFitness.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2026
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerHouseFitness", "PowerHouseFitness\PowerHouseFitness.csproj", "{3696F04C-C73D-456D-9E13-251089AC2210}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3696F04C-C73D-456D-9E13-251089AC2210}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3696F04C-C73D-456D-9E13-251089AC2210}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3696F04C-C73D-456D-9E13-251089AC2210}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3696F04C-C73D-456D-9E13-251089AC2210}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {702B0528-9C6B-432B-9477-5A74F4EA3000}
EndGlobalSection
EndGlobal
37 changes: 37 additions & 0 deletions PowerHouseFitness/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using PowerHouseFitness.Models;

namespace PowerHouseFitness.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}

public IActionResult About()
{
ViewData["Message"] = "Your application description page.";

return View();
}

public IActionResult Contact()
{
ViewData["Message"] = "Your contact page.";

return View();
}

public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
}
}
16 changes: 16 additions & 0 deletions PowerHouseFitness/Controllers/HorarioController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace PowerHouseFitness.Controllers
{
public class HorarioController : Controller
{
public IActionResult Index()
{
return View();
}
}
}
11 changes: 11 additions & 0 deletions PowerHouseFitness/Models/ErrorViewModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using System;

namespace PowerHouseFitness.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }

public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
}
16 changes: 16 additions & 0 deletions PowerHouseFitness/PowerHouseFitness.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.8" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.3" />
</ItemGroup>

<ItemGroup>
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.4" />
</ItemGroup>

</Project>
14 changes: 14 additions & 0 deletions PowerHouseFitness/PowerHouseFitness.csproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<NameOfLastUsedPublishProfile>PowerHouseFitness - Web Deploy</NameOfLastUsedPublishProfile>
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Controller</Controller_SelectedScaffolderCategoryPath>
<WebStackScaffolding_ControllerDialogWidth>600</WebStackScaffolding_ControllerDialogWidth>
<WebStackScaffolding_IsLayoutPageSelected>True</WebStackScaffolding_IsLayoutPageSelected>
<WebStackScaffolding_IsPartialViewSelected>False</WebStackScaffolding_IsPartialViewSelected>
<WebStackScaffolding_IsReferencingScriptLibrariesSelected>True</WebStackScaffolding_IsReferencingScriptLibrariesSelected>
<WebStackScaffolding_LayoutPageFile />
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
</PropertyGroup>
</Project>
25 changes: 25 additions & 0 deletions PowerHouseFitness/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;

namespace PowerHouseFitness
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}

public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.Build();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Este archivo se usa en el proceso de publicación y empaquetado del proyecto web. Para personalizar el comportamiento de este proceso,
edite el archivo MSBuild. Visite https://go.microsoft.com/fwlink/?LinkID=208121 para obtener más información.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<WebPublishMethod>MSDeploy</WebPublishMethod>
<ResourceId>/subscriptions/5bb4357c-f518-43d8-8225-8a7122f2d042/resourceGroups/PowerHouse/providers/Microsoft.Web/sites/PowerHouseFitness</ResourceId>
<ResourceGroup>PowerHouse</ResourceGroup>
<PublishProvider>AzureWebSite</PublishProvider>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish>http://powerhousefitness.azurewebsites.net</SiteUrlToLaunchAfterPublish>
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<ProjectGuid>3696f04c-c73d-456d-9e13-251089ac2210</ProjectGuid>
<MSDeployServiceURL>powerhousefitness.scm.azurewebsites.net:443</MSDeployServiceURL>
<DeployIisAppPath>PowerHouseFitness</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>True</EnableMSDeployBackup>
<UserName>$PowerHouseFitness</UserName>
<_SavePWD>True</_SavePWD>
<_DestinationType>AzureWebSite</_DestinationType>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Este archivo se usa en el proceso de publicación y empaquetado del proyecto web. Para personalizar el comportamiento de este proceso,
edite el archivo MSBuild. Visite https://go.microsoft.com/fwlink/?LinkID=208121 para obtener más información.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TimeStampOfAssociatedLegacyPublishXmlFile />
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAtXmNHI4xVEi4X7g3GXFsvgAAAAACAAAAAAAQZgAAAAEAACAAAABASrX18V7WyBBUtRZLLkLd5yGcVGu/loH8g1th+IrNIAAAAAAOgAAAAAIAACAAAACNokZr7AdCDA9sCXLwg9BpMgJyi7ZdigoLjXnOE2RCq4AAAAAFW0D11mnk/oodWlTlA2EuZBlQtvRfBYfwTq3qlZK8GfMY5gC2I7TEeqYUk4XZI2IKKiN1zVWE08gp27tCug1ED+QVf/F/04HXMNrbTQxurSyRnoLaNi4ITZNIqSlv2Kd1b3DCKLLvn6TsED6I/IMC1mvpJnATk8bixud/O6RnukAAAACzUk5rBuGVeutJpdsx1EKrWXD3uVlegPr17aMFI+WRbkhO+gQqg5rFgykbgSdl/NgBedoHAIcc94cxux7DDlPv</EncryptedPassword>
</PropertyGroup>
</Project>
27 changes: 27 additions & 0 deletions PowerHouseFitness/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:55845/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"PowerHouseFitness": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:55846/"
}
}
}
50 changes: 50 additions & 0 deletions PowerHouseFitness/Startup.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

namespace PowerHouseFitness
{
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)
{
services.AddMvc();
}

// 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.UseBrowserLink();
app.UseDeveloperExceptionPage();
}
else
{
app.UseExceptionHandler("/Home/Error");
}

app.UseStaticFiles();

app.UseMvc(routes =>
{
routes.MapRoute(
name: "default",
template: "{controller=Home}/{action=Index}/{id?}");
});
}
}
}
9 changes: 9 additions & 0 deletions PowerHouseFitness/Views/Gimnasios/Agregar.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

@{
ViewData["Title"] = "View";
}

<!--
id nombre direccion capacidad ciudad pais
-->
7 changes: 7 additions & 0 deletions PowerHouseFitness/Views/Home/About.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@{
ViewData["Title"] = "About";
}
<h2>@ViewData["Title"]</h2>
<h3>@ViewData["Message"]</h3>

<p>Use this area to provide additional information.</p>
17 changes: 17 additions & 0 deletions PowerHouseFitness/Views/Home/Contact.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@{
ViewData["Title"] = "Contact";
}
<h2>@ViewData["Title"]</h2>
<h3>@ViewData["Message"]</h3>

<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>

<address>
<strong>Support:</strong> <a href="mailto:[email protected]">Support@example.com</a><br />
<strong>Marketing:</strong> <a href="mailto:[email protected]">Marketing@example.com</a>
</address>
Loading

0 comments on commit 9b9bdc8

Please sign in to comment.