This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
| { | |
| "name": ".NET with Aspire", | |
| "image": "mcr.microsoft.com/dotnet/sdk:8.0", | |
| "features": { | |
| "ghcr.io/devcontainers/features/docker-in-docker:2": {}, | |
| "ghcr.io/devcontainers/features/github-cli:1": { | |
| "version": "2" | |
| }, | |
| "ghcr.io/devcontainers/features/powershell:1": { | |
| "version": "latest" |
This document now exists on the official ASP.NET core docs page.
This document now exists on the official ASP.NET core docs page.
| :: USAGE: ./resize.bat [OPTION]... [DIR] | |
| :: | |
| :: Converts and scales the files in the directory DIR | |
| :: If DIR is omitted it is asked to the user | |
| :: Requires ImageMagick | |
| :: | |
| :: /q Runs quietly | |
| :: /n No action, print file names only | |
| :: | |
| :: Parameters: |
| $svgs = Get-ChildItem (".\*") -Filter *.svg | |
| $scriptPath = $MyInvocation.MyCommand.Path | |
| $scriptDirectory = Split-Path $scriptPath | |
| $outputDirectory = $scriptDirectory + "\output" | |
| # Replace specific path as needed | |
| $magickExePath = "C:\Program Files\ImageMagick-7.0.8-Q16\magick.exe" | |
| ForEach($svg in $svgs) { | |
| Write-Host $svg |
| using System; | |
| namespace StronglyTypedPipelines | |
| { | |
| /// <summary> | |
| /// Base type for individual pipeline steps. | |
| /// Descendants of this type map an input value to an output value. | |
| /// The input and output types can differ. | |
| /// </summary> |
| // The good part: | |
| // String(javaString).valueOf() | |
| // Follow the same pattern to convert other Java types to corresponding JavaScript primitives | |
| var javaString = new java.lang.String("test"); | |
| print('javaString:', javaString); | |
| print('typeof javaString:', typeof javaString); // Object | |
| print('javaString instanceof String:', (javaString instanceof String)); // true (really a java.lang.String object) | |
| print('String(javaString).valueOf() === "test":', String(javaString).valueOf() === "test"); // true: Converted to JS primitive |
| # 1. Install Chocolatey | |
| <# | |
| Set-ExecutionPolicy RemoteSigned -Force | |
| # Create empty profile (so profile-integration scripts have something to append to) | |
| if (-not (Test-Path $PROFILE)) { | |
| $directory = [IO.Path]::GetDirectoryName($PROFILE) | |
| if (-not (Test-Path $directory)) { | |
| New-Item -ItemType Directory $directory | Out-Null | |
| } |
| /*! | |
| * jQuery Fisheye Grid version 0.01 | |
| * Copyright 2011, Adam Laughlin | |
| * http://a-laughlin.com | |
| * Licensed under MIT & GPL version 2 | |
| * http://static.a-laughlin.com/mit_license.txt | |
| * http://static.a-laughlin.com/gpl_license.txt | |
| */ | |
| /* |
Backbone is a library of tools that simplify the design and implementation of client-side web applications. It is explicitly not a framwework. Backbone does not provide guidance about how to assemble an application. This post will be an initial attempt at filling that gap. It assumes an intermediate level of Backbone.js knowledge. If you have never used Backbone.js try Backbone.js Basics or the Backbone.js homepage.
I like to provide a root object/namespace for my application. Let's call it app.
var app = {};
Register Components on the Application Object