Skip to content
Permalink
Browse files
Merge pull request #55 from indcoder/Iteration1
Iteration1
  • Loading branch information
indcoder committed Aug 27, 2020
2 parents 3be9468 + 5e2c425 commit 6768e24bc865e2b12109198ebe0421ba93991b2b
Show file tree
Hide file tree
Showing 47 changed files with 176 additions and 26 deletions.
@@ -292,4 +292,7 @@ __pycache__/


# Exclude solution overview Ppt
solution-overview.pptx
solution-overview.pptx

# Exclude work timing
codealike.json

This file was deleted.

This file was deleted.

@@ -0,0 +1,8 @@
using System;

namespace Visage.Core
{
public class Class1
{
}
}
@@ -0,0 +1,106 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text.Json;

namespace Visage.Core.Models
{

public partial class Event
{
JsonProperty = System.Text.Json.Serialization.JsonPropertyNameAttribute;

[JsonProperty("name")]
public Description Name { get; set; }

[JsonProperty("id")]
public string Id { get; set; }

[JsonProperty("url")]
public Uri Url { get; set; }

[JsonProperty("vanity_url")]
public Uri VanityUrl { get; set; }

[JsonProperty("start")]
public CompleteDateTime Start { get; set; }

[JsonProperty("end")]
public CompleteDateTime End { get; set; }

[JsonProperty("organization_id")]
public string OrganizationId { get; set; }

[JsonProperty("created")]
public DateTimeOffset Created { get; set; }


[JsonProperty("organizer_id")]
public string OrganizerId { get; set; }

[JsonProperty("venue_id")]
[JsonConverter(typeof(ParseStringConverter))]
public long VenueId { get; set; }


[JsonProperty("resource_uri")]
public Uri ResourceUri { get; set; }

}

public partial class Description
{
[JsonProperty("text")]
public string Text { get; set; }

[JsonProperty("html")]
public string Html { get; set; }
}

public partial class CompleteDateTime
{
[JsonProperty("timezone")]
public string Timezone { get; set; }

[JsonProperty("local")]
public DateTimeOffset Local { get; set; }

[JsonProperty("utc")]
public DateTimeOffset Utc { get; set; }
}



public partial class Original
{
[JsonProperty("url")]
public Uri Url { get; set; }

[JsonProperty("width")]
public object Width { get; set; }

[JsonProperty("height")]
public object Height { get; set; }
}

public partial class Pagination
{
[JsonProperty("object_count")]
public long ObjectCount { get; set; }

[JsonProperty("page_number")]
public long PageNumber { get; set; }

[JsonProperty("page_size")]
public long PageSize { get; set; }

[JsonProperty("page_count")]
public long PageCount { get; set; }

[JsonProperty("continuation")]
public string Continuation { get; set; }

[JsonProperty("has_more_items")]
public bool HasMoreItems { get; set; }
}
}
@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

</Project>
@@ -0,0 +1 @@
{"projectId":"6dc79970-557a-11ea-992e-d7fff047ae27","projectName":"Visage.Core"}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,11 @@
@page "/"

<h1>Hello, world!</h1>

<div class="alert alert-warning" role="alert">
Before authentication will function correctly, you must configure your provider details in <code>Program.cs</code>
</div>

Welcome to your new app.

<SurveyPrompt Title="How is Blazor working for you?" />
@@ -5,7 +5,7 @@
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;

namespace Frontend
namespace Visage.Frontend
{
public class Program
{
@@ -17,6 +17,8 @@ public static async Task Main(string[] args)
builder.Services.AddBaseAddressHttpClient();
builder.Services.AddOidcAuthentication(options =>
{
// Configure your authentication provider options here.
// For more information, see https://aka.ms/blazor-standalone-auth
options.ProviderOptions.Authority = "https://indcoder.auth0.com";
options.ProviderOptions.ClientId = "LmyPloWc6iTqUqZ0iOsXEc2XjcGAulen";
});
@@ -25,4 +27,3 @@ public static async Task Main(string[] args)
}
}
}

File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
<div class="top-row pl-4 navbar navbar-dark">
<a class="navbar-brand" href="">Frontend</a>
<a class="navbar-brand" href="">Visage.Frontend</a>
<button class="navbar-toggler" @onclick="ToggleNavMenu">
<span class="navbar-toggler-icon"></span>
</button>
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -4,5 +4,5 @@
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.JSInterop
@using Frontend
@using Frontend.Shared
@using Visage.Frontend
@using Visage.Frontend.Shared
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
@@ -4,8 +4,8 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Frontend</title>
<base href="/" />
<title>Visage.Frontend</title>
<base href=" /" />
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
<link href="css/site.css" rel="stylesheet" />
<link href="manifest.json" rel="manifest" />
@@ -25,3 +25,4 @@
</body>

</html>

@@ -1,6 +1,6 @@
{
"name": "Frontend",
"short_name": "Frontend",
"name": "Visage.Frontend",
"short_name": "Visage.Frontend",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
File renamed without changes.
File renamed without changes.
@@ -17,7 +17,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{91883382
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Checkins.UnitTests", "Checkins.UnitTests\Checkins.UnitTests.csproj", "{61947BEF-FD71-4D46-868F-10F510FA65CD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Frontend", "Frontend\Frontend.csproj", "{D52F3454-DFC8-430F-A4FB-D3EA72B3638F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Visage.Frontend", "Visage.Frontend\Visage.Frontend.csproj", "{9646C966-1E9D-4729-A739-69286FCC9C28}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -33,10 +33,10 @@ Global
{61947BEF-FD71-4D46-868F-10F510FA65CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{61947BEF-FD71-4D46-868F-10F510FA65CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{61947BEF-FD71-4D46-868F-10F510FA65CD}.Release|Any CPU.Build.0 = Release|Any CPU
{D52F3454-DFC8-430F-A4FB-D3EA72B3638F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D52F3454-DFC8-430F-A4FB-D3EA72B3638F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D52F3454-DFC8-430F-A4FB-D3EA72B3638F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D52F3454-DFC8-430F-A4FB-D3EA72B3638F}.Release|Any CPU.Build.0 = Release|Any CPU
{9646C966-1E9D-4729-A739-69286FCC9C28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9646C966-1E9D-4729-A739-69286FCC9C28}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9646C966-1E9D-4729-A739-69286FCC9C28}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9646C966-1E9D-4729-A739-69286FCC9C28}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -1,5 +1,5 @@
{
"azureFunctions.deploySubpath": "bin/Release/netcoreapp3.0/publish",
"azureFunctions.deploySubpath": "bin/Release/netcoreapp3.1/publish",
"azureFunctions.projectLanguage": "C#",
"azureFunctions.projectRuntime": "~3",
"debug.internalConsoleOptions": "neverOpen",
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AzureFunctionsVersion>v3</AzureFunctionsVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="1.0.30-beta2" />
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.1"/>
</ItemGroup>
<ItemGroup>
<None Update="host.json">
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,11 @@
@baseURL = www.eventbriteapi.com/v3

# @name InitialOwnedEvents
GET https://{{baseURL}}/users/me/owned_events HTTP/1.1
Authorization: Bearer {{bearer}}

###

# @name SubsequentOwnedEvents
GET https://{{baseURL}}/users/me/owned_events?continuation={{InitialOwnedEvents.response.body.pagination.continuation}} HTTP/1.1
Authorization: Bearer {{bearer}}

0 comments on commit 6768e24

Please sign in to comment.