Page 1 of 1

Connect to databases MS SQL Database from ASP Core

Posted: Wed Mar 14, 2018 1:38 pm
by Ikon
Hi!

We are trying to get familiar with your product, but I don't see how I can connect to MS SQL within ASP Core, only sample available for .net 4.
https://github.com/stimulsoft/Samples-J ... 0databases

How to properly create the handler for asp core, please, attach examples.

Re: Connect to databases MS SQL Database from ASP Core

Posted: Thu Mar 15, 2018 6:47 am
by Edward
Hi Ikon,

Please check the latest version here:
https://www.nuget.org/packages/Stimulso ... b.NetCore/

The example projects you can find here:
https://github.com/stimulsoft/Samples-N ... MVC-CSharp

The available documentation:
https://www.stimulsoft.com/en/documenta ... t_core.htm


The report engine has been implemented in the closest possible way in the ASP.Net Core version to the Stimulsoft Reports.Net, and there is no special adapter is required in order to connect to SQL Server.
The connection can be done directly from the Report Designer.

Please check the following videos:
https://www.youtube.com/watch?v=cs7TZah21eA
https://www.youtube.com/watch?v=33UhSLFybR4

And if you need to change the connection string at runtime, then it can be done in the following way: viewtopic.php?t=3628

Thank you,
Edward

Re: Connect to databases MS SQL Database from ASP Core

Posted: Thu Mar 15, 2018 9:00 am
by Ikon
Thank for these links. Let me add to the thread one more question to outline the matter in details.
We have web app built on top of Angular and ASP.Core, would be problem to use ASP.Core along with Angular?

Re: Connect to databases MS SQL Database from ASP Core

Posted: Fri Mar 16, 2018 8:26 am
by Alex K.
Hello,

No, there should be no problems.
You can check provided samples with your requirements.

Thank you.