You are not logged in.
Pages: 1
Hi I am building a cloud application using delphi xe10 tokeyo to build restful web services as my back end. I am expecting high access to the application. I went through your platform since some time ago and I read your documentation To be honest it is more than great... But I have 3 concerns
First my product shall work on both linux and/or windows
What about performance and stability using your platform since you depend on mORMot web server and not IIS/apache, and how I can do stress test
The learning curve is high and consume too much time to utilize your platform in the best way, do you provide support service during our project and coaching using your platform, and if yes what is the charges
Regards
Hi,
Thank you very much for your support.
Please do you have a support plans I can purchase.
Actually I am doing a project to create REST web services, and I am new to web services... all my experience was DCOM and normal application, and I will need support creating my web services as following
1. activating\enabling the logs using HTTP API
2. what is the best structure to use and what component to use to make the service robust
3. what if the service stop responding, what an alternatives
4. can I run multiple windows services (rest web service) all share teh same port, so user can sue http://www.mydomain.com/service1/auth for first window service and http://www.mydomain.com/service2/getemployee for second window services
and some other points
Regards
Sorry, again, how to create a linux rest server using mORMot
Hi,
Dose this mean I can sue the same port like (80) for both, as well in IIS there is full logging for all actions and request management, dose mORMot support those 2.... is there a new update that mORMot will run through IIS
Hi,
can use your framework to make ISAPI
Hi,
Sorry, I deleted the code.
Please I still have no answer of what I asked you, I tried to get information from your documentation and sample but it is not clear
Hi,
Please can you tell me bellow sample code is good for the web service
as well please I need to know how to make this as ISAPI to run under IIS, since our company requirements to use IIS....
and when it is under IIS, how to call the URI...
now I am using http://mycomany/api/helloworld and the parameters within body.
again thank you very much for your support
Hi,
Sorry for disturbing you again
So you advise me to use windows service instead of the IIS....
as well is the sample I posted above is a good for web service which will handle many connections, or you advise better approach...
Please if there is a small sample just to start, as well showing how to pass parameters and results between server and client, knowing that client and server might send too much data
Hi,
Thank you very much....
Which is better to make the web service to run as ISAPI or as a windows service, please advise knowing there will be too many connections.
for the interface-based service and method-based service, can you please provide a sample I can start with.
Actually I am new to web service.
Hi,
I downloaded today mORMot Framework, and I run a small rest server sample as following
program Synopse_mORMot_Console;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils,
SynCommons,
SynDBOracle,
mORMot,
mORMotHttpServer;
type
TServiceServer = class(TSQLRestServerFullMemory)
published
function HelloWorld(Ctxt: TSQLRestServerURIContext):Integer;
end;
{ TServiceServer }
function TServiceServer.HelloWorld(Ctxt: TSQLRestServerURIContext): Integer;
begin
Ctxt.Results(['kifah', 'najem', 10, date]);
result := 200; // success
end;
var
Model: TSQLModel;
Service: TServiceServer;
Server: TSQLHttpServer;
begin
try
Model := TSQLModel.Create([], 'service');
Service := TServiceServer.Create(Model);
Service.NoAJAXJSON := false;
Server := TSQLHttpServer.Create('8080',[Service], '+', useHttpApiRegisteringURI);
Server.AccessControlAllowOrigin := '*'; // allow cross-site AJAX queries
writeln('Server is running.'#10);
write('Press [Enter] to close the server.');
readln;
Server.Free;
Service.Free;
Model.Free;
except
on E: Exception do
Writeln(E.ClassName, ': ', E.Message);
end;
end.
I want to create a REST web service,
1. which will be use by other developers
2. iOS, Android, ASPX as well as delphi application
3. there will be thousands of users using it at the same time
4. the database is oracle and\or ms sql,
5. some result from the web service will be some hundreds of records each record about 12 fields (string, number, datetime)
so I check the sample code you place in the sample folder, but they are not clear to me.
So how to start, I read that you support http.sys which is very fast and stable, but it dose not work as ISAPI.
shall I create a consol appliction which remain runing on the server and put it on server startup, or create a windows service, or ISAPI
Please can you lead me and suggest for the first steps
Pages: 1