HTML5 + Activex + Singr + ABP + MongoDB, html5singr
Recently, there was a very popular framework in the. net DDD development field called ASP. NET Boilerplate. Why do I think it looks awesome?
First, I cannot understand it.
Second, there are many people who are interested. I chose a framework like a restaurant.
I have been mainly engaged in client development for a long time. WPF and Xamarin are a little handy. In recent years, WEB has been developing rapidly and I have been rubbing my teeth.
Recently, a production center needs a set of weighing software. I didn't want to use WPF for development, So I simply moved to the Web.
This is the first version of the production center architecture design. Now we have changed the data to MongoDB. We chose MongoDB not because of the use of Doha, but because the order data of the other party uses MongoDB, the data sent must be an object nested object, so we simply adopt the same database design. In this way, everyone can have no cool-thinking and no cool-hearted commit code.
Overview: ActveX + Html can be used in all IE browsers.
Requirements: IE8 +
ActveX: A local program running in a browser. It is used for data communication and calling of Electronic names, bar code printers, and order printers. ActveX can be used for communication between js and c # programs.
Html: Front-End Interface display.
RESTful: frontend interface and backend data interaction.
WebSocket: Signalr framework for real-time push and transmission of data and messages
Technologies used by the server:
Overview: Mainly used for order processing and weighing result Processing
Database: MongoDB
General data: WebApi (http) + OData. JSON and xml can be freely switched. json is used in this software.
Instant Messaging: WebSocket, encapsulated Signalr framework, real-time transmission
Communication with order server: communication with order server through http + json
Permission design:
Permission is a common part of all systems. Previously, I wanted to be lazy and streamline Orchard for development. Later I found that it would not be so nice after I changed to MongoDB. So we chose the ABC.
Programmer, your life is endless coding. I love technology, open source, and. Net.
The MongoDB repository I have added based on the latest ABP framework is still the same as in the past. All dependent libraries have been updated to the latest version.
Modify the database connection configuration in Web. Config.
<ConnectionStrings> <add name = "MongoDB" connectionString = "mongodb: // localhost"/> <add name = "MDBName" connectionString = "YJX"/> </connectionStrings>Web. config
: Http://yjx.in/abp#Download