https://github.com/alimon808/contoso-university
Contoso University demo using asp net core and related technologies
https://github.com/alimon808/contoso-university
asp-net-core demo-application entity-framework moq sendgrid starter-project tutorial twilio xunit
Last synced: about 1 year ago
JSON representation
Contoso University demo using asp net core and related technologies
- Host: GitHub
- URL: https://github.com/alimon808/contoso-university
- Owner: alimon808
- License: mit
- Created: 2017-07-19T17:23:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T22:51:21.000Z (over 3 years ago)
- Last Synced: 2025-03-28T15:02:59.202Z (about 1 year ago)
- Topics: asp-net-core, demo-application, entity-framework, moq, sendgrid, starter-project, tutorial, twilio, xunit
- Language: C#
- Homepage:
- Size: 6.17 MB
- Stars: 44
- Watchers: 5
- Forks: 43
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Contoso University [](https://travis-ci.org/alimon808/contoso-university)
Contoso University is a place for learning AspNetCore and related technologies. This demo application is an amalgamation of smaller demo applications found in tutorials at [AspNetCore docs](https://docs.microsoft.com/en-us/aspnet/core/). The tutorials are great at demonstrating isolated concepts, but issues surfaces when applying these concepts/techniques in a larger context. The purpose of this demo application is to apply concepts/techniques learned from those tutorial into a single domain (i.e. university).
### ContosoUniversity.Web
- Traditional Web App using MVC + Razor Pages
- [Demo](http://contoso-university-web.adrianlimon.com)
### ContosoUniversity.Api
- Traditional Rest Api
- [Demo](http://contoso-university-api.adrianlimon.com/)
- Generate JWT Token at http://contoso-university-web.adrianlimon.com/api/token to access secure api content. Requires registering via Web App.
### Testing
- Unit Testing using [Moq](https://github.com/Moq/moq4/wiki/Quickstart) and [xUnit](https://xunit.github.io/docs/getting-started-dotnet-core)
- Integration Testing using TestHost and InMemoryDatabase
- UI Testing using Selenium
### Security
- using Identity 2.0
- Confirm Email using [SendGrid](sendgrid.com)
- Confirm Phone using [Twilio](https://www.twilio.com/sms/api)
- Two-Factor Authentication - [see tutorial](https://docs.microsoft.com/en-us/aspnet/core/security/authentication/2fa)
- OAuth 2 - Enable Google & Facebook logins
- JWT (Json Web Token) - use to access secure API
### Technologies
- [ASP.NET Core 2.0](https://blogs.msdn.microsoft.com/webdev/2017/08/14/announcing-asp-net-core-2-0/)
- Asp.Net Core Mvc 2.0 / Razor 2.0
- Entity Framework Core 2.0 / Identity 2.0
- Moq
- xUnit
- Twilio
- SendGrid
### Design Patterns
- [Repository](https://social.technet.microsoft.com/wiki/contents/articles/36287.repository-pattern-in-asp-net-core.aspx)
- [Unit Of Work](https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/advanced)