How can i include both C# and vb.net classes in same
solution?
Answers were Sorted based on User's Feedback
Answer / roopesh m.k
Step 1:
It is possible,In app-Code folder create sub folders
named VB,CS(as you like) and clreate .vb class files in the
folder named VB and .cs class files in the CS folder.
Step 2:
Go to web.config file and mention the following
<compilation debug="false">
<codeSubDirectories>
<add directoryName="VB" />
<add directoryName="CS" />
</codeSubDirectories>
</compilation>
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / romo
Its not possible to include both c# and vb.Net codes in
same solution. The reason is that the parser in .net only
knows one language at a time.
but its possible to refer a ddl assembly in c# which is
created by using vb.net
Is This Answer Correct ? | 3 Yes | 3 No |
What is smart navigation?
Is asp.net different from asp? If yes, explain how?
what is code access security,role based security explain with example
What is preprocessor in .net and type, where it use?
Describe how ASP.NET maintains process isolation for each Web application?
Explain the asp.net page life cycle.
can i call the java script to code behind file?if yes how?
What is the difference between mvc and asp.net? : Asp.Net MVC
i have a register form & in that form i have a 2 textboxes for entering name&age.my doubt is that how can i provide error message like "invalid entry" when user enter a invalid name/age(eg:user enter name as #%%%##daff,and age as 1000.)in that textboxes.I want code.
Is asp.net core faster?
What are the Types of state management techniques
• What Session State providers are available in ASP.NET? What are the pros and cons of each?