Pat Couch
|
| Posted: 04/20/2002, 5:46 AM |
|
Can anyone offer any tips on getting started with Codecharge and C#?
I snagged VB.net the day it hit the shelf, and did some really neat web apps with it.
But, Codecharge is going with C#, and with all of the peer pressure I'm trying to get started with it.
The current issue is that I can not open a Codecharge generated csproj file. I've created the virtual directory, but VS.net can not find the project file when the directory is browsed.
Yeah, I don't think this is a CodeCharge issue. More than likely a permissions, or IIS setup problem but it's still keeping me down.
Any help or hints?
Many thanks
PC
|
|
|
 |
CodeCharge Support
|
| Posted: 04/22/2002, 2:49 AM |
|
There are a couple of things that you need to keep in mind before you start working on ASP.NET applications.
1) Generated C# is now compatible with the final .NET release
2) Each directory you output your code to should be converted into a Virtual Directory. For example if you generate your project to c:\InetPub\wwwroot\MyApp
Then, you should convert the MyApp directory into a Virtual Directory. Go to Control Panel -> Administrative Tools -> Internet Information Manager and then Select
"Create New Virtual Directory". Complete the Wizard, with default options and it should be enough for general applications.
3) After you 'Generate' the code from CC you need to compile the code, since CC uses the ASP.NET's recommended CodeBehind way of generating ASP.NET
applications, you need to compile the application. Go to the directory where you generated the project and you will find a batch file called 'makeall.bat'. Run this file and it will auto-compile the assemblies for you. In case you have Visual Studio.NET (VS.NET), CC also by default output's code in VS.NET format, so that you can click on the <ProjectName>.csproj file to open the project in VS.NET and then build it.
Once you complete the above steps your applications should work correctly.
|
|
|
 |
Pat Couch
|
| Posted: 04/22/2002, 4:49 AM |
|
Turns out I had a few permission errors that I had to get through first. Once I had gotten past those, there were errors when compiling the GotoCode example making me think I hadn't beat the problem.
Started with another example "Portal", and all worked well.
Time to delve into the code.
Thanks
Patrick
|
|
|
 |
|