Creating 'ReverseProxy' for Crystal Reports web API in .Net Core 6.0 - c#

We have Crystal Reports on a old Web API, we are moving to .Net Core 6 wherever we can, i understand that Crystal Reports is not compatible with .Net Core and no immediate possibility of Crystal Reports being updated to do so.
I understand this, however in my research I found some users were able to create a ReverseProxy in a Seperate project that holds the Crystal Reports on a .Net 4.8 framework and the WebAPI being on .Net core 6. I however have not found any examples of doing so and how to accomplish this, and I personally have never created a proxy so not sure how to go about this and getting this to work for us(maybe). Does anyone have any examples of setting up a reverse proxy for crystal reports? or something that could help point me in the right direction to creating my own?

Please refer to the below blog, it will inspire you.
Crystal Report to PDF Viewing with Angular and Asp.Net WebAPI
If you want use reverse proxy, please setup IIS with URL Rewrite as a reverse proxy for real world apps.

Related

Is It possible if i add crystal report in my .Net DLL and this DLL use in my .net Core Project for reporting purpose

I have .Net DLL it's containing Crystal report functionality it's working fine in my all .net project with some modifications. Now, I want to use the same DLL in my .Net Core Project for reporting purpose
I am not sure but it should work. You can add reference .Net framework DLL into .Net Core project. So try doing some POC on generating reports.
Try to generate static report which will does not have any database connectivity or dynamic datasource.
Try to generate simple report with database connectivity with ODBC. I am sure ODBC should work on .Net Core as well.
~Nilesh

Is it possible to add Crystal Reports into .NET Core app targetting 4.6

I am currently trying to develop a small web application for a business. I started development using .NET Core 1.1 version. And when I tried to study how to add Crystal Reports into the project, it is said that they are not supporting it yet.
Is it possible to add Crystal Reports if I change my target framework to 4.6 in the .NET Core app? Or do I have to start a new web application targeting .NET Framework project 4.6.2 from scratch again?
This should absolutely work. When targeting the full framework like 4.6 with Asp.Net Core you have access to any dlls that are based on 4.6 that you create project references to.
If the makers of Crystal Reports said they are not supporting it yet, perhaps they mean they are not supporting it via direct reference from a project json file but even that seems suspect. But now with VS 2017 the project json is no longer used and .Net Core projects use a regular cs proj file fairly similar to what non .Net Core projects have always uses. So again, use VS2017 you should absolutely be able to reference Crystal Reports Dlls directly and you should be able to reference a full framework class library that references a Crystal Reports DLL.
Another possibility is that maybe their designer support tooling needs updated in some way for .Net Core Projects. But even if that's the case, running an existing report should work.

Is it possible to deploy a .NET 4 MVC3 Asp.Net to Azure Websites now?

I am using MVC3/.net4/c#/razor/EF4.1/SQL Server 2008sp2/Membership services.
I am trying to deploy this to an Azure Website.
It appears I can only deploy a .net 3.5 or .net 4.5 web application which is a slight pain for me, as I have 3rd party dlls which are written in 4.0
Seems quite strange that .net 4.0 is missing from websites.
Reconfiguring my site to 4.5 is not trivial since it uses these 3rd party dlls.
Any thoughts on this please.
Thank you in advance.
P.s Also it appears that deployment of ASP.Net Membership Services is probelematic.
I have never heard of such a problem with azure websites. i have myself deployed several sites that both contained dll's build with 2.0, 3.5, 4.0 without any problems.
I think your problem is caused by something else and if you cant get it to work then post the build error :)

How to use SubSonic 3.0.4 with ASP.NET Web Forms Website?

How to use SubSonic 3.0.4 with ASP.NET Web Forms Website?
I am using Visual Web Developer Express Edition 2008 and i want to generate a Data Access Layer using SubSonic 3.0.4 for ASP.NET Website. Is that possible??
If not then , will it be wise to use SubSonic 2 ? What are the downsides??
Subsonic 3 requires the t4 templates which are only supported in the full version of VS - not web developer.
Yes, you can use either version with web forms. I've been having problems with medium trust on some shared server providers and SS3, I'm looking into that at the moment.
The actual official SubSonic site is at : subsonic.wekeroad.com.
Subsonicproject.com is a secondary site no longer maintained and largely broken.
I cant quite remember whether subsonic works as an extension - if so the you'll need the pro version of visual studio. However you will be able to use Microsoft's ORM Entity Framework out of the box with Web Developer - check out the code first option its really quite pleasant to work with and can be easier to learn than some of the more mature ORM's like NHibernate and LLBLGen.
Entity Framework resources http://msdn.microsoft.com/en-us/data/ee712907
As an aside I would recommend upgrading to Visual Studio 2012 - it has loads more useful features than 2008 and you can still use it to target framework versions down to 2.0!

Migrating typed data sets from .net 2.0 to 3.5

I'm migrating a quite big application from .net 2.0 to 3.5 and the first challenge I'm facing is related to typed data sets.
Seems that the generated code for .net 2.0 is not compatible with above versions but the built-in migration process didn't convert them so now I'm getting a lot of errors and I'm not sure what to do.
Anyone know any practical way to solve this?
Thanks!
Right click on each dataset file in solution explorer and choose "Run custom tool" to regenerate the files.

Categories