ASP.NET MVC 3, Razor-C#, and VB.NET WebForms - A Tale of Black Magic V(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 3 months, 10 days ago

What do you get when you mix a legacy VB.NET WebForms application, ASP.NET MVC, and Razor views that are written in C#? If you said “Pain!” you are quite right. But what you also get is the ability to leverage your existing investment in VB.NET WebForms while crafting new code in ASP.NET MVC Razory-C# goodness. In this series of posts, I’m going to tell you how you, too, can concoct a wicked brew that will enable you to do crazy things, such as creating Razor views in C# that utilize VB.NET WebForms master pages, or how you can render MVC action methods from within WebForms markup.

1 comment |category: |Views: 163

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 3 months, 9 days ago 0

Well, I'm glad I'm not in a position where I have to deal with something like this, but it's nice to know a solution exists. Thanks for sharing, and try not to go too crazy maintaining that thing.

Reply

information Login or create an account to comment on this story