Giter VIP home page Giter VIP logo

dot.netcore_angular2_app's Introduction

ASP.NET Core Angular 2 Demo App


Execute-

cd ./ProfileManagement
webpack --config webpack.config.vendor.js
webpack --config webpack.config.js

before run application. It is a bug in webpack.


It is a simple Angular2 with Dot.Net Core 1.0.1 App based on -

http://blog.stevensanderson.com/2016/10/04/angular2-template-for-visual-studio/

Publishing the app-

Remove the publish directory files before start

dotnet restore
dotnet build
dotnet publish

or

After running 'dotnet restore' you'll want to build for each of these like this:

dotnet publish -r win7-x64
dotnet publish -r win10-x64
dotnet publish -r osx.10.10-x64
dotnet publish -r ubuntu.14.04-x64

And then publish release versions after you've tested, etc.

dotnet publish -c release -r win7-x64
dotnet publish -c release -r win10-x64
dotnet publish -c release -r osx.10.10-x64
dotnet publish -c release -r ubuntu.14.04-x64

More can be found -

http://www.hanselman.com/blog/SelfcontainedNETCoreApplications.aspx

Before publish-

Run Migration-

dotnet ef migrations add testMigration
dotnet ef database update

Detail-

https://damienbod.com/2015/08/30/asp-net-5-with-sqlite-and-entity-framework-7/

A basic tutorial-

https://stormpath.com/blog/tutorial-entity-framework-core-in-memory-database-asp-net-core

See the result directory with a platform specific dotnet command able to run the app.

Server Config-

https://www.microsoft.com/net/core#ubuntu https://docs.asp.net/en/latest/publishing/linuxproduction.html

Entity Framework One To Many-

http://www.entityframeworktutorial.net/code-first/configure-one-to-many-relationship-in-code-first.aspx

https://docs.microsoft.com/en-us/ef/core/modeling/relationships#many-to-many

Bootstrap-

https://valor-software.com/ng2-bootstrap

dot.netcore_angular2_app's People

Contributors

abrarjahin avatar

Stargazers

 avatar Raj Ankathi avatar KatAsTrophy avatar

Watchers

James Cloos avatar  avatar

dot.netcore_angular2_app's Issues

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.