Write a web server for .net
There is a project https://github.com/leon-mbs/pservernet
A server that is accessed via JavaScript from the browser (from the accounting system page)
if you need to print a receipt or print a label on a product, and printing directly from the browser
using the system printer is not suitable in terms of quality
The problem arises if the print server (running where the printer is connected) is accessed from
a browser open on another computer (or tablet via wi-fi) in the network.
If the site from which the print server is accessed is hosted
the CORS issue is compounded by the problem of mixing http and https
Need to.
Check that the server works with CORS requests (JavaScript via AJAX and not the address bar or Postman) from another host in the network]
If there are problems – fix them.
Complete it so that the server can operate in https mode.
Support for both http (main) and https is needed with reconfiguration in the config.
Generate an example of an SSL certificate (for IP 127.0.0.1) indicating where to insert it.
Write instructions for creating a self-signed certificate in Windows or a link to the instructions
Users of the program are usually NOT IT specialists, they cannot rebuild the program from the sources so it is necessary that
it can be switched to https in appsettings.json (or create a separate config like appsettings_ssl.json and let them rename the file)
With the printer nothing needs to be done - there is a command /check to check the response of the print server
-
3555 51 2 Hello!
My name is Oleksandr, I am a .NET developer with three years of commercial experience, mostly working on the backend. I have experience in developing server applications, configuring HTTP/HTTPS, and working with CORS requests.
Previously, I have tackled tasks related to ensuring secure interaction between the client and server, as well as configuring work with self-signed certificates. I am ready to check your server's work with CORS requests, fix identified issues, add HTTPS support, and create an example SSL certificate. I can also write a detailed instruction for users who do not have deep technical knowledge.
I would be happy to discuss your project and help implement it.
-
762 12 0 Good day. I have experience working with C# webapi. I have already worked with CORS. Message me privately, we will discuss the details.
-
о цю строчку треба по ідеї писати з початку конвеєра https://github.com/leon-mbs/pservernet/blob/main/src/Program.cs#L116C17-L116C24
-
Hу команди для принтера ще менш більш вроді написані...., ну сервер жостко
-
Current freelance projects in the category C#
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 22 hours 44 minutes back ∙ 2 proposals |
Creation of a plugin for integration with the POS system Syrve, C#Develop a plugin for the Syrve POS system (on-premise), which is installed on the establishment's server. The plugin must: (1) transmit data to our server in real-time — orders, table statuses, payments, receipts; (2) receive commands from Reservble — booking confirmations,… C#, Web Programming ∙ 3 days 19 hours back ∙ 11 proposals |
S1GG1LA person is needed who can take the initial code of the Minecraft launcher for the project, change the design at their discretion, but there are small style requirements for it to be in purple tones. Regarding payment, please suggest a price for the work. However, the budget is… C#, Gaming Apps ∙ 6 days 10 hours back ∙ 7 proposals |
Improvement in the existing version of 1C retail block for the distribution center (DC)In general, I will explain what kind of database we have - There is a main server where there is a retail database (where all receipts are recorded) - a UTP database - where all sales are transferred - it calculates the markup and stock balances - small databases of retail… C & C++, C# ∙ 11 days 11 hours back ∙ 6 proposals |