Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

FabianGosebrink/ASPNET-Foodchooser-Cross-Platform-AngularJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Foodchooser - ASP.NET WebAPI AngularJs Cross Platform

Get the Android SDK here Android SDK
Get the Windows SDK here Windows SDK

###In this repository we have done an example app with

  • AngularJs
  • Typescript
  • Bootstrap
  • Automapper
  • WebAPI 2.2
  • Gulp.js
  • NPM
  • Azure

to make it cross platform, which means its working as an exe, as an app on phones and as a web application.

This is done with

  • Cordova (for the Apps)
  • Electron (for the exe)
  • Gulp (for the web application)
  • ASP.NET WebAPI (for the backend)

Feel free to add gulp tasks as you want :)

##This is the Angular 1 Version of the Foodchooser-Example. Find the Angular 2 Version here: Angular 2 Version

Type in

gulp
to get a ist of all the tasks available

Alternativtext

With

gulp build:all
you can build all variations the repository brings.

Alternativtext

###If run "gulp build:all" you will notice one "/webapp" folder and one "/.webapp" (with a dot). The "/.webapp" is for development. In production case the "/.webapp" is distributed to the normal "/webapp" folder too. If you right-click and publish to azure the redirect rule in the web.config will take the files from the distributed webapp folder "/webapp".

<!-- Rewrite rule to take webapp from /webapp" folder -->
<rewrite>
      <rules>
        <clear />
        <rule name="Root Hit Redirect" stopProcessing="true">
          <match url="^$" />
          <action type="Redirect" url="/webapp/" />
        </rule>
      </rules>
    </rewrite>
</pre>

#Screenshots

Cordova-Project in Visual Studio

Alternativtext

Windows 8.1 App

Alternativtext

Windows 10 Mobile

Alternativtext

Executable (Electron)

Alternativtext

About

Cross Platform Application for Demo with AngularJs, ASP.NET WebAPI, Typescript and Gulp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published