#WebApi-AngularJS
Simple Web Api & AngularJS application.
- DemoProject.API - Web Api
- DemoProject.API.Tests - Tests for Web Api methods
- DemoProject.Common - Common functionality
- DemoProject.Model - Database model and context
- DemoProject.Web - UI
- ASP.NET Web API
- Entity Framework (Code First)
- Castle Windsor
DemoProject.API is configured to use Local IIS server. Project URL is set to http://localhost/api
- AngularJS
- Bootstrap
DemoProject.Web is configured to use Local IIS server. Project URL is set to http://localhost/web
ApiUrl configuration is located in DemoProject.Web/scripts/app/config.js
- Change Database connection string (DemoProjectContext) in DemoProject.API/web.config
- Change Storage location (StoragePath) in DemoProject.API/web.config
- Compile the solution
- Ensure that Virtual Directories were created in IIS ("Default Web Site\api" and "Default Web Site\web")
Use Composer tab to create requests to endpoints.
NOTE: To get information about available endpoint visit http://localhost/api/Help
GET files metadata:
curl.exe http://localhost/api/metadata
POST a file (upload a file):
curl.exe -X POST -F [email protected] http://localhost/api/upload
NOTE: To get information about available endpoint visit http://localhost/api/Help
- TypeScript
- MassTransit and at least one native windows service
- Test API methods with improper input data
- Uploads validation
- Progress bars to UI
- Authorization