Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Browsing all 2540 articles
Browse latest View live
↧

New Post: MVC Functions that return a File: OutputStream is not available...

Hi @NerdBrick Your suggestion is a good one to use Attributed Routes, but it took me sometime to track down the documentation might have an...

View Article


New Post: MVC Function with Identity Framework: No owin.Environment item was...

Our Composite C1 5.0 implementation uses the MVCFunction feature to leverage some of our existing code. This existing site uses the ASP.net Identity for allowing users to log in an see their data. When...

View Article


New Post: MVC Function with Identity Framework: No owin.Environment item was...

Asp.net Identity is built upon Owin, so you need to include that in your project. Easiest is to add the Microsoft.Owin.Host.SystemWeb package to your website, what will install all the required...

View Article

New Post: Composite 4.3 Copy Paste Function Bug

For my own, i know i always go into Source mode if i need to copy functions or a page with a lot of markup. I don't trust the WYSIWYG editor when copying lot of or complex markup.

View Article

New Post: MVC Function with Identity Framework: No owin.Environment item was...

Thank you for your response. Adding this package to the C1 website doesn't resolve the issue. I recreated the problem and posted it to this share. There is a ReadMeSetup.txt to highlight the main steps...

View Article


New Post: DynamicTypeForms - Add button and Javascript events

Hi Raskolnikoov, I am in need of the same functionality. Are willing to share the code?

View Article

New Post: Add class to body

Is it possible to modify the body tag (i.e. add a class) in a function and have it respected when the final page is rendered? Thanks.

View Article

New Post: Add class to body

Short answer, depends. Long answer; its definitely easiest if your Template is based on Masterpage (WebForms) due to its Lifecycle pipeline. For instance, you can in your function do...

View Article


New Post: MVC Function with Identity Framework: No owin.Environment item was...

@burningice, any other thoughts on this topic? My other thought would be to setup a sub domain for authentication, but I was hoping to avoid adding more complexity to the C1 deployment.

View Article


New Post: MVC Function with Identity Framework: No owin.Environment item was...

It surely sounds strange that Identity is complaining about a missing Owin context if you indeed say that your Owin startup handler is executed correctly. Let me try download your project tomorrow and...

View Article

New Post: MVC Function with Identity Framework: No owin.Environment item was...

Quickly found the problem... MVC Functions are executed inside its own HttpContext, which is a copy of the main content which you can see here...

View Article

New Post: MVC Function with Identity Framework: No owin.Environment item was...

Brilliant! With your code suggestion, I was able to make the sample Asp.net project come to life. So, do you think this bug or feature improvement for C1 with the CopyHttpContextData? It might help...

View Article

New Post: MVC Function with Identity Framework: No owin.Environment item was...

I wouldn't say its a bug, since its not like they are trying to copy all entries from HttpContext.Items and then just missed some of them. But definitely a feature request. Question is then though...

View Article


New Post: Converting to Sql failed

Today I tried to convert my website to a Sql server based site. I got the success message from the add-on but when I refreshed my console I faced with Runtime Error. I could restore my website by...

View Article

New Post: Add class to body

Can you please describe in brief.Actually I want to make a template with body editable and used that template in a page how can i do this?

View Article


New Post: Add class to body

There is no need to use MasterPages in this case. The easiest way to add a class to the final page page body element (from a function) is to add that attribute class to the function output body...

View Article

New Post: Composite C1 5.1 available

Download and read about what's new on https://github.com/Orckestra/C1-CMS/releases/tag/v5.1 Enjoy!

View Article


New Post: Execute other functions -- lifecycle

The documentation here: http://docs.composite.net/Functions/Razor/Execute-Other-Functions refers to two ways to execute other functions -- function markup and the @function method. One of the...

View Article

New Post: Execute other functions -- lifecycle

Based on looking at the source and some experimentation it seems like there is no way to pass any data to a function (excluding parameters) regardless of the method you use. The pages are built from...

View Article

New Post: Execute other functions -- lifecycle

The magic word here is the FunctionContextContainer. Its not documented anywhere, but if you dig around in the source, you'll find some interesting things. The basic idea is that you wrap your whole...

View Article
Browsing all 2540 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>