How can I distribute a license of a web-api project in IIS?
By launching the project in debug mode from the development system, the trend watermark is removed while it remains on the server.
I am using TeeChartWebDemo example with Steema.TeeChart.NET.4.2021.8.23 library.
Thamks
Marta
Web-api project license distribution on IIS
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Web-api project license distribution on IIS
Hello Marta,
once you have the sample on the other thread working in Debug, you can publish it to IIS. The steps are:
1. Add an application to your IIS: 2. Modify the source code of Content.aspx.cs so it looks like this (make sure the 'webServer' variable has the same name as the IIS share): 3. Use Visual Studio to publish the app: 4. The app now runs in IIS without the watermark:
once you have the sample on the other thread working in Debug, you can publish it to IIS. The steps are:
1. Add an application to your IIS: 2. Modify the source code of Content.aspx.cs so it looks like this (make sure the 'webServer' variable has the same name as the IIS share): 3. Use Visual Studio to publish the app: 4. The app now runs in IIS without the watermark:
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Web-api project license distribution on IIS
Thanks so it works.
I have another question regarding this topic.
I have an old web-api application, I followed the example and added the various files for the license. In debug everything works but when I publish it I see the watermark.
I can't figure out what's missing to show the runtime license
Thanks
Marta
I have another question regarding this topic.
I have an old web-api application, I followed the example and added the various files for the license. In debug everything works but when I publish it I see the watermark.
I can't figure out what's missing to show the runtime license
Thanks
Marta
- Attachments
-
- Capture.PNG (27.76 KiB) Viewed 6800 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Web-api project license distribution on IIS
Hello,
Great! Which means it does work if the configuration is right.
As I'm sure you can imagine, it is extremely difficult for me to try and infer what is going on in your project by looking at that image! Is there any way you can try and cut it down to something you can put in a zip file and post on here? We need to be able to reproduce your problem here to be able to help you, I'm afraid.Mrt wrote: ↑Mon May 30, 2022 2:10 pmI have another question regarding this topic.
I have an old web-api application, I followed the example and added the various files for the license. In debug everything works but when I publish it I see the watermark.
I can't figure out what's missing to show the runtime license
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Web-api project license distribution on IIS
You're right, I cut the application to the bone and saw that if I publish the watermark it disappears.
I didn't do this application but the problem at this point is of a different nature. I will investigate
Thank you
I didn't do this application but the problem at this point is of a different nature. I will investigate
Thank you
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Web-api project license distribution on IIS
You're welcome. I'm glad to hear you managed to get that to work, please don't hesitate to contact us if you feel we can be of any further help.
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |