Dnn.Platform | formerly DotNetNuke ) is the leading open source web | Content Management System library
kandi X-RAY | Dnn.Platform Summary
kandi X-RAY | Dnn.Platform Summary
DNN ( formerly DotNetNuke ) is the leading open source web content management platform (CMS) in the Microsoft ecosystem. The product is used to build professional looking and easy-to-use commercial websites, social intranets, community portals, or partner extranets. Containing dynamic content of all types, DNN sites are easy to deploy and update. The DNN Platform has been downloaded more than 8 million times and powers more than 750,000 websites globally. A community of more than 1 million members forms a powerful support network. Thousands of free and commercial extensions, apps and skins are available at the DNN Store that make extending a DNN site fast and affordable.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Dnn.Platform
Dnn.Platform Key Features
Dnn.Platform Examples and Code Snippets
Community Discussions
Trending Discussions on Dnn.Platform
QUESTION
I'm playing around with DNN 9 and it's implementation of JWT at the moment.
Their implementation is here - https://github.com/dnnsoftware/Dnn.Platform/tree/development/DNN%20Platform/Dnn.AuthServices.Jwt
I'm wanting to write microservices in Docker containers that all look back to DNN's SQL. However, I need to understand how to verify the JWT that will be sent via the client to make sure it hasn't been tampered. DNN's web api implementations do this automatically. The problem is I don't see how I can verify that the token is valid because there is no 'secret' that i have to add.
I would want to get the JWT from the DNN enpoint and use this in a microservice which isn't running with DNN but will be able to read the data from the DNN database.
Could anyone provide any input?
Thanks :)
...ANSWER
Answered 2018-Sep-10 at 05:46If the services have access to the DNN database then you can use the validation as implemented by the referenced code.
It seems that the tokens are not real JWT tokens, in the sense that they are self-contained, though they are not real reference tokens either. The tokens are persisted in the database, but contain public data as well.
How this is implemented: the token is identified by a sessionId and the secret is a concatenated string, converted to byte array:
QUESTION
A piece of code in the CMS I'm using (DNN) throws the following exception:
"Index was outside the bounds of the array."
With the stacktrace saying:
...ANSWER
Answered 2017-May-11 at 12:56Since you only want to know how Contains can cause an out of bounds exception, here's how.
This is how Contains is implemented:
source taken from http://referencesource.microsoft.com/#mscorlib/system/collections/generic/list.cs,cf7f4095e4de7646
QUESTION
Hi I get the following error while running DotNetNuke 9 on a server on Windows server 2012 r2 with iis
Could not find file D:\Inetpub\vhosts\accuratedatabases.in\*****\DotNetNuke.config
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not find file 'D:\Inetpub\vhosts\accuratedatabases.in\finance2.berozgaribhagao.com\DotNetNuke.config'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
...ANSWER
Answered 2017-Nov-24 at 11:45I solved this by using the DotNetNuke_install package instead. I was previously opening it in Visual Studio 2015 and then trying to run locally. but now i deployed directly to iis and for edits i open as a website in visual studio
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Dnn.Platform
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page