Skip to content

A Sample AspNetCore Web App for some CRUD operations.

Notifications You must be signed in to change notification settings

MKGAURAB/WebApp

Repository files navigation

WebApp

This is a very basic ASP.NET Core 2.1 Web Application (MVC) project (using .Net Core 2.1, Microsoft.EntityFrameworkCore, NSwag, Serilog). The App has these following functionalities:

  • It maintains a Controller named HomeController, which process CSV/XML file and store transaction data into database.
  • Serilog is used for Defualt Logger in the App and for now the Date wise logs are written in Logs/log-{Date}.txt file. Minimum logging level is set to "Information"
  • It has an another Controller named TransactionController, which is a ApiController can get transactions from database according to following criteria:
    1. Using currency code
    2. Using date range
    3. Using status

Project Setup

To run the App, you have to do following things first:

  • Execute the sql script named as CreateTransactionDb.sql in the Solution.
  • Change the DbConnection string from appsettings.json as per your DB server configuration.

Accessing the UI and the WebApi's

About

A Sample AspNetCore Web App for some CRUD operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published