Introduction
Dalyan is a single page application project template using AngularJS, ASP.NET & Web API technologies. It is the base of a web application project. It has CRUD operation example with AngularJS. Additionally, WebAPI controllers and CRUD operations are created by T4 templates. You can download it from github source codes. This post describes step by step how to run this project.
https://github.com/aydnahmet/Dalyan/
What Are We Going to Build
Framework – Tools – Libraries
- Single Page Application
- AngularJS
- ASP.NET MVC 5
- ASP.NET Web API 2
- Entity Framework 6
- Mediator Design Pattern
- Owin Token Based Authentication
- Bootstrap 3
- Simple Injector Dependency Injection (DI)
- 3rd part libraries
- T4 Templates
- Microsoft Sql Server Express
Project Architecture
Configure Application
Open the Dalyan solution (Dalyan.sln) which is located in root directory and build the solution.
Publish Database Project
Database project has base tables and some data to test project.
Open database project and click publish button.
Set your database connection string and create your database.
Set Connection Strings
Change Db project and Web API config files.
Dalyan.WebApi\Web.Config and Dalyan.Db\App.Config
.\SQLEXPRESS;
initial catalog=Dalyan.Github;integrated security=True;
MultipleActiveResultSets=True;App=EntityFramework""
providerName="System.Data.EntityClient" />
Ready to Run
It is ready to run. You can open the project in this link.
Also web API link:
Default authentication:
Points of Interest
You can develop your project on Dalyan Web Application Template.