Is it possible to have C# and vb.net in the same asp.net website?

后端 未结 6 1610
失恋的感觉
失恋的感觉 2020-12-06 08:11

Is it possible to have C# and vb.net in the same asp.net website? without separating in class libraries.

6条回答
  •  悲哀的现实
    2020-12-06 08:43

    when tried I found out that you can't (by default) have different languages in a website under App_Code folder.but for other files outside (App_Code) yes you can.

    to be able to have different languages under App_Code you need the technique mentioned by Florim.

    thank you all guys for help.

提交回复
热议问题