aspnet / live.asp.net Goto Github PK
View Code? Open in Web Editor NEWCode for live.asp.net, which hosts the ASP.NET Community Stand-up
Home Page: https://live.asp.net/
License: MIT License
Code for live.asp.net, which hosts the ASP.NET Community Stand-up
Home Page: https://live.asp.net/
License: MIT License
It would be great to see the length of the video along with the thumbnail in the home page.
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!
If I navigate to ~/Admin and then sign-in via Azure AD, it navigates me back to the home page. Need to figure out how to flow the original URL.
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.
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
Should contain 16x16 & 32x32 sizes. Right now it has 16x16 & 24x24
Add a section to the home page, after the previous episodes list, titled "About the ASP.NET Community Standup" that gives a description of what it is and who hosts it, with twitter links, etc.
Youtube is not available in China :(
This would allow you to post a quick update in case you had to reschedule/cancel the meeting and avoids confusion like https://twitter.com/khellang/status/654211759000145920.
e.g. "We had to cancel the meeting for 2015-10-13 and will be back next week. Sorry"
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
Cache is set to 5 minutes currently but we could probably just make it cache indefinitely and just manually clear the cache from the Admin screen when we add a new show.
Just start with the in-memory provider for now then figure out migrations and pushing it to Azure.
Use the youtube API to get details of videos in the playlist at https://www.youtube.com/playlist?list=PL0M0zPgJ3HSftTAAHttA3JQU4vOjXFquF
API sample to start with at https://developers.google.com/youtube/v3/code_samples/dotnet#create_a_playlist
In case we need to tell users that we're futzing with the stream or some-such, we should be able to set a message from the Admin screen that displays prominently on the home page
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>
Admin functions require sign-in via Azure AD
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.
We are going to use a consistent version across all repos in aspnet.
I guess that it's just mechanical error,
because in _Layout.cshtml file
https://github.com/aspnet/live.asp.net/blob/dev/src/live.asp.net/Views/Shared/_Layout.cshtml#L21
we have
<link rel="stylesheet" href="~/css/site.css" asp-file-version="true" />"
instead
"<link rel="stylesheet" href="~/css/site.min.css" asp-file-version="true" />"
resulting, on production we get not minified file.
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?
Currently the live site gets 72/100 for desktop and 52/100 for mobile https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Flive.asp.net%2F&tab=mobile I showed the site to a Ruby dev friend and he wasn't kind about that pagespeed score... If I submit a PR that bumps it up without doing anything weird will you take a look at it?
I'm facing an issue when I run dnu restore it show unable to locate [dependency]
The logo svg is not being served and returning a 404 url https://live.asp.net/images/Microsoft_logo.svg
This means ut shows up as a broken image in chrome
Also in Edge
It would be nice if we could just clone and run it locally from OSX with kestrel.
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.
If I sign in to Azure with my MS account ([email protected]), then try to sign in to live.asp.net (local, staging, whatever), the Azure AD login screen just shows an error. If I go incognito or clear my cookies for login.microsoftonline.com then I'm able to sign-in OK with my MS CorpNet credentials.
Add Video titles? I can change the YT ones and add better desc if you want
Need to somehow enable a way to see actual exception details from the portal or similar when stuff doesn't work.
It's using a temporary cookie right now but seems like the exact case TempData
was created for.
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
The client-side dependencies from initial project bootstrap can be removed:
https://github.com/aspnet/live.asp.net/blob/dev/src/live.asp.net/bower.json#L6-L7
"bootstrap-touch-carousel": "0.8.0",
"hammer.js": "2.0.4"
They are not used. The website CSS stylesheet will require removal of bootstrap-touch-carousel
related code as well.
If removed, it will simplify and clarify client-side dependencies in project.
Is it OK to PR this?
Thanks!
dev
branch to Staging slotprod
branch to Production slotThe bootstrap.css
path is not exist in both Development https://github.com/aspnet/live.asp.net/blob/dev/src/live.asp.net/Views/Shared/_Layout.cshtml#L12 and Staging & Production fallback https://github.com/aspnet/live.asp.net/blob/dev/src/live.asp.net/Views/Shared/_Layout.cshtml#L17
With PRs coming in now with changes to JS and CSS would be great to get JSHint and CSSLint running so can easily ensure compliance and catch issues.
Current link to next standup (webcals://live.asp.net/ical) does not work with Google Calendar.
<meta name="description" content="">
At the moment web crawlers takes most prominent text as page excerpt (fortunately correctly from jumbotron area)
The Facebook defines optimal lenght nicely as two sentences long string:
https://developers.facebook.com/docs/sharing/best-practices
Otherwise: https://support.google.com/webmasters/answer/35624?rd=1#1
Thanks!
Get the deploy.cmd from the SCM portal, modify it to run dnu publish --no-source --configuration Release
and put it in the root of the repo. Hopefully it will speed up the app startup time after deployment slightly.
Add more screen captures from more episodes, include some non-person shots (e.g. code).
'cos DRY and Tag Helpers are cool.
Apache 2
live.asp.net/src/live.asp.net/Controllers/AdminController.cs
Lines 88 to 89 in a3ad4d4
clearcache (post) doesn't have [Authorize("Admin")]
attribute.
I think it would be an improvement to have the [Authorize]
filter at the controller level instead of per action.
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.