﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WebForms (How do I?)  » Where's applicationbasepage and how do I set up a web project?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 26 May 2026 08:24:48 GMT</lastBuildDate><ttl>20</ttl><item><title>Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost4956.aspx</link><description>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.)&amp;nbsp; Step-by-step instructions would be great.&lt;P&gt;I assume Business Objects and the BO functionality are exactly the same between web and windows apps, no?&lt;/P&gt;&lt;P&gt;Pertti</description><pubDate>Fri, 08 Dec 2006 07:39:22 GMT</pubDate><dc:creator>Pertti Karjalainen</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5122.aspx</link><description>: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 :) .&amp;nbsp; Anyway, I am glad to help ;)</description><pubDate>Fri, 08 Dec 2006 07:39:22 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5118.aspx</link><description>Gracias, Amigo!&lt;P&gt;Burning some midnight oil, I see...&amp;nbsp; But, hey, might as well be part of&amp;nbsp;the biggest club in the world&amp;nbsp;:crazy:.&amp;nbsp; Gives a whole new meaning to "clubbing", too...&amp;nbsp;:blink:&lt;P&gt;Thanks again -- this will&amp;nbsp;take me much further on my journey into the new StrataSpeheres...&lt;P&gt;&lt;BR&gt;Pertti</description><pubDate>Thu, 07 Dec 2006 23:54:41 GMT</pubDate><dc:creator>Pertti Karjalainen</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5110.aspx</link><description>Pertti,&lt;/P&gt;&lt;P&gt;Below is a link to the CSharp web sample that has been converted from the VB.Net web sample.&amp;nbsp; This should give you more than enough to see how to layout a StrataFrame web site.&amp;nbsp; I hope this gets you going ;)&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/FindPost5109.aspx"&gt;http://forum.strataframe.net/FindPost5109.aspx&lt;/A&gt;&amp;nbsp;</description><pubDate>Thu, 07 Dec 2006 20:34:11 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5103.aspx</link><description>Well, maybe it's just me, but I can't get the C# clone of the VB app going.&amp;nbsp; Doesn't populate the controls on my web page, although it doesn't throw any errors, either.&amp;nbsp; Nor does the debugger seem to step through the code where population is supposed to happen.&amp;nbsp; Dunno.&lt;/P&gt;&lt;P&gt;Pertt</description><pubDate>Thu, 07 Dec 2006 16:03:56 GMT</pubDate><dc:creator>Pertti Karjalainen</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5084.aspx</link><description>The C# sample is the same as the VB, but just in C# code.&amp;nbsp; So this should give you plenty to look at to get you going.</description><pubDate>Thu, 07 Dec 2006 13:40:42 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5083.aspx</link><description>Thanks!&amp;nbsp; This will be most helpful.&amp;nbsp; As soon as possible, if there was even a quick and simple&amp;nbsp;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 &amp;amp; settings, that would be great.&lt;P&gt;Can't wait...&amp;nbsp; :pinch:&lt;P&gt;&amp;nbsp;&lt;P&gt;Pertti</description><pubDate>Thu, 07 Dec 2006 13:36:40 GMT</pubDate><dc:creator>Pertti Karjalainen</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5077.aspx</link><description>We are in the process of converting all of our VB samples to C#.&amp;nbsp; These will all be included in the next update, but we will post them on the forum as they come available.&amp;nbsp; We will move the website sample up on the list and we will let you know when it is available on the forum.&amp;nbsp; This should get you going.&amp;nbsp; Thanks.</description><pubDate>Thu, 07 Dec 2006 13:08:38 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5076.aspx</link><description>Ben:&lt;P&gt;Since this is an ASP app I don't have access to events from the property sheet...&amp;nbsp; 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...&lt;/P&gt;&lt;P&gt;Would it be possible&amp;nbsp;to see&amp;nbsp;a complete C# web app all the way through&amp;nbsp;databinding etc. and to a ready-to-run project.&amp;nbsp; 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.&amp;nbsp; The VB web sample walkthrough is great, but given the&amp;nbsp;differences between the two languages it isn't all &lt;EM&gt;that&lt;/EM&gt; much help when trying to get a sample app up and running in C#.&amp;nbsp; I feel like I'm spinning my wheels unnecessarily here because of the lack of C# tutorials/walkthroughs.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Pertti&lt;/P&gt;&lt;P&gt;[quote][b]Ben Chase (12/07/2006)[/b][hr]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.&amp;nbsp; However, within C#, there is no such thing... it must be done within the designer file.&amp;nbsp; Your best be would be to open the page and go to the Design view where you can visually build the page.&amp;nbsp; 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.&amp;nbsp; In the Load event, you need to type the name of your method that is handling the load event.&lt;/P&gt;&lt;P&gt;I think you can also add the code within the page directive within the markup file... but I'm not sure.[/quote]</description><pubDate>Thu, 07 Dec 2006 13:01:36 GMT</pubDate><dc:creator>Pertti Karjalainen</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5049.aspx</link><description>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.&amp;nbsp; However, within C#, there is no such thing... it must be done within the designer file.&amp;nbsp; Your best be would be to open the page and go to the Design view where you can visually build the page.&amp;nbsp; 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.&amp;nbsp; In the Load event, you need to type the name of your method that is handling the load event.&lt;/P&gt;&lt;P&gt;I think you can also add the code within the page directive within the markup file... but I'm not sure.</description><pubDate>Thu, 07 Dec 2006 09:25:37 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5033.aspx</link><description>Well, I managed to brake something on my dinky website, and it is probably something very simple and my mistake.&amp;nbsp; But I can't figure it out.&amp;nbsp; I followed the step by step above, but when I tried to set a breakpoint at my default page on_load event where I load data.&amp;nbsp; However, the debugger it never stops there, it acts as if the page load&amp;nbsp;code never even executes.&amp;nbsp;&amp;nbsp;As a result the data field on the browser window doesn't get populated.&amp;nbsp;&amp;nbsp;I can set a breakpoint at page_load in&amp;nbsp;your VB Web sample app just fine, of course...&lt;P&gt;Below&amp;nbsp;are pictures of my dev. environment at the breakpoint as well as the browser &amp;#119;indow.&amp;nbsp; Any help would be appreciated.&amp;nbsp; By me...&lt;/P&gt;&lt;P&gt;Code:&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/00c5fe47-323d-48d5-9d5c-c766.jpg"&gt;&lt;/P&gt;&lt;P&gt;Solution Explorer:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/da91b050-2e57-4967-b717-4455.jpg"&gt;&lt;/P&gt;&lt;P&gt;web page:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/9e82cf80-1abb-4450-8608-1c7f.jpg"&gt;</description><pubDate>Wed, 06 Dec 2006 15:21:09 GMT</pubDate><dc:creator>Pertti Karjalainen</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5015.aspx</link><description>That is certainly one way to look at it :)&amp;nbsp; And, yes, in the IT industry, there is something new to learn every day.</description><pubDate>Wed, 06 Dec 2006 13:32:43 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost5004.aspx</link><description>That did the trick!&lt;P&gt;And thanks for the step-by-step, because of which I now have my first dinky Strataframe -based website up and running (against VFP data, nevertheless).&amp;nbsp; Where did I put that bottle of&amp;nbsp;Dom Perignon&amp;nbsp;now...&amp;nbsp;&amp;nbsp; Oh, I forgot, I think I drank it last night about 2 am out of frustration...&amp;nbsp; &lt;/P&gt;&lt;P&gt;How many times does one have to feel like a grunt and a beginner yet again in one's life?&amp;nbsp; To me this is time number 130,245...&amp;nbsp; But, hey, maybe it's just&amp;nbsp;one way to keep the old man Alzheimer at bay&amp;nbsp; &amp;nbsp;:unsure:&lt;/P&gt;&lt;P&gt;Pertti</description><pubDate>Wed, 06 Dec 2006 11:25:08 GMT</pubDate><dc:creator>Pertti Karjalainen</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost4998.aspx</link><description>Well, I have never seen the SF Windows templates in that view.&amp;nbsp; It appears that the Windows Forms templates are in your web folder.&amp;nbsp; How this happened I have no idea.&amp;nbsp; Look in the following location:&lt;/P&gt;&lt;P&gt;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\Web\CSharp&lt;/P&gt;&lt;P&gt;You should have a zip file in this folder named SF_WebApplication.zip.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/2dff4c86-c4c3-4e58-8463-9058.jpg"&gt;&lt;/P&gt;&lt;P&gt;If you do, the close all of your Visual Studio instances and type the following command in the "run" window or at the command prompt:&lt;/P&gt;&lt;P&gt;"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" /setup&lt;/P&gt;&lt;P&gt;Go back into VS2005 and see if the template then exists.&amp;nbsp; If not we will have to dig a little deeper.</description><pubDate>Tue, 05 Dec 2006 17:50:02 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost4997.aspx</link><description>Unfortunately I don't see those templates when I open a new website.&amp;nbsp; I wonder if my Visual Studio 2005 installation is hosed...&amp;nbsp; This is what I see:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/4ea55ae8-d62c-4185-98e9-a7e6.jpg"&gt;</description><pubDate>Tue, 05 Dec 2006 17:43:23 GMT</pubDate><dc:creator>Pertti Karjalainen</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost4969.aspx</link><description>You are going to want to create a new WebSite instead of a new project and you will see the template.&lt;UL&gt;&lt;LI&gt;Open VS2005&lt;/LI&gt;&lt;LI&gt;Click File -&amp;gt; New -&amp;gt; Website &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This will present the following screen&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/1d4c4a77-56c1-47c9-bd77-2e2a.jpg"&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make sure that you choose your desired langauge (C# in this case)&lt;/LI&gt;&lt;LI&gt;Name your website and then click OK&lt;/LI&gt;&lt;LI&gt;This will create the basic structure of a website.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Next, you are going to want to add another project to your solution (if you do not already have one) which is your Business Object Library.&amp;nbsp; DO NOT CREATE business objects within the web site, this will just cause you some frustrations as ASP.NET projects treat components differently that a class library project.&lt;/LI&gt;&lt;LI&gt;To add a new class library, right click the solution and then click&amp;nbsp;Add -&amp;gt; New Project.&lt;/LI&gt;&lt;LI&gt;Open the C# -&amp;gt; StrataFrame options on the left and then&amp;nbsp; choose a BO class library project&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/5c5a58f9-9cf0-40f1-8aae-8d61.jpg"&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Name the project to your liking and then click OK.&lt;/LI&gt;&lt;LI&gt;Delete the existing BO (Businessobject1) and add your first BO to the library (right-click on the BO project and then click Add -&amp;gt; New Item and then select the SF Business Object.&lt;/LI&gt;&lt;LI&gt;Once you have your class library setup, you will need to add a reference to the website so it can see the business objects.&amp;nbsp; To do this, right-click the website project and then go to Add Reference.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/f0f626d3-cfd0-473f-8bbc-c8b1.jpg"&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You can now reference BOs in your website.&lt;/LI&gt;&lt;LI&gt;To add a website BO, you will open up a base page (at this point you will only have one).&amp;nbsp; Under the App_Code folder open the ApplicationBasepage.cs file.&amp;nbsp; You will see a region here called Business Object Declarations.&amp;nbsp; This is where you will declare your BO.&amp;nbsp; Any page that inherits this base page will then be able to see and bind to that BO.&amp;nbsp; Below is a sample BO declaration, it is slightly different in C# than VB.Net and requires that a property be created.&amp;nbsp; Once this is done you will be able to bind just as though in a WinForm.&amp;nbsp; Note: You may need to build your solution before this step.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;[codesnippet]private SampleBOLibrary.CustomersBO _Customers;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public SampleBOLibrary.CustomersBO Customers&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get { return _Customers; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set { _Customers = value; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }[/codesnippet]&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Open up the Default.aspx page and drop on a StrataFrame text box.&lt;/LI&gt;&lt;LI&gt;Go to the BusinessObjectName property and set it to your BO (Customers in this case)&lt;/LI&gt;&lt;LI&gt;Next, select the binding field on the BindingField property.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Business Objects&lt;BR&gt;&lt;/STRONG&gt;To learn more about the BO Mapper go through the WinForms tutorial, even though the help is for VB, I am confident that you will able to work through the sample in C#.&amp;nbsp; The BOs are the exact same for web as they are for WinForms.&amp;nbsp; Additionally, there is a lot of documentation as it relates to the BO Mapper and the business objects.&amp;nbsp; This should get you going in this department.&amp;nbsp; Obviously you can post any questions you have in regards to this on the forum.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Attached is the sample I created to write this post.</description><pubDate>Tue, 05 Dec 2006 13:29:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Where's applicationbasepage and how do I set up a web project?</title><link>http://forum.strataframe.net/FindPost4958.aspx</link><description>OK, I can't get anywhere with my web application efforts without some help from you guys.&amp;nbsp; I see no web templates when I try to create a new web site, I have no clue as to how to even begin to&amp;nbsp;go about this.&amp;nbsp; Could be that I am locked in the MM.NET mindset.&amp;nbsp; Could be that my installation is not complete.&amp;nbsp; Could be that some documentation would help.&amp;nbsp; FYI, I am able to create Windows apps&amp;nbsp;following the videos, but web apps with strataframe are a blank page for me.&lt;P&gt;So, call me clueless...:doze:</description><pubDate>Tue, 05 Dec 2006 12:12:38 GMT</pubDate><dc:creator>Pertti Karjalainen</dc:creator></item></channel></rss>