Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Composite C1 from external sites

$
0
0
You own upload will go something like this
  1. Post a file to the server
  2. Read the posted file into memory
  3. Create a IMediaFile instance and assign the necessary values - id, name, folder, size etc.
  4. Add the IMediaFile to C1
  5. Call MediaUrls.BuildUrl passing the IMediaFile instance from pt. 3

Viewing all articles
Browse latest Browse all 2540

Trending Articles