Skip to content

This is a Asp.Net Web App that features Order function.

Notifications You must be signed in to change notification settings

RamaSubramanianT/SalesOrder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sales Order Web Application

This is a Asp.Net Web App that features Order function.

C# ASP.NET Dapper Static Badge
Functions
  • Select
  • Update
  • Delete
  • Create

So this is a web application developed using Asp.Net, Dapper. Using Dapper we managed to communicate with Sql Server and execute sql commands. While we used Model-View-Controller way to develop a web application, where each controller do a different action, like insert controller contains action method that help us insert data from web app to sql.

These are some features we incorporated in this application
Features
  • Login and logout: CookieAuthentication
  • Cache: OutputCache and ResponseCache
  • View Validation Attributes like: Required, string length, range()
  • Route Attribute
  • Bootstrap for CSS
  • Mobile Responsive
  • Logging: Using Serilog

Working

Login Page

image


Index Page

This page shows all the items present in Orders Table

image


Update Page

image


Delete Page

image


Insert Page

image


Attribute Validation

image image

All the fields are validated, no empty value can be passed in any of the input field. Minimum and maximum length are set in product id field, in orderid value greater than 100 is invalid. Password is set to be 8 alphanumeric long and many more validation are done. Error messages will be displayed below the input field if any condition is violated. If a value is not present in Sql database then "No Record Found" is shown.


Log

image

Using Serilog, every Event, Error and Exception is recorded in console and saved in log file.

Working Process

We use Asp.Net MVC Web App to develop this application, here controller contains action methods which is called when client(web browser) sends a request to server, in response the server will send the contents, this content are mainly webpages which is present in Views and process the logic in the action method.

©️ SalesOrder 2024

About

This is a Asp.Net Web App that features Order function.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published