can we use C# and VB,Net in the same project??
-
Hi all, can we develop some webpages using C# and some using VB.Net in one project?? thaks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
>>can we develop some webpages using C# and some using VB.Net in one project?? NO.. (AFAIK) but you can use different languages for different layers.(eg: Business Object, Entity, Data Layer and etc.)
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message. Thank you.
-
>>can we develop some webpages using C# and some using VB.Net in one project?? NO.. (AFAIK) but you can use different languages for different layers.(eg: Business Object, Entity, Data Layer and etc.)
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message. Thank you.
thanks Michael. if i developed one webservice using C#, want to consume that in VB.Net web page.....how can we do taht?? i mean is it the same way, adding web reference & creating proxy...etc.,?? i am newbie to this .net technology......still in the learning stage i appreciate ur response. Thanks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
thanks Michael. if i developed one webservice using C#, want to consume that in VB.Net web page.....how can we do taht?? i mean is it the same way, adding web reference & creating proxy...etc.,?? i am newbie to this .net technology......still in the learning stage i appreciate ur response. Thanks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
if i developed one webservice using C#, want to consume that in VB.Net web page.....how can we do taht?? i mean is it the same way, adding web reference & creating proxy...etc.,??
It's the same way. You can do either adding webreference or generating proxy class and add it to your project. If you are using different languages for web project and web service, it's better if you put those in different solution file. Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)
-
>>can we develop some webpages using C# and some using VB.Net in one project?? NO.. (AFAIK) but you can use different languages for different layers.(eg: Business Object, Entity, Data Layer and etc.)
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message. Thank you.
Yes, you can now mix two diffent languages like C# and VB.NET in the same project but only in .NET 2005 and per file, class or page basis. for example. You've created a C# web project in .NET 2005. By default all pages are C# but now in .net 2005 you can add a vb.net web form. Another sample how to mix two languages http://pietschsoft.com/Blog/Post.aspx?PostID=1287[^ Try it and you will amaze!!! Regards, Mark
-
if i developed one webservice using C#, want to consume that in VB.Net web page.....how can we do taht?? i mean is it the same way, adding web reference & creating proxy...etc.,??
It's the same way. You can do either adding webreference or generating proxy class and add it to your project. If you are using different languages for web project and web service, it's better if you put those in different solution file. Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)
hi Michael, definitely wants to convey my thanks by voting ur message!! but i don't know how to vote for the message. i need some help for voting the messages! Thanks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
hi Michael, definitely wants to convey my thanks by voting ur message!! but i don't know how to vote for the message. i need some help for voting the messages! Thanks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
>>but i don't know how to vote for the message. i need some help for voting the >>messages! u see "Rate this message: 1 2 3 4 5"? ya. this is where you can vote my message by clicking one of those numbers. (maybe 5) :)
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message. Thank you.
-
Yes, you can now mix two diffent languages like C# and VB.NET in the same project but only in .NET 2005 and per file, class or page basis. for example. You've created a C# web project in .NET 2005. By default all pages are C# but now in .net 2005 you can add a vb.net web form. Another sample how to mix two languages http://pietschsoft.com/Blog/Post.aspx?PostID=1287[^ Try it and you will amaze!!! Regards, Mark
Thanks Mark. Excellent info. really amazing!! i will try this by implementing practically in my project. thanks once again, Rahithi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "