Where's applicationbasepage and how do I set up a web project?


Author
Message
Pertti Karjalainen
Pertti Karjalainen
StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
I have tried to study and follow the SF VB web sample project, but since I am using C# and am kinda new to Strataframe and there seems to be no actual documentation on how to do this stuff step by step, I would like to know how one goes about setting up a web application, or at least the basic "infrastructure" of it (basepage, CSS, etc.)  Step-by-step instructions would be great.

I assume Business Objects and the BO functionality are exactly the same between web and windows apps, no?

Pertti

Replies
Pertti Karjalainen
Pertti Karjalainen
StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
Ben:

Since this is an ASP app I don't have access to events from the property sheet...  I tried all kinds of things with the base page and my default page, but the debugger just won't cooperate, which means the page load code doesn't run for some god-awful reason...

Would it be possible to see a complete C# web app all the way through databinding etc. and to a ready-to-run project.  The step-by-step instructions above stopped short of that kind of completion, and I suppose I am not the only one struggling with the C# web apps using StrataFrame, since there is no walk-throughs for that.  The VB web sample walkthrough is great, but given the differences between the two languages it isn't all that much help when trying to get a sample app up and running in C#.  I feel like I'm spinning my wheels unnecessarily here because of the lack of C# tutorials/walkthroughs.

Thank you!

Pertti

Ben Chase (12/07/2006)
With VB, there is a little "Handles" keyword at the end of an event handler that tells the compiler to add the handler to the event.  However, within C#, there is no such thing... it must be done within the designer file.  Your best be would be to open the page and go to the Design view where you can visually build the page.  View the property sheet for the page and you will see a button at the top of the property sheet that will show you the events.  In the Load event, you need to type the name of your method that is handling the load event.

I think you can also add the code within the page directive within the markup file... but I'm not sure.


Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
We are in the process of converting all of our VB samples to C#.  These will all be included in the next update, but we will post them on the forum as they come available.  We will move the website sample up on the list and we will let you know when it is available on the forum.  This should get you going.  Thanks.
Pertti Karjalainen
Pertti Karjalainen
StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
Thanks!  This will be most helpful.  As soon as possible, if there was even a quick and simple example on creating a C# web project from the beginning to the end with setup, databinding and up the the finished application that we could actually run on our computers and study the code & settings, that would be great.

Can't wait...  Pinch

 

Pertti

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
The C# sample is the same as the VB, but just in C# code.  So this should give you plenty to look at to get you going.
Pertti Karjalainen
Pertti Karjalainen
StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
Well, maybe it's just me, but I can't get the C# clone of the VB app going.  Doesn't populate the controls on my web page, although it doesn't throw any errors, either.  Nor does the debugger seem to step through the code where population is supposed to happen.  Dunno.

Pertt

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Pertti,

Below is a link to the CSharp web sample that has been converted from the VB.Net web sample.  This should give you more than enough to see how to layout a StrataFrame web site.  I hope this gets you going Wink

http://forum.strataframe.net/FindPost5109.aspx 

Pertti Karjalainen
Pertti Karjalainen
StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
Gracias, Amigo!

Burning some midnight oil, I see...  But, hey, might as well be part of the biggest club in the world Crazy.  Gives a whole new meaning to "clubbing", too... Blink

Thanks again -- this will take me much further on my journey into the new StrataSpeheres...


Pertti

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Hehe Yeah...I've actually been a member of that "club" for quite a while now....I just keep learning what a big club that it is Smile .  Anyway, I am glad to help Wink
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Pertti Karjalainen - 19 Years Ago
Pertti Karjalainen - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Pertti Karjalainen - 19 Years Ago
Trent L. Taylor - 19 Years Ago
                         That did the trick! And thanks for the step-by-step, because of which...
Pertti Karjalainen - 19 Years Ago
                             That is certainly one way to look at it :) And, yes, in the IT...
StrataFrame Team - 19 Years Ago
Pertti Karjalainen - 19 Years Ago
StrataFrame Team - 19 Years Ago
                         Ben: Since this is an ASP app I don't have access to events from the...
Pertti Karjalainen - 19 Years Ago
                             We are in the process of converting all of our VB samples to C#. These...
Trent L. Taylor - 19 Years Ago
                                 Thanks! This will be most helpful. As soon as possible, if there was...
Pertti Karjalainen - 19 Years Ago
                                     The C# sample is the same as the VB, but just in C# code. So this...
Trent L. Taylor - 19 Years Ago
                                         Well, maybe it's just me, but I can't get the C# clone of the VB app...
Pertti Karjalainen - 19 Years Ago
                                             Pertti, Below is a link to the CSharp web sample that has been...
Trent L. Taylor - 19 Years Ago
                                                 Gracias, Amigo! Burning some midnight oil, I see... But, hey, might as...
Pertti Karjalainen - 19 Years Ago
                                                     :hehe: Yeah...I've actually been a member of that "club" for quite a...
Trent L. Taylor - 19 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search