Click here to Skip to main content
15,888,283 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Design Pattern : Queue Pin
jschell4-Sep-17 7:55
jschell4-Sep-17 7:55 
AnswerRe: Design Pattern : Queue Pin
Gerry Schmitz9-Sep-17 13:06
mveGerry Schmitz9-Sep-17 13:06 
Questionbulk data should be in executable Pin
Erhy23-Aug-17 9:51
Erhy23-Aug-17 9:51 
AnswerRe: bulk data should be in executable Pin
Richard MacCutchan23-Aug-17 21:14
mveRichard MacCutchan23-Aug-17 21:14 
GeneralRe: bulk data should be in executable Pin
Erhy24-Aug-17 2:30
Erhy24-Aug-17 2:30 
AnswerRe: bulk data should be in executable Pin
Gerry Schmitz24-Aug-17 6:15
mveGerry Schmitz24-Aug-17 6:15 
GeneralRe: bulk data should be in executable Pin
Erhy24-Aug-17 6:35
Erhy24-Aug-17 6:35 
AnswerRe: bulk data should be in executable Pin
jschell24-Aug-17 8:35
jschell24-Aug-17 8:35 
Erhy wrote:
Because I see, with the resource techniques the access to data implemented with resource-techniques are only possible with streams,
I want to prepare the data, e.g. by declaring long arrays.


So presuming that the arrays do not exceed some limit in .Net itself, which you would need to test...
1. Create the array(s).
2. Write code that wraps the array(s) in a Stream.


You might need several classes for 2 depending on the exact stream that you need but you can start with the 'MemoryStream' class and research it from that.

I would expect that you should experiment with creating a new stream each time or attempting to keep a single instance. The former shouldn't be a problem because you are using a memory blob so the object cost is low.

If there is some reason that your data is unusual you might need to create your own stream class.
GeneralRe: bulk data should be in executable Pin
Erhy24-Aug-17 9:43
Erhy24-Aug-17 9:43 
GeneralRe: bulk data should be in executable Pin
jschell25-Aug-17 9:01
jschell25-Aug-17 9:01 
GeneralRe: bulk data should be in executable Pin
Erhy28-Aug-17 6:31
Erhy28-Aug-17 6:31 
GeneralRe: bulk data should be in executable Pin
Eddy Vluggen28-Aug-17 7:21
professionalEddy Vluggen28-Aug-17 7:21 
GeneralRe: bulk data should be in executable Pin
Erhy28-Aug-17 10:29
Erhy28-Aug-17 10:29 
GeneralRe: bulk data should be in executable Pin
Eddy Vluggen28-Aug-17 10:40
professionalEddy Vluggen28-Aug-17 10:40 
GeneralRe: bulk data should be in executable Pin
Erhy28-Aug-17 10:51
Erhy28-Aug-17 10:51 
QuestionCall Into or Notify Other Instances Of Your App Pin
Kevin Marois7-Aug-17 10:44
professionalKevin Marois7-Aug-17 10:44 
AnswerRe: Call Into or Notify Other Instances Of Your App Pin
Eddy Vluggen13-Aug-17 1:05
professionalEddy Vluggen13-Aug-17 1:05 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
jschell14-Aug-17 8:22
jschell14-Aug-17 8:22 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Eddy Vluggen14-Aug-17 23:31
professionalEddy Vluggen14-Aug-17 23:31 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Pete O'Hanlon14-Aug-17 23:42
mvePete O'Hanlon14-Aug-17 23:42 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Eddy Vluggen14-Aug-17 23:51
professionalEddy Vluggen14-Aug-17 23:51 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
jschell16-Aug-17 5:43
jschell16-Aug-17 5:43 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Pete O'Hanlon16-Aug-17 6:26
mvePete O'Hanlon16-Aug-17 6:26 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
Kevin Marois16-Aug-17 7:23
professionalKevin Marois16-Aug-17 7:23 
GeneralRe: Call Into or Notify Other Instances Of Your App Pin
jschell18-Aug-17 12:36
jschell18-Aug-17 12:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.