/angular-vs

AngularJS + ASP.NET Web Api + TypeScript + Bootstrap 3 - Single Page Application (SPA) Starter Kit for Visual Studio

Primary LanguageCSS

AngularJS + ASP.NET Web Api + TypeScript + Bootstrap 3

This project is an application skeleton for a simple AngularJS app. You can use it to bootstrap you AngularJS web application projects in Visual Studio environment. It is based upon the original from Kriasoft.

This seed contains AngularJS libraries, test libraries and a bunch of scripts all preconfigured for instant web development gratification, as well as Twitter Bootstrap 3. Just clone the repo (or download the zip/tarball), open it in Visual Studio 2013 and you are ready to develop and test your web application.

This seed doesn't do much, just shows how to write two controllers and views together. You can check it out by running App project in Visual Studio.

AngularJS + Bootstrap + Web Api Single Page App (SPA) Starter Kit

Technologies

Prerequisites

Hint: make sure that you have the latest version and updates for Visual Studio and required extensions installed

How to Get Started

Clone the angular-vs repository and start hacking.

When you open this porject in Visual Studio for the first time, right-click on the solution in solution explorer, then in the context menu select Manage NuGet Packages and in the opened dialog click Restore Packages. This way all the referenced libraries are going to be downloaded into the project's folder from nuget.org

Q & A

  • Why this project doesn't use ASP.NET MVC?

    If you're building a single page application (SPA), you're already using an MVC framework, no need to use both. You still can use routing and web pages (.cshtml) with Razor syntax for your views.

  • Why it doesn't use ServiceStack?

    There is no tight dependency on ASP.NET Web Api, you can easily replace it with ServiceStack if you want to, though keep in mind that with Web Api you have a better degree of configurability and control over your RESTful services.

Contact

Please check out AngularJS forums or drop me an email at james@darb.io