GithubHelp home page GithubHelp logo

fahadash / typescriptsamples Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 8.87 MB

TypeScript step by step sample projects in Visual Studio using ASP.NET Core projects

C# 0.13% JavaScript 89.88% TypeScript 9.94% HTML 0.05% Python 0.01%
typescript samples

typescriptsamples's Introduction

TypeScriptSamples

These are simple and easy to understand for beginners Typescript samples to demonstrate how you can use TypeScript in your ASP.NET Core projects.

1. Single File

This sample demonstrates how you can have one typescript file containing your code, and use that file in your html.

2. Multiple Files

This sample demonstrates how you can have two or more files working in conjunction with each other while called from your page.

3. Typings

This sample demonstrates how you can call other existing javascript functions in your TypeScript file, typings file is used to forward-reference the function that TypeScript cannot see the shape of.

4. Loading Modules using SystemJS Module Loader

This sample uses System JS Module Loader to demonstrate how you can painlessly manage dependency loading while using Multiple files exporting classes and functions.

5. Using TypeScript classes from plain old Javascript

This sample demonstrates how you can utilize the TypeScript classes from existing Javascript code in your language

6. Using Generics

This sample demonstrates the use of Generics or Templates

6. Using jQuery

This sample demonstrates the use of jQuery in your TypeScript scripts.

8. Using Angular

This sample demonstrates the use of Angular 2+. The sample uses Angular 4.0. The required libraries are reflect-metadata and Zone.

typescriptsamples's People

Contributors

fahadash avatar

Watchers

 avatar  avatar

Forkers

hombrevrc

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.