This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
This document now exists on the official ASP.NET core docs page.
// JS array equivalents to C# LINQ methods - by Dan B. | |
// First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version): | |
// Here's a simple array of "person" objects | |
var people = [ | |
{ name: "John", age: 20 }, | |
{ name: "Mary", age: 35 }, | |
{ name: "Arthur", age: 78 }, | |
{ name: "Mike", age: 27 }, |
<?php | |
include'dbconnect.php'; | |
//Save to db | |
if (isset($_POST['btnsave'])) { | |
$productname = $_POST['txtname']; | |
$productprice = $_POST['txtprice']; |
using System; | |
namespace TowerOfHanoi | |
{ | |
internal class Program | |
{ | |
static int counter = 0; | |
static void Main(string[] args) | |
{ | |
var discs = 0; |
A collection of links to the "Master the JavaScript Interview" series of medium stories by Eric Elliott.
A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.
Edit: I see that each post in the series now has index, previous and next links. However, they don't follow a linear flow through all the articles with some pointing back to previous posts effectively locking you in a loop.
using System; | |
namespace NumberGuesser | |
{ | |
class Program | |
{ | |
//App Entry point | |
static void Main(string[] args) | |
{ | |
GetAppInfo(); |
[ | |
{ | |
city: "New York", | |
growth_from_2000_to_2013: "4.8%", | |
latitude: 40.7127837, | |
longitude: -74.0059413, | |
population: "8405837", | |
rank: "1", | |
state: "New York" |