asp.net - Adding C# Web Form to VB Web Application -


is there way add c# web form asp.net 4.0 web application written in vb.net? had asp.net 2.0 web site converted asp.net 4.0 web application. written in vb.net couple pages had c# code behinds.

i've read following article (the end section mulitple languages):

http://msdn.microsoft.com/en-us/library/t990ks23.aspx

but not seem following 2 reasons

1) when converted site application, didn't seem add app_code folder @ 2) i'm not looking write simple class, want able add web form c# code behind

when try add new item , select type of item want add, given option add visual basic web form.

i have workaround right now. if need new web form c# code behind, take 1 of old c# web forms , copy , paste form , c# code behind project , rename , change class name well. make changes , need do. seems work, wondering if there easier way.

you might wonder why want put c# forms in vb app. wrote app in vb (not versed in c# can read it). have programmer working me more efficient c#. don't have budget spend weeks/months getting speed vb

can put c sharp web forms in class library user controls reference , drop them on pages?

you can reference assembly in web config use in pages

http://weblogs.asp.net/scottgu/archive/2006/11/26/tip-trick-how-to-register-user-controls-and-custom-controls-in-web-config.aspx


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -