Friday, March 10, 2017

Web Application Development - At Server Side

Data from client needs to be transferred to server. Server would manipulate data after querying with DB if required and returns the requested value to client using JSON object format.

From Visual Studio IDE, the ASP.net MVC project has to be built with front end project, server project and DB project if required in one solution. The solution has to be published to server side using ISS at server. Then, server gets all required .DLL for business logic and data access along with HTML views/pages.

When a particular URL is entered by user then using domain name, DNS does name resolution and identify the IP and port number of server and connect to fetch views and data.

C# .NET is commonly used programming language at server side.

Session
When ever we need to store persistent data across multiple pages, we can use session at server side to store the same. When network is gone, we couldn't keep this info at client side.

Quick Snap at MVC
Every URL/path business classes act as controller as per MVC pattern. The controller controls DB data rendering to Views and views data flow to DB. The controller could have multiple views which has to be returned to client at request. The manipulated data and/or user input data get stored in data base/source via controller.  

No comments: