ETT Deployment

icon picker
Secure Site

Sunil Prabhu K
Last edited 479 days ago by Kasthuri Ramachandran HariNarayanan
ExpressTruckTax Application Component

All Components of ETT:

Untitled.png

ExpressTruckTax Secure main application.

Untitled.png
Code Arch:

Solution Project view

Untitled.png

Core Project - Localization

We use localization for different languages for user preference. Ex: We use English and Spanish language in our application. All UI text is coming from these resource files to User viewing pages.
Untitled.png
Core Project - Service
Service layer is used as Business layer. It will have all business logic and rules for ExpressTruckTax. All Taxyear based logics is in this service layer.

Untitled.png

Core Project - Resource
Resource Layer performs operations like insert, update and delete to connect with the database. Here we use Entity Framework and dapper as ORMs to connect to DBs.
Untitled.png

Add Reference in application

Add core library projects like Localization, Service and Resource reference to application. This is only for first time when creating a project. These core projects are mandatory reference libraries for ETT Secure application. Without these, we cannot move build for ETT secure.

Untitled.png


How build is updated for first time in IIS:

Step 1: Add New Web site

Untitled.png
Step 2: Name the web site and Mapping the physical path
Untitled.png

Step 3: Complete adding the new site

Untitled.png
Site will be shown like this, after we change the port using Binding.
Untitled.png
Step 4: Configure site with HTTP
Untitled.png
Step 6: Add another Binding for HTTPS
Untitled.png
Binding HTTPS using SSL certificate and create


How JENKINS build works
CI/CD ARCHITECTURE:
Untitled.png
Build Procedures :
Step 1 : - In the Dashboard of jenkins site, select ETT
Untitled.png
Step 2 :- Then select ETT-(server name) for which you have to push builds.
For example the sprint server looks like this (ETT- Sprint)
Untitled.png
Step 3 :- If sites/ APIs has to published select ETT- ApiWeb and if any window service has to be published select ETT-WinWork

Untitled.png

Step 4 :- Then select Build with parameters in the left menu
Untitled.png
Step 5 :- Fill the parameter details
i) Select the environment for which build has to be updated.
Untitled.png
ii) Enter the GIT Url of the project here in the Trigger_Repo
Untitled.png
iii) Fill the branch details in Trigger_Branch (branch of code from which build has to be updated)
Untitled.png
iv) Enter the name of the solution
Untitled.png
v) Select the project name from the drop down. (Since its for Bestpass by default ExpressTruckTax only will be there in the list)
Untitled.png
vi) Select the program type , since ETT and all application are developed in .netFramework , we have to select .netFrameWork
Untitled.png
vii) Then select the mode as release , which is mandatory for pushing builds.
Untitled.png
viii) Select the application type
For Example :- EE-Website means ExpressTruckTax Application and its corresponding sites /APIs present in ExpressTruckTax solution.
Untitled.png
ix) Select the application (the site) for which the build has to be updated
Untitled.png
x) If the nuget packages are to be restored , Select Yes else No
Untitled.png
xi) If you need the site to be stop before pushing the builds select Yes else select No
(It's better to stop the pool site before pushing the builds)

Untitled.png

Note :- All the fields are mandatory , everything should be entered correctly.

Step 6 : - Once all the details have been filled click Build .
If the builds gets succeeded it looks like this
Untitled.png
To see the console output click the build number(here it is #100), which will take you to the console output. In case of error in builds, the details can be read here.
Untitled.png

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.