Dot Net Fluke: Getting by on C# for iSeries RPG Developers

Useful tutorials on C# and .NET for RPG iSeries AS/400 developers. Brought to you from the folks at AranRock Consulting

4/17/10

What is ASP.NET?

ASP.NET is the platform to create web pages in .NET. 
We say 'I'm writing this app in ASP.NET' to indicate the technologies used.
To create an ASP.NET page, open up Visual Studio and create it from there.
I would then use C# as the code with HTML to provide the controls to process the page.
That code is either embedded in the web page code itself or included in a separate file.
When embedded, it is called INLINE, when separate it is called CODE-BEHIND.
I prefer to use code behind since it keeps the application logic separate.
Visual Studio saves an ASP.NET file as .apx page type.
A web config file is part of the files in your application which contains your connection string to the iSeries.
ASP.NET may seem daunting and the mix of html and C# makes it especially so. The number of files generated by Visual Studio may seem excessive but the aspx and web config are the ones to focus on.

Labels: