TU Tran

Technologies should serve for business purpose.

NAVIGATION - SEARCH

[TinyERP]Deploy to Azure with Powershell

Up to now, We can deploy our webapi project to azure using:


  • Visual Studio: Using azure publishing profile
  • FTP: both uploading manual or automatically (using FTP publishing profile of VS)

In this article, We will continue build and deploy our webapi project using PowerShell. more specified steps were as below:


  1. Build and publish webapi project to local folder.
  2. Upload to azure.

Now, let checkout how to make it.


Note: We will use this article as the part of building CI (Continuous Integration) tool for our ERP (TinuERP) in the future.

[More]

[TinyERP]Deploy to Azure - Using FTP

In previous post, We know how to deploy TinyERP to azure using visual studio.

In this article, We will learn how to deploy using FTP.

We also learn how to deploy to azure manually (using ftp client) or automatically (using published profile). [More]

[TinyERP]Deploy to Azure

In previous article, We understand how to deploy TinyERP into IIS. For now we will figure out how to deploy on azure environment.


There are multiple ways to deploy TinyERP into Azure:


- Using FTP.

- Using Visual Studio

- Using Power-Shell

- Using Continuous Deployment feature provided by Azure.


In this article, We will learn these for deploying TinyERP to azure environment. [More]

[TinyERP]Refactoring the architecture/ pattern (Part 3)

In part 1 and part 2,We know how the order will be created using CQRS pattern.


In real ERP system, there are many other modules need to be updated when new order was created.


For example:


- Inventory module needs to be updated.

- Accounting module also needs to be updated.

- Customer management module needs to be notified in this case.


Let see, How can we implement this in TinyERP [More]

[TinyERP]Token Based Authentication with Owin

In previous post (Basic authentication with OWIN), we know how the authentication can be integrated into TinyERP.

In basic authentication, it was not secure as we need to send username/ password along in header of each request sent to server. Someone can catch and get this credential information.


In this article, we will discuss about another more security authorization. it was called "Token Based Authentication". [More]

[TinyERP]Basic authentication (user name/password) with OWIN

In this article, we will discuss briefly on how to perform the basic authentication(username/password) in TinyERP using Owin.

For now, We will not talk about how security was provided by user/password authentication, it was not the purpose of this article.

With basic authentication, client will send user-name/password in each request to server. This is a good point that can let you understand how to integrate authentication into TinyERP as many questions from readers.
[More]

[TinyERP]Enterprise Architect - Which pattern should I use?

In this article, we will discuss about the number of patterns which can be used for your application.

There are many types of pattern for the simple to complex application as below:

   - Multiple-Tiers

   - Reporting database

   - CQRS

   - CQRS-DDD-ES

   - Microservice

   - Microservice-CQRS-DDD-ES

We will go through one by one briefly [More]

[TinyERP]Scale your repository

For enterprise system, we may have a huge data, storing this in single database server may lead to some performance problems related to IO. Storing a single big database file was not recommended. [More]

[TinyERP]Multiple data-sources

If you want to checkout source-code used in this article. Please check it our from https://github.com/techcoaching/TinyERP (develop branch please)


In context of enterprise application, we may need to store data into various type of repositories due to different purpose:



  • Using relational database (such as: MSSQL, ...) for validation data, frequently modified data, ....

  • Using multiple small databases instead of 1 big database in enterprise system. Such as: database for order module, database for product management module, database for customer management module, ....

  • Using NoSQL (such as: MongoDB, RavenDb, ...) for fast reading.

  • Using Elastic for searching data.


We will go through these as below.

[More]

[TinyERP]Using CQRS (basic)

This article will help us avoiding performance issues in enterprise application.
CQRS stands for Command Query Responsibility Segregation that was described by Grey Young.
For more information about this, You can search from the internet easily, So in this article, we will not spend time for reinventing the wheel. [More]