Duration: 17 minutes
Summary: In this video, we are continuing our discussion of advanced ASP.NET features. We recently covered charts, and today we are talking about the ability to mix VB code and CS code in the same web site. When creating a web site, you can add “special” folders to the site that are treated differently by the ASP.NET engine. One of those folders is App_Code. You can organize your code inside this folder because it is automatically added into the site (you do not need to add any references). To illustrate this, we added this folder to the project, and then added couple of folders under it. One of the folders contains CS code and the other contains VB code. We added the folders in the web.config file so the engine can recognize them. Finally, we added some labels and buttons to the default page and made calls to the VB code and CS code.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET and Visual Studio 2010
Keyword: ASP.NET 4, Visual Studio 2010, App_Code, Click, Function, Shared, static, Compilation, codeSubDirectories, directoryName.