Code Monkey home page Code Monkey logo

live.asp.net's Introduction

live.asp.net

Code for the ASP.NET Community Stand-up site.

Staging - https://ms-asp-standup-staging.azurewebsites.net/

Production - https://live.asp.net/

Local Development Configuration

This project now requires Visual Studio 2017 RC build 15.0.0-RC.3+26127.0 or higher, or if using the .NET CLI with VS Code or an OmniSharp enabled editor, .NET Core SDK 1.0 RC3 build 004530 or higher.

To run the site locally with live data and login, you'll need some configuration values in your user secrets store. If the values aren't found, hard-coded YouTube sample data will be used, and the next show details will be saved to the root of the app in a JSON file.

To enable sign-in to the Admin page, you'll need configuration values in your secret store for an Azure AD endpoint, plus you'll need to update the Authorization section of appsettings.json to list the usernames of the Azure AD accounts you want to allow.

To configure the secret values, use the user-secret command, e.g.:

dotnet user-secrets set AppSettings:YouTubeApiKey <app-server-key>
  
dotnet user-secrets set AppSettings:AzureStorageConnectionString <azure-storage-connection-string>

dotnet user-secrets set Authentication:AzureAd:Domain <azure-ad-domain-name>

dotnet user-secrets set Authentication:AzureAd:PostLogoutRedirectUri "https://localhost:44300/"

live.asp.net's People

Contributors

billwagner avatar damianedwards avatar danroth27 avatar henrikwm avatar hishamco avatar khellang avatar kichalla avatar matsprea avatar neusamir avatar peterblazejewicz avatar pranavkm avatar saarcohen avatar scottaddie avatar shanselman avatar shirhatti avatar stoyandimov avatar timmurphy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

live.asp.net's Issues

Show video time

It would be great to see the length of the video along with the thumbnail in the home page.

Missing Unit tests?

This is supposedly production code but there are no cross platform unit tests?

Even though the global.json there should be a folder full of tests!

Add to Google Calendar

Current link to next standup (webcals://live.asp.net/ical) does not work with Google Calendar.

Coding conventions

Since I'm learning the hard way (in a couple of PR) how to properly style the code for this repo, I was wandering if there is a coding conventions doc that we can read before submitting a PR to improve the process.

Maybe this one C# Coding Conventions ?

IMHO it will be useful to link the coding conventions doc in the guidelines for contributing.

Refresh the page when it's ShowTime

If I understood what was said during the 8/11 standup, the solution for this would be to start a simple polling as the showtime gets closer?
Assuming that yes, I would like to take a stab at that

Sort out the storage and display of the next show date

It's a mixture of DateTime and DateTimeOffset right now. Perhaps easier to just store it as DateTime as it will always be in PST. If we decide to something clever later on like show home page visitors the next show time in their local timezone, we could just adjust the date before display.

Run in OSX

It would be nice if we could just clone and run it locally from OSX with kestrel.

ASP.NET 5 RC1 Update 1 Corruption

Installing "ASP.NET 5 RC1 Update 1" on a clean installation of Visual Studio 2015 (any version) with Update 1, will forever corrupt your Visual Studio 2015 installation, making it impossible to edit .cshtml files. The following issues have been opened:

Can't open .cshtml files with the Visual Studio 2015 HTML Editor (ASP.NET 5 RC1 Update 1)
Can't open .cshtml files with the Visual Studio 2015 HTML Editor (post ASP.NET 5 RC1 Update 1) #390

There is no fix for this! Uninstalling everything related to Visual Studio (all versions) and .NET (all versions), or doing a clean install of Windows, and then reinstalling everything (a week long process) is not an option. When is there going to be a HOTFIX for this, so they we can again use these workstations? It has been over 2 months since you have been notified of this, and NOTHING has been done!

Here are just 2 of the MANY RTM or Microsoft Recommended Updates that Visual Studio will ask to install that contain this corrupt BETA code:

Microsoft ASP.NET and Web Tools
Microsoft Azure SDK 2.8.2 (Web Platform Installer)

Additionally, I have noticed that if this is installed on a Windows 10 machine, it will cause Windows 10 itself to become corrupted and require an in-place upgrade of Windows 10 to correct everything that it breaks.

How could ANY team at Microsoft be allowed to release BETA software into the RTM life cycle of other products?

@Html.ApplicationInsightsJavaScript creates deprecated script language attribute

I just can't find where to submit this one, so I post it here as web site is using it:
https://github.com/aspnet/live.asp.net/blob/dev/src/live.asp.net/Views/Shared/_AnalyticsHead.cshtml#L18

 @Html.ApplicationInsightsJavaScript(...)

creates <script language="javascript"></script> tag which is non-HTML5 attribute (obsolete one).
In HTML5 all script tag without type are just JavaScript types - the language should not be used at all.
I could move it to related project (but I cannot figure one which one it should be).
https://developer.mozilla.org/en/docs/Web/HTML/Element/script#Attributes
Thanks!

Make ics file have a suffix

If I download the ics file on a Windows Phone, it either saves the file as 'ics[1]' in downloads, or offers to open the file by looking for an app (which then fails).

I think if the file downloaded was named with '.ics' as a file suffix (eg. 'liveaspnet.ics' or 'meeting.ics'), then this would reduce the problem.

Get site app created & publishing to Azure

  • Initial commit with an ASP.NET 5 app with a simple landing page (for now).
  • Configure branches to push to deployment slots onhttp://live.asp.net on commit
    • dev branch to Staging slot
    • prod branch to Production slot

Episode Title

It is possible to know the episode title for next meeting and display at the header of the website? This may useful for the audience and prepare questions if needed

Add Video titles?

Add Video titles? I can change the YT ones and add better desc if you want

Add anaylytics

These should only show up when served from production.

For MS:

<script type="text/javascript">
       var varSegmentation = 0;
       var varClickTracking = 1;
       var varCustomerTracking = 1;
       var varAutoFirePV = 1;
       var Route = 12656;
       var Ctrl = "";

       document.write("<script type='text/javascript' src='" + (window.location.protocol) + "//c.microsoft.com/ms.js'" + "'><\/script>");   
</script>
<noscript><img alt="" width="1" height="1" src="//c.microsoft.com/trans_pixel.aspx"/></noscript>

For Google Anaylytics:

<script type="text/javascript">
       (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
       (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
       m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
       })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

       ga('create', 'UA-61337531-1', 'auto', {'name': 'mscTracker'});
       ga('mscTracker.send', 'pageview');
</script>

Latest Episode Issue

I notice this week that the latest not shows yet, after the standup finished, it takes more than couple of hours. I'm not sure if there an issue for the latency

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.