GithubHelp home page GithubHelp logo

congreelang's Introduction

CongreeLang Client-Server Application

About Project

The solution has two applications.

  • The first one is one Client Console Application: It creates a request to the server with the document text to be analyzed and the tag information to be extracted and shows the analysis results Client

  • The second is an Asp.NET Core Web API Application: It analyzes the submitted XML document and the requested tags. It stores the request and result infos in the database Server

  • Db: Request, response, and analysis informations store on MS Sql Server database Db

UML

UML

  • Document Table: It stores XML file information to be analyzed (XMLDocument data, date, etc.)
  • Tag Table: It stores the information of the elements to be extracted from the document and the contents of the tag (p, how comprehensible individual... e.g.)
  • Analysis Table: It stores document analysis information (StartDate, EndDate, ElapsedMilliseconds e.g.)
  • AnalysisItem Table: It stores the repeating vocabulary and the number of occurrences associated with the Analysis, Document, and Tag

Installation

The project uses .NET 5 Framework and MS SQL Server.

  • If you do not have .NET >= 5.x installed, you can download it here: .NET 5
  • If you do not have an MS SQL Server instance, you can download the Express version from here: MS SQL Express
  • If you do not have Visual Studio 2019 Express, you can download it here: Visual Studio 2019

Running Application

Rebuild Folder

  • Change MS SQL Server connection string setting in appsettings.json file on Server Project Connection String Setting

  • Delete Migration Folder on Server Project Migration Folder

  • Set Server as a starter project Server starter project

  • Open Package Manager Console Window then run below commands

Add-Migration Initial 
Update-Database 

Create Migration

How to Use the App

  • Server Application must start first. Run CongreeLang.sln for starting the Server project Server

  • Open Power shell then run below command for starting Client Application

cd CongreeLang\Client\bin\Debug\net5.0
  • For starting Client App use the below command.
.\Client.exe "1.xml" "p;li" "2.xml" "p" "3.xml" "li" "4.xml" "p;li" "5.xml" "p" "6.xml" "li" "7.xml" "p;li" "8.xml" "p" "9.xml" "li"
  • Multiple requests sending asynchronously. You can see total elapsed milliseconds info. And also you can see elapsed milliseconds info for each request Result1

  • Each XML document analysis result seen beetween Result2

Index - $indexnumber Document processing starting and Index - $indexnumber Document processing ended

congreelang's People

Contributors

mehmetyagci avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.