Using Microsoft docs inside an ASP.Net Core website - asp.net-core

Microsoft's modern documentation website is produced largely from Markdown files hosted in on GitHub. Typically the documentation shows a left pane navigation menu and a document navigation section on the right. Here is an example:
https://learn.microsoft.com/en-gb/dotnet/fsharp/what-is-fsharp
Microsoft also produces a set of tools to help documentation authors and associated extensions for VS Code.
Is it possible to use this to host Microsoft documentation inside your own website? If so, are there any examples of doing this in an ASP.Net Core website?

You might want to have a look at this blog post of one of the Microsoft employees working on Docs, describing on how to set up and use DocFX, which Microsoft Docs is based on.
Also, this GitHub issue gives a good summary of the current status. (All issues in the linked repository have been deleted.)
Aside from that, the links you mentioned correspond to this Visual Studio Code extension package, where you might be especially in Docs Preview.
It will help with writing and previewing Docs Markdown flavor syntax.
The repository links back to the packages GitHub page though, the source code for Docs Preview seems to be unavailable and also the license is not permissive at all, only granting Microsoft rights, but not granting you any in return. Even though you could look into the code of the downloaded extension manually, that would not grant you any permission to use any of the acquired code or knowledge in any commercial project.

I think you want to implement the functionality of displaying a text editor in which the user can enter Markdown text and want to show the preview of that markdown.
For this, you can use MarkDig or CommonMark package from Nuget

Related

XACML open source framework or alternative

I'm searching for a well documented XACML3-Framework in the open source world. I tried AuthZForce and AT&T XACML. Both seems to have many features. The problem: to get them running, I have to read the source code or find test-classes. There are no examples or anything else, that helps to understand the functionality of the framework. I thought XACML is the future of authorization but at the bottom there is no real community.
Is there an XACML-alternative for ABAC-implementations or is there no other way and I must use RBAC with programmed constraints?
Regarding AuthzForce Core (Java library), you have a tutorial on the home page of the github project: Getting started; and an example of usage with a PEP in a real-world scenario. If you are missing info on something, feel free to contact us on our support mailing list. I also emphasize the fact that all Java classes have Javadoc and Javadoc artifacts are published on Maven Central with every release. You can download them manually or make sure your IDE is properly set up to automatically download them when you use Maven dependencies in your Java project.
WSO2 IS can help (opensource):
https://docs.wso2.com/display/IS510/XACML+Architecture
http://wso2.com/library/tutorials/2016/02/tutorial-how-to-enable-role-based-access-control-for-wso2-api-manager-using-xacml/
Policy handling can be done via web interface (Carbon).

Is it a bad idea to call phaser.min.js directly from GitHub?

As a jQuery user, I link the remote library from Google using
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
which is very clever because it's already loaded in the brower cache if the reader visited another site that did the same.
As I discover Phaser, I was hoping to see people on the web doing the same with
<script src="https://raw.githubusercontent.com/photonstorm/phaser/master/build/phaser.min.js"></script>
or any library hoster, but apparently no one does.
Is there a reason why Phaser users don't do that?
I would strongly advise against linking to the master release as it will absolutely break your games over time. Most of the 2.0.x updates have been non-API changing, but 2.1 and above will be altering some core aspects of Phaser. You should only ever link to specific versions.
For a similar service to the Google hosted APIs (of which they only host very specific libraries that they've selected) we use CDN.js, which offers the same thing. You can find details in the Phaser README or just go to http://cdnjs.com/ and search for Phaser.
There is as such no issue if you link to a specific version. But you don't want the latest build, as this can potentially break your site by making changes.
I don't know Github's policies on referencing their site like this.

Apache Isis vs JSON Presentation

I am working on building a sample web application for proof of concept - with a link of some sort on an html page consuming a restful web service via a json object and displaying the data on the web page .
Something like the Apache Isis todo maintenance version with presentation of the json representation on a web page.
I have been trying to use the JQueryMobile example of the Apache Isis (http://danhaywood.com/2012/01/20/jquerymobile-on-apache-isis-rest-api/). But, I do not have the original source code (only the war file with some online demo jar files in the lib). I could decompile the online demo jar files, but its not straight forward setting up the project in eclipse for adapting to a real life project. I searched the Isis github repo and could not find the source , no archtype like the simple wicket etc. Please, could someone help, I really need a sample app or references, with source file and or any kind of guideline on how this works end to end.
FYI - We are not considering changing the choice of technology here, Its DDD using Apache Isis. Any help will be appreciated ... Since there are not too many online tutorials or sample app on this project. Thanks.
I think you posted a similar question on my youtube channel. Just to reiterate what I said there, you might want to check out the JQueryMobile viewer that was developed by one of our "google summer of code" students last year, namely https://github.com/bhargavgolla/isisJavaScript/tree/master/isisJavaScriptViewer.
In terms of ongoing help, your best bet is subscribing to the mailing list (blank email to users-subscribe#isis.apache.org, and reply to the confirmation) then send your questions via email to users#isis.apache.org
HTH
Dan

Creating plugin for Microsoft Dynamics CRM 2013

I am very new to Microsoft CRM , (working first time) and have requirement to call one custom webservice whenever new Account is created in Microsoft Dynamic CRM 2013.
Response returned from webservice needs to be stored as csv file in Files section of new account. Can anyone provide basic guideline how we can achieve this?
Here is a good link for getting started with writing a plug-in: http://msdn.microsoft.com/en-us/library/gg328263.aspx (The link points to CRM 2011, but this is compatible with 2013 and is a good place to get started.)
You'll also want to download the SDK. Provided with the SDK are tools for deploying the plugin, examples of plugins and much, much more. http://www.microsoft.com/en-us/download/details.aspx?id=40321
The CSV file will also be stored as an annotation. Here's an example: http://msdn.microsoft.com/en-us/library/gg328429.aspx
Really, I'd start with the SDK and then look to the specific links.

How to deploy an existing PerformancePoint dashboard to a new site?

Apologies if the question is not worded appropriately.
I've created a dashboard using the dashboard designer and succesfully deployed it to our development server. Now I'd like to deploy it to our staging server - is there a way to do that?
I've tried pointing the designer at a different URL without success.
Thanks,
Phil
I ran into same issue and thanks to Umair for reminding me about the import option with the Dashboard Designer. You will open up designer in new location and then use the Import option and point to your ddwx file.
Here is the posting and references from the forum posting - Deploy PPS 2010 dashboard content to new server
I have an additional link in the forum post at the bottom that will send you to the link to the technet documentation as well.
If you only have SSAS reports and SSAS data sources then the PerformancePoint 2010 Content Deployment Tool might be of help.
I have used it to deploy dashboards and reports to another server without issues. It even lets you deploy remotely from dev to other servers if you have the needed permissions. Pretty neat tool, sadly it hasn't been updated recently and still lack a few key features (as the ones I described above).
PPS in SP2013 comes with this built in, but I haven't studied the details yet. Just picked it up from the PPS team in this blogpost
Never figured out a good way to deploy SP lists data connections and SSRS reports though.