OrchardCore | Orchard Core is an open-source modular | Content Management System library
kandi X-RAY | OrchardCore Summary
kandi X-RAY | OrchardCore Summary
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
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 OrchardCore
OrchardCore Key Features
OrchardCore Examples and Code Snippets
Community Discussions
Trending Discussions on OrchardCore
QUESTION
I am trying to create my own theme for Orchard Core based on bootstrap but it fails to load all of the resources, whether it's javascript or styles.
This is my layout.liquid
view
ANSWER
Answered 2022-Mar-29 at 22:06Remove wwwroot
from your url.
Instead of following
QUESTION
I created a docker image of my OrchardCore project. I tried to run it using the following command
...ANSWER
Answered 2022-Jan-16 at 22:38Docker options need to go before the image name. Anything after the image name becomes a command for the image. So you need to do
QUESTION
I'm using Orchard core in asp net core web app project. I have a controller with two simple get and post Apis. As I'm using OrchardCore the Startup.cs file has different config and I dont use services.AddControllers() in configureServices. Every thing is fine untill I'm using HttpGet. But when I want to have an Api with HttpPost postMan says badRequest. So I Added services.AddControllers() in Startup.cs and the post Api was fine in post Man but the orchard project says I have multipe Endpoints. I used services.AddMvc().AddNewtonsoftJson(), and every thing was fine but the admin page didn't load and had error as below:
InvalidOperationException: The view 'Index' was not found. The following locations were searched: /Areas/OrchardCore.AdminDashboard/Views/Dashboard/Index.cshtml /Areas/OrchardCore.AdminDashboard/Views/Shared/Index.cshtml /Views/Shared/Index.cshtml /Pages/Shared/Index.cshtml
I wold appreciate it if you can help me how to call Post Api. here is my code:
...ANSWER
Answered 2021-May-09 at 11:39You are probably missing an IgnoreAntiForgeryToken
attribute on your controller.
AntiForgery
is enabled by default by OrchardCore
For an ApiController
in OrchardCore
I would expect to see the controller decorated as follows.
QUESTION
I'm new to orchard core and I'm trying to create a blog. About a month ago creating comment in orchard was available by just enabling disqus feature but now it is not possible for me. I enabled the feature and added the part to the content and it just create a check box which says: Hide Comments and nothing more happen. can any one help me? thanks
ps: I'm using asp net core 5 and orchardcore.application.cms.targets\1.0.0-rc2-16145\ and disqus.orchardcore\1.0.0-rc2-10019\
...ANSWER
Answered 2021-Apr-29 at 07:48As mentionned in the Readme, you need to edit the settings of the Disqus Part and enter the name of the site that you created on https://disqus.com/.
QUESTION
Basically I'm trying to pblish that OrchardCore Project. https://www.youtube.com/watch?v=b6cn4trJpFk&t=71s It works well on local machine if I run it in visual studio. I could even configure the CMS to suit my needs.
I could publish it to my Github.
When I try to deploy it to azure I m not successful.
I m using App service build service.
The Deployment script ends with the following lines
...ANSWER
Answered 2020-Dec-21 at 03:57Try follow the step which works on my side:
1. Fork the sample project to your GitHub.
2. Create a .net core web app on Azure portal.
3. Navigate to your web app -> click Deploy center -> choose GitHub. 4. Waiting for the deployment. (It tooks 9 minutes on my side) 5. Browse to the endpoint to check if it works.
QUESTION
I have an ASP.NET Core 3.1 based application. I would typically register my db content using something like this
...ANSWER
Answered 2020-Jun-26 at 15:04AddDbContext
comes with an overload for a callback that takes both IServiceProvider
and DbContextOptionsBuilder
.
Here's an example that shows how to use it:
QUESTION
I followed the instructions on http://tdc1tfsapp01:8080/tfs/DefaultCollection/SharpTop/_packaging?_a=package&feed=dayforce&package=OrchardCore.Cms.Web&version=1.0.20098.7+1bcd36b1f8efd5484af49f8ec39c21060a64391e&protocolType=NuGet and it does produce a binary coverage result file and surfaces a link to it on the build.
But, I want to convert it to Cobertura in order to publish on the build itself. It is a rather convoluted process, where one needs to:
- Download the https://www.nuget.org/packages/Microsoft.CodeCoverage/ package and locate CodeCoverage.exe inside.
- Run CodeCoverage.exe to convert the binary coverage result to the respective XML.
- Install the reportgenerator dotnet tool
- Run the reportgenerator tool to convert that XML to Cobertura
- Finally we can publish to the build
My problem is that I do not know where the binary result is placed during the build. So, my question is - can we customize its location?
...ANSWER
Answered 2020-Apr-07 at 23:27Found it. Three things need to be done:
- Turn off automatic publishing the test results from the
DotNetCoreCLI@2 test
command. This prevents it from injecting its own result directory. - Pass your own directory in the
-r
parameter. - Add an explicit task to publish the test results.
Here is how I run the tests:
QUESTION
I'm trying to create a Taxonomy in Orchard Core.
Ive read these docs, but David Hayden's blog post is missing exactly where you create a new Taxonomy. There must be a button do to this somewhere? (OR how to create a Taxonomy Content Type.)
https://www.davidhayden.me/blog/taxonomies-in-orchard-core-cms https://docs.orchardcore.net/en/dev/docs/reference/modules/Taxonomies/
The Taxonomy 'feature' is enabled and I've created a 'Content Type' for the items, but no idea how to create a Taxonomy to assign these to.
I'm using the version on the DEV channel. (Currently rc1-12174)
...ANSWER
Answered 2020-Mar-03 at 06:46Taxonomies are content items. Go under Content / Content Items, then expand the "New" drop-down on the top-right and select "Taxonomy".
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install OrchardCore
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