Page 1 of 2

.NET Core+Angular 5 starting project questions

Posted: Sat Mar 31, 2018 12:13 pm
by mrapi
Hi
I.m currently using Stimulsoft 2010 on a .NET Winform app and still works fine.
I want to develop an app using Asp.NET Core + Angular 5+latest version of Stimulsoft.
I've browser samples found for NET Core and Angular and I've end up with couple questions:

1.What is the best way to use Stimulsoft in that kind of app from JS or .NET?
2.I already have a .mrt file build with Stimulsoft.NET 2010,can I convert it to the latest version and use it there?
3.In .NET Core samples I found that reports are loaded from .mrt./.mdc files

Code: Select all

   report.Load(StiNetCoreHelper.MapPath(this, "Reports/TwoSimpleLists.mrt"));
   report.LoadDocument(StiNetCoreHelper.MapPath(this, "Reports/SimpleList.mdc"));
it is possible to load it from a protected format,like GetReportFromAssembly in winforms?

Code: Select all

  Rp = StiReport.GetReportFromAssembly("myreport.dll")   
4.I've loaded in 2018 version a .mrt,but not found how to export it as .dll file,as I could do in 2010 (Save As offers me only 3 formats: .mrt,.mrz,.mrx)
5.It is possible to load report data from LINQ query result?

thanks

Re: .NET Core+Angular 5 starting project questions

Posted: Tue Apr 03, 2018 1:19 pm
by Lech Kulikowski
Hello,

> 1.What is the best way to use Stimulsoft in that kind of app from JS or .NET?

The NET product has more functionalities.

> 2.I already have a .mrt file build with Stimulsoft.NET 2010,can I convert it to the latest version and use it there?

Could you explain your issue in more details? Old reports should work without any converting.

> it is possible to load it from a protected format,like GetReportFromAssembly in winforms?

In the NET Core version this method is not available.

> 4.I've loaded in 2018 version a .mrt,but not found how to export it as .dll file,as I could do in 2010 (Save As offers me only 3 formats: .mrt,.mrz,.mrx)

That issue is fixed. In new release will be available all saving options.

> 5.It is possible to load report data from LINQ query result?

Yes. You can provide LINQ data to the report as business objects with RegBusinessObject() method.

Thank you.

Re: .NET Core+Angular 5 starting project questions

Posted: Tue Apr 03, 2018 2:54 pm
by mrapi
Hi.thanks for your answer

> 2.I already have a .mrt file build with Stimulsoft.NET 2010,can I convert it to the latest version and use it there?
Could you explain your issue in more details? Old reports should work without any converting.

Indeed it can be opened

> it is possible to load it from a protected format,like GetReportFromAssembly in winforms?
In the NET Core version this method is not available.

What format should I use?

> 4.I've loaded in 2018 version a .mrt,but not found how to export it as .dll file,as I could do in 2010 (Save As offers me only 3 formats: .mrt,.mrz,.mrx)
That issue is fixed. In new release will be available all saving options.
Also Publish button it is not present in Office 2003 theme (I use if because header menu is very compact)

thanks

Re: .NET Core+Angular 5 starting project questions

Posted: Thu Apr 05, 2018 7:00 pm
by Lech Kulikowski
Hello,

> What format should I use?

Report templates - mrt, mdz, mrx or load from string, byte etc objects.

> Also Publish button it is not present in Office 2003 theme (I use if because header menu is very compact)

Unfortunately, we do not have plans to add it for not ribbon themes.

Thank you.

Re: .NET Core+Angular 5 starting project questions

Posted: Tue Apr 10, 2018 7:43 pm
by mrapi
Hi. I've upgraded to 2018.2.1 version (09.04.2018) but still missing Save as .dll option
thanks

Re: .NET Core+Angular 5 starting project questions

Posted: Tue Apr 10, 2018 8:21 pm
by HighAley
Hello.

Sorry we didn't add this feature in this build.
We will add it in our next build.
Do you need any other save option?

Thank you.

Ticket reference: #6053

Re: .NET Core+Angular 5 starting project questions

Posted: Wed Apr 11, 2018 8:14 am
by mrapi
k.no problem
for winforms only dll option
thanks

Re: .NET Core+Angular 5 starting project questions

Posted: Thu Apr 12, 2018 5:32 am
by Lech Kulikowski
Hello

Ok.
Please let us know if you need any additional help.

Thank you.

Re: .NET Core+Angular 5 starting project questions

Posted: Tue Apr 24, 2018 10:25 pm
by HighAley
Hello.

We have returned the possibility to save a report as an assembly.

Thank you.

Re: .NET Core+Angular 5 starting project questions

Posted: Thu Apr 26, 2018 9:33 am
by mrapi
Thanks.
Is there any sample of using Stimulsoft with Angular 5 + Asp Core ?