From 109bc22f09b40c53344aa8056a317236e0e0779a Mon Sep 17 00:00:00 2001 From: Richard Lander Date: Thu, 23 Jul 2015 20:42:08 -0700 Subject: [PATCH] Add current versions of pages --- dotnet-user-groups.html | 30 +++++++ install-dotnet-framework.html | 62 +++++++++++++ meetup.js | 89 +++++++++++++++++++ target-dotnet-platforms.html | 160 ++++++++++++++++++++++++++++++++++ 4 files changed, 341 insertions(+) create mode 100644 dotnet-user-groups.html create mode 100644 install-dotnet-framework.html create mode 100644 meetup.js create mode 100644 target-dotnet-platforms.html diff --git a/dotnet-user-groups.html b/dotnet-user-groups.html new file mode 100644 index 0000000..e490935 --- /dev/null +++ b/dotnet-user-groups.html @@ -0,0 +1,30 @@ + + + + .NET Meetup Test Page2 -- Local Address + + + + +

var m = new List<Meetup>(Kind.dotNet, Scope.Planet)

+ +

This page list events for the set of .NET user group meetups that we found on meetup.com. We hope that you find this list helpful, particularly if you are looking for a local user group. If you would like your group's events listed here (even if not on meetup), please contact us, either by twitter or the "Contact" button on the right-hand side of this page.

+ +

You can see the list of user groups that we found on meetup, by taking a look at the dotnet meetup account. We also maintain a much larger list of .NET meetup groups on twitter. Once again, please contact us if your group should be on either of those lists.

+ +
+ + + + + + + + + + \ No newline at end of file diff --git a/install-dotnet-framework.html b/install-dotnet-framework.html new file mode 100644 index 0000000..144efaa --- /dev/null +++ b/install-dotnet-framework.html @@ -0,0 +1,62 @@ + + + + Foo site + + + + + + + +

+ + Install the .NET Framework

+ +

You need to install the .NET Framework to run many apps on Windows. The best versions to install are the .NET Framework 4.6 and the .NET Framework 3.5 SP1. Those two versions should run nearly all .NET apps.

+ +
+ +
+
+ +

Developers may want to check out Targeting Dotnet Platforms and Targeting .NET Framework Versions to learn more about targeting .NET Framework versions.

+ + + + + + + + + \ No newline at end of file diff --git a/meetup.js b/meetup.js new file mode 100644 index 0000000..7f89ce4 --- /dev/null +++ b/meetup.js @@ -0,0 +1,89 @@ +//requires two variables to be set externally: +//var meetupCount = [10]; +//var showMeetupSource = true; + +$(document).ready(function () { + + var cmLogo = "http://dotnetsocialweb.azurewebsites.net/assets/cm_logo.png"; + var mLogo = "http://dotnetsocialweb.azurewebsites.net/assets/meetup_logo.png"; + var dLogo = "http://dotnetsocialweb.azurewebsites.net/assets/net_logo.png" + var defaultUrl ="https://twitter.com/DotNet/dotnet-user-groups"; + var cmBaseUrl ="http://www.communitymegaphone.com"; + var meetupBaseUrl="http://www.meetup.com/"; + var host = "http://dotnetsocial.cloudapp.net"; + //host = "http://localhost:63238/"; + var requestUrl = host + "/api/meetup?count=" + meetupCount + "&expiry=60"; + //requestUrl = "http://api.meetup.com/2/events?key=24657261295c237904a6b334343c50&member_id=self&page=" + meetupCount; + + var table ="
"; + var header ="DateEventGroup"; + var body="Loading list of events ..."; + + $("#meetup-table").append(table); + $("#meetup-table-table").addClass("table table-hover"); + $("#meetup-table-table").append(header).append(body); + + $.support.cors = true; + $.getJSON(requestUrl, function (data) { + var events; + if (data.results == null) + events = data; + else + events = data.results; + + if (showMeetupSource) + { + $("#event-date").after(""); + } + + var renderLink = function (link, text) { + var linkString = "" + text + ""; + return linkString; + }; + + var startsWith = function (a, b) { + return a.indexOf(b) == 0; + }; + + $.each(events, function (key, event) { + var groupUrl; + var groupName; + var eventImage; + var imageRow = ""; + + if (event.group == null) { + groupUrl = event.group_url; + groupName = event.group_name; + } + else { + groupUrl = meetupBaseUrl + event.group.urlname; + groupName = event.group.name; + } + + if (showMeetupSource) + { + if (startsWith(event.event_url,meetupBaseUrl)) + eventImage = mLogo; + else if (startsWith(event.event_url, cmBaseUrl)) + eventImage = cmLogo; + else + eventImage = dLogo; + + if (event.event_url == null || event.event_url =="") + { + event.event_url = defaultUrl; + } + + imageRow = $(""); + } + + var date = $("" + moment(event.time).format('dddd, MMMM Do YYYY') +""); + var eventDesc = $("" + renderLink(event.event_url, event.name) +""); + var group = $("" + renderLink(groupUrl, groupName) +""); + var row = $("").append(date).append(imageRow).append(eventDesc).append(group); + + $("#meetups").append(row); + }); + $("#meetup-loading").remove(); + }); +}); diff --git a/target-dotnet-platforms.html b/target-dotnet-platforms.html new file mode 100644 index 0000000..ca0bef1 --- /dev/null +++ b/target-dotnet-platforms.html @@ -0,0 +1,160 @@ + + + + Foo site + + + + + + + +

Targeting .NET Platforms: Desktop, Server, Cloud and Devices

+ +

You can build apps for many platforms and services by downloading .NET Framework targeting packs and SDKs and using them with Visual Studio. Check out the .NET Framework blog for information on new releases.

+ +

The downloads available differ by Visual Studio version. Pick your Visual Studio version by using the buttons below.

+ + + +
+
+ +

Note: These SDK and .NET Framework downloads may update Visual Studio and the .NET Framework on your machine.

+ + + + + + + \ No newline at end of file