Asp.Net Core 1.0 and SSRS - reporting-services

We are working on Asp.Net Core 1.0 application, and we would like to display SSRS reports from the application but unfortunately SSRS is not supported in Asp.Net Core 1.0, may any one help with this dilemma?

You can add an object to the html page which holds the SSRS report viewer, you then hard code the path of the report in the "data":
<object
data="http://ServerName/ReportServer/Pages/ReportViewer.aspx?%2fFolderName%2fReportName&rs:Command=Render"
width="100%"
height="800px">
</object>

Related

VS2019 WinForm app with webbrowser control

I have a VS2019 WinForm app with a form that contains a webbrowser control. The URL for the webbrowser control points to a form on my asp.net web site, HelpForm.aspx. The URL for HelpForm.aspx has args that the aspx page can use in the code file to make a database call with the args supplied to fetch text/html from a SQL Server database then apply that text/html as text to a label on the aspx page. That aspx page is then returned to my webbrowser control on my winForm. That all works fine. This allows me to use the same forms to retrieve different help data from the database.
As part of the text/html stored in the database some of the records contain code to embed a YouTube video. Here is an example of what is in the database:
'... The same is true if you use the mouse wheel while a combo box has the focus.
<object width="560" height="315"><param name="movie" value="https://www.youtube.com/embed/fpXX8mSuDV4"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/embed/fpXX8mSuDV4" width="560" height="315"></embed></object>
Note: There is a ....'
On some machines this works and the video appears inline with the text but on others I get a black box or a white box with a tiny icon in the upper left corner.
This seems to have something to do with IE/Edge but I cannot find anything useful to help fix this.
Any ideas ?? Thanks
The WebBrowser control is stuck in IE7 mode by default, unless you edit the registry on every computer where your application runs.
But even if you can edit the registry, you'll still be using Internet Explorer. And YouTube dropped all support for Internet Explorer back in March 2020.
Unfortunately, you're going to need to update your application to use a more modern browser control. For example, either CefSharp or WebView2 should work.

how to embed ssrs fetchxml dynamics 365 report in Web Page?

We have a requirement where we have to embed our Dynamics 365 fetch XML SSRS report in the web portal? please suggest how can we achieve this scenario?
You can add an iFram and put the link of the report in its source
<iframe width="430" height="350" frameborder="0" scrolling="auto" src="http://ReportManagerURL/reports/?rs:Embed=true"></iframe>

HTML rendering on angular 2

I have angular project running on one server, I have another html file on another server that I want to render on this angular project. My question is, how can display that html file on my current angular 2 project without bringing that file to angular project server? Please help...Let me know if question does not make sense.
Using an iFrame would be one way to do it:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
Just make an Angular page that only has an iframe in the content area, it which points to the HTML file on your other server.
<iframe src="https://mdn-samples.mozilla.org/snippets/html/iframe-simple-contents.html" width="400" height="300">
<p>Your browser does not support iframes.</p>
</iframe>

Migrating Silverlight application to HTML 5

Currently we have application in Silverlight which contains a dashboard. The dashboard was developed in Silverlight.
Now we want to migrate the Silverlight dashboard app to HTML 5.0 so that the app can run on iPhone, iPad & android phones.
How we can migrate Silverlight application to HTML 5?
Also, do we need to use any third party custom control for dashboards in HTML 5.0?
You need to convert you graphics from XAML to SVG. If you have the designs for this project, then you might want to take a look at Adobe Illustrator CS5 HTML5 Pack, which lets you "Save As SVG". You should keep everything vector based so it scales to iPhone, iPad and Android.
Then you need to transfer your UI behaviour to javascript. I suggest using KnockoutJS by Steve Sanderson. I would combine this with jQuery for ease of use.
As #Polynomial mentioned in his comment, there is no "convert to HTML" package per se, but with a little know-how you will be able to migrate.
Take a look at this project http://www.cshtml5.com/ . It might help in some simple cases.
This may not solve your problems at this moment, but there is a project under development to rebuild Silverlight without using a plugin. The project has been under development for almost a year and the website just recently launched # http://fayde.wsick.com/.
DISCLOSURE: I am affiliated with this project.

ASP.NET MVC Play Audio Files

we have a requirement to play a audio file once the user logs on to the Portal. If they click on Audio file we need to set the status "listened" to true. The portal is built using ASP.NET MVC 3.0.
This is to cater the requirement for disabled users or people who can't read but can listen.
if anyone has already done this before, could you pleaes guide me through how this can be achieved (architecture) please?
Thanks.
There is nothing MVC related that works with audio files. You will need to embed some kind of player into your HTML to play the audio files. Perhaps something silverlight or flash based.