by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 29 2019 22:35
    HeyJoel closed #294
  • Jan 29 2019 22:35
    HeyJoel commented #294
  • Jan 24 2019 12:13
    HeyJoel closed #297
  • Jan 24 2019 12:13
    HeyJoel commented #297
  • Jan 24 2019 12:11
    HeyJoel commented #296
  • Jan 24 2019 10:58
    HeyJoel milestoned #296
  • Jan 24 2019 10:58
    HeyJoel labeled #296
  • Jan 23 2019 11:24
    ernestoSerra commented #296
  • Jan 22 2019 21:44
    HeyJoel commented #150
  • Jan 22 2019 16:46
    j7rowan commented #150
  • Jan 21 2019 12:28
    HeyJoel commented #297
  • Jan 21 2019 12:28
    HeyJoel commented #297
  • Jan 21 2019 12:08
    Enlatic commented #297
  • Jan 21 2019 12:03
    HeyJoel commented #294
  • Jan 21 2019 11:55
    HeyJoel commented #297
  • Jan 21 2019 11:55
    Enlatic commented #297
  • Jan 21 2019 11:49
    HeyJoel commented #297
  • Jan 21 2019 11:47
    Enlatic edited #297
  • Jan 21 2019 11:46
    Enlatic edited #297
  • Jan 21 2019 11:45
    HeyJoel commented #296
Alexandre Equoy
@aequoy
Thank you in advance
Joel Mitchell
@HeyJoel
Have you installed the Azure Plugin? The setting you need is Cofoundry:Plugins:Azure:BlobStorageConnectionString
Alexandre Equoy
@aequoy
Yes i have
But how to specify tghe container in the BlobStorageConnectionString
Joel Mitchell
@HeyJoel
The containers are generated automatically by Cofoundry for the various sets of assets it needs. You just need to add the storage connection string, which you can find in the azure portal. It will look something like this: DefaultEndpointsProtocol=https;AccountName=storagesample;AccountKey=<account-key>
It's ideal if you set up a separate storage account specifically for Cofoundry to avoid any container name clashes
Cao Trần Thế Vinh
@vinh23

Dear all, does anyone faced this problem, my Cofoundry Project run well in Visual Studio Debugging (Ctrl + F5) but it gets 500 error (EXECUTE_REQUEST_HANDLER in AspNetCoreModuleV2 module) after I deploy in IIS.

I think that I missed some packages in my process, then I download Cofoundry.SimpleSite on Github to move my code to, but it still gets 500 error even I didn't change anything, just download the source from Github & publish.
Then I try to create a new Cofoundry Project manually, created an empty AspNet Core -> install Cofoundry Admin by CLI then I publish this empty project, deploy on IIS, still get 500 error.

I have no problem with my Visual Studio & IIS, my other projects run well.

Joel Mitchell
@HeyJoel
Standard .NET core debugging applies here, have you tried logging the error using stdoutLogEnabled? It's hard to know what's going on until we get more details of the exception.
If you're ok with showing exception details on your live deployment, you can also set the developer exception page to be shown always using the cofoundry setting "Cofoundry:Debug:DeveloperExceptionPageMode": "On"
Joel Mitchell
@HeyJoel
@vinh23 Official ASP.NET Core docs have some more info on debugging on IIS here: https://docs.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?view=aspnetcore-3.1#troubleshoot-on-iis
Cao Trần Thế Vinh
@vinh23
@HeyJoel thank you, I found my issue, it ran well now
Garth Toland
@garthtee
Hi guys, I posted this question on stack overflow. Would be much appreciated if you could have a look at it https://stackoverflow.com/questions/60805879/cofoundry-how-do-i-add-a-pageblock-inside-a-pageblock
Joel Mitchell
@HeyJoel
Garth Toland
@garthtee
Hi @HeyJoel, my understanding of using the nested block types would be to use the ModelWrapper -> MapAsync method to allow adding of additional blocks to the row element. If I want to acheive adding columns blocks inside of row blocks. Would that be correct?
Joel Mitchell
@HeyJoel
@garthtee Do you mean ModelMapper? Yes, so the rendering would be controlled by the container block type.
Alisha Jain
@alishajain7
@HeyJoel I want to enable video upload through my admin dashboard. I tried doing it through Documents, but am not able to. Do you have any documentation that can help me enable it.
Joel Mitchell
@HeyJoel
@alishajain7 we typically use an external host (e.g. vimeo) for video as generally speaking a web application server isn't ideal for streaming video, and we plugins for linking to youtube or vimeo content. There are cases where it's ok to serve short looping videos as static content, and I think my colleagues have used the document assets for that before - does it not upload? You may come up against file size limitations put in place either by asp.net or by the hosting environment
Alisha Jain
@alishajain7
@HeyJoel Thank you for your response. I was facing the file size limitation issue in case of documentation.
@HeyJoel I had one other doubt. I am using Azure plugin to save my images in blob container. On verifying the ImageAsset table, I realized taht it just saves the File name and not the blob container url. Is there a way to save the url in the database as soon as image is saved successfully?
Joel Mitchell
@HeyJoel
@alishajain7 That's not currently a feature, we handle the routing ourselves so we can control caching and redirects for when images are updated. For CDN we usually run a reverse proxy service like CloudFlare which maintains the Cofoundry urls and therefore allows for updatable images. Additionally by not hard-coding the url it allows developers to change the store via config e.g. for different environments or when migrating the site.
Alisha Jain
@alishajain7
@HeyJoel Hi Joel. Thank you for the help. One otehr thing is, I had to downgrade my app to .NetCore 2.1 as 2.2 has reached end of life. I was facing issue in Cofoundry.Plugins.Imaging.ImageSharp as it is not compatible with 2.1. Is there any other plugin that I can use to upload images from Admin dashboard. I tried SixLabors.ImageSharp. But it did not work fine.
Joel Mitchell
@HeyJoel
@alishajain7 Did you try downgrading to the previous version of the plugin? https://www.nuget.org/packages/Cofoundry.Plugins.Imaging.ImageSharp/0.1.0-ci0017
Alisha Jain
@alishajain7
@HeyJoel . It worked. :) Actually there was some issue in my nuget manager - it was not showing previous versions of the plugin. So, now I have manually added this version to my project and am able to upload images correctly.Thank you!
Joel Mitchell
@HeyJoel
Fab!
Bailey Ammons
@bammons
Hello, is it possible to run a hybrid of Razor and Vue at the same time? I currently have them working for the most part, but when I load a vue component on the page I lose the ability to edit content inline via the regions.
Joel Mitchell
@HeyJoel
@bammons Yes you can run both (as in any asp.net app), but In terms of content editing no - pages, templates and the visual editor is designed only for razor. We've had ideas around how a JS client-side version would run across different js frameworks, but given our current resources that's a bit of a pipe dream. So for SPA apps you'll need to use custom entities and expose the data you need via your own think API wrapper, as is done in the SPA sample app.
Bailey Ammons
@bammons
So right now we have razor and vue going at the same time and we reference both components and the razor regions on the same page. Interestingly enough if the vue element is declared before the region the editable region breaks. But if it's declared after, the editable region works just fine
<my-vue-component />
     <div class="reservation_sidebar">
        <div class="reservation_sidebar-sideImage">
            @(await Cofoundry.Template.Region("SideImage")
            .AllowBlockType<UserImageDataModel>()
            .EmptyContentMinHeight(500)
            .InvokeAsync())
        </div>
        <br />

        <div class="reservation_sidebar-offers">
            @(await Cofoundry.Template.Region("SideOffers")
            .AllowMultipleBlocks()
            .AllowBlockType<ContentSectionDataModel>()
            .EmptyContentMinHeight(500)
            .InvokeAsync())
        </div>
    </div>
Right now I believe it has something to do with angular trying to process a custom element that isn't an angular component/directive
Joel Mitchell
@HeyJoel
@bammons Well, you're in uncharted waters there. The admin panel is angular, but the integration with your web page is proxied through vanilla js to avoid conflicts - angular parts are sandboxed in an iframe. So at the point the visual editor renders, if your dom elements are there it will be able to attach to them. When you edit a region, it will try and reload the page. It's been a long time since i've looked into that part in detail, so I may have missed something there, but generally some bits might work, but there's no guarantees.
Jean Jacques Uzabumuhire
@uzabumuhire
Hello, I am interested in ASP.NET Core and I am looking for open source projects to contribute to and use. I find the Cofoundry project interesting and I would like to contribute. Do you have contribution process and git workflow in place to follow ?
Joel Mitchell
@HeyJoel
Hi @uzabumuhire , thanks for your interst in helping out, unfortunately we do not currently have the resouces to review and accept code contributions but feedback is always welcome. You can read more about our contributor policy here: https://github.com/cofoundry-cms/cofoundry/blob/master/CONTRIBUTING.md
Jean Jacques Uzabumuhire
@uzabumuhire
Thanks @HeyJoel I will have a look
Jean Jacques Uzabumuhire
@uzabumuhire
@HeyJoel your contribution are clear. I would like to contribute in upgrading Cofoundry to ASP.NET Core 3.1 LTS. Are there current work in progress for this upgrade where I can contribute ?
Alisha Jain
@alishajain7
Hi @HeyJoel , Is there a way to change the look and feel of the admin dashboard, to match our website. For instance, we want to change the back ground colour of side navigation and add our website logo.
Joel Mitchell
@HeyJoel
@alishajain7 Dashboard customization in the docs. For colors/logos you'd need to customize and rebuild the admin site from source. There's no support/docs for that though.
Alisha Jain
@alishajain7
@HeyJoel . I actually just want to change the colors of UI. So, I will try rebuilding the admin site from source. Thanks!
Seyden
@Seyden
hey Guys, is that CMS even still supported?
@HeyJoel
Joel Mitchell
@HeyJoel
@Seyden Hi, we don't run support contracts, but if you're asking if it's still being actively developed then the answer is yes, although at a slow pace. The v0.7 should be out in a few weeks (.NET 3.1 update), the coding is done and I just need to update the docs, release notes, blog and run all the package updates etc (all the fun stuff...)
Seyden
@Seyden
I mean is it advisable to run this CMS for Production ? Does it make sense? I'm wondering because i'm looking for a good cms to work on and it seemed that Cofoundry is abandoned
Joel Mitchell
@HeyJoel
Well, it's not abandoned, but development has had to slow down and there's no commercial support behind the project at present. That might change in the future but right now if support is important to you I would look for something with a commercial backed support package or a very large community.
Seyden
@Seyden
No no support is not needed, i mean i want to extend it myself.. but i just dont want to build it on a dead project :) that was the only thing i wanted to know
Btw, i read that a lot of packages are planned, is there a list? I wonder if i have to implement a Commerce Plugin by myself or if its planned in the future
the hassle with Umbraco to create a 2nd Database instance is tooo big, CBA.. but i guess if Cofoundry is good to work modulary, then thats my choice :)
Joel Mitchell
@HeyJoel
there's no plans for a commerce plugin - i'd like to just have the time to get what we have to a 1.0. To be honest, it sounds like you're probably looking for a project that is more active than I can currently offer. Cofoundry is strongly modular, but that side of things isn't well documented and there's a lot of work that will need to go into the admin panel before I can confidently document and promote module development.
mkelly123
@mkelly123
hello - Firstly apologies for coming across as complete dumb here. I'm dabbling with a sample project. Running it locally how do you actually browse to the Admin portal? Thanks
Joel Mitchell
@HeyJoel
You can access it at /admin
mkelly123
@mkelly123
Hi Joel, that's what I thought ... I mustn't have it set up completely right
Joel Mitchell
@HeyJoel
We just released an update to v0.7 and .NET Core 3.1 today, it’s working fine in our tests but let me know if you’re still having trouble with it. Make sure you have the Cofoundry.Web.Admin package installed