Is MVC Contrib Grid part of Asp.Net MVC 2.0? - asp.net

Is it part of Asp.Net MVC 2.0. If not then does Asp.Net MVC 2.0 ship with in built GridView support?

You could use a jQuery grid with MVC .

Is it part of Asp.Net MVC 2.0.
No. MvcContrib grid is not a part of MVC 2.
If not then does Asp.Net 2.0 ship with
in built GridView support?
Yes. The Asp.Net Gridview was introduced with .Net Framework 2.0

ASP.NET MVC 2 does not have a built in GridView helper. But there are several that can be used, such as the Telerik open source mvc controls, the MvcContrib, and several jQuery options (such as jqgrid). Or you could just render the grid yourself. Or build your own helper.

Related

Asp.net web form migration to dot net core

I have an application in asp.net 2.0 web forms.
I want to migrate it to Asp.net core web forms.
Is it feasible?
I did not see any link on internet for migration of web forms.
Please provide any link or insight for this.
ASP.NET Core doesn't have a web forms part. It's an old model and won't be includeded in the ASP.NET Core according to Microsoft. The new and recommended model is MVC. There is no interoperability between them, because they have a differt architechture and behavior.
You have two opportunities. First: you don't migrate, everything will work as it has been. Second: you re-implement your solution with ASP.NET Core and with MVC architecture.
Have you seen DotVVM?
It is not Web Forms on .NET Core, but:
many concepts in DotVVM are similar to ASP.NET Web Forms (postbacks, server controls, master pages, even the names of the controls and page lifecycle events)
it is easy to learn for ASP.NET Web Forms developers
no cryptic viewstate hidden field
the controls don't produce ugly HTML
the MVVM pattern is used
no need to know or write JavaScript - C#, HTML and CSS is enough to start coding
DotVVM supports both .NET Core and full .NET Framework
can be added to existing ASP.NET Web Forms or MVC applications on .NET Framework
DotVVM is open source
Visual Studio extension with IntelliSense and project templates
Disclaimer: taken from https://github.com/aspnet/Home/issues/1961#issuecomment-323698018
There are some useful resources I'd like to share with the StackOverflow community just in case you are having troubles to decide what to do:
modernization of your existing Web Forms app
migration to MVC or Core
or whether to start a new project on Web Forms, MVC and Core.
Here you go:
Modernizing ASP.NET Web Forms Applications by Tomáš Herceg (Microsoft MVP ) - https://tomasherceg.com/blog/post/modernizing-asp-net-web-forms-applications-part-1
Migrating Old ASP.NET Applications to .NET Core by Edi Wang (Microsoft MVP) - https://edi.wang/post/2018/10/31/migrating-old-aspnet-applications-to-net-core
Choose between ASP.NET and ASP.NET Core (Microsoft docs) - https://learn.microsoft.com/en-us/aspnet/core/fundamentals/choose-aspnet-framework?view=aspnetcore-3.1 - https://learn.microsoft.com/en-us/aspnet/core/migration/proper-to-2x/?view=aspnetcore-3.1
Migrate from ASP.NET to ASP.NET Core (Microsoft docs) - https://learn.microsoft.com/en-us/aspnet/core/migration/proper-to-2x/?view=aspnetcore-3.1
https://www.telerik.com/blogs/review-of-telerik-toolsets-for-aspnet-web-forms-core

ASP.NET WebForms in an ASP.NET MVC 2 application

Is it possible to call normal ASPX pages with their normal life-cycle in an ASP.NET MVC 2 application? What about web controls and ajax.net toolkit?
Thank you!
You don't need to do anything. Simply create your MVC application and add a new web forms page. Thats it.
Yes.
Deploying ASP.NET MVC on ASP.NET 2.0
Integrating ASP.NET MVC 3 into existing upgraded ASP.NET 4 Web Forms applications
I recommend creating a WebForms project and using this NuGet package:
AddMvc3ToWebForms

Is ASP.NET AJAX 4.0 a part of ASP.NET 4.0?

Is ASP.NET AJAX 4.0 a part of ASP.NET 4.0? E.g., by using ASP.NET Web Forms 4.0 do I automatically have ASP.NET AJAX 4.0?
That's it. Starting with ASP.NET 3.5, ASP.NET AJAX is part of ASP.NET.
You only need the appropiate Web.config sections so script handlers and related types will be loaded and ASP.NET AJAX will be available for you!

Can ASP.NET MVC 3 run inside a ASP.NET 3.5 web site?

I would like to know if it is at all possible to get an MVC3 solution wrapped in a CWAB (Composite Web Application Block) solution built in 3.5?
I'm aware that in IIS, 2.0/3.5 and 4.0 sites can run next to each other (but in different application pools) but because of the CWAB layer I do not have this luxury. I got MVC2 running successfully before but MVC2 is on the 2.0 runtime if what I've read is true.
I would really like to use Razor as well so going back to MVC2 in this scenario is not really an option.
It should be possible. Just set your application pool runtime to 4.0 instead of 2.0.
.NET 4.0 runtime will be able to handle .NET 3.5 assemblies.
Razor requires features in .NET 4.0. However Tom Clarkson has a post called ASP.NET MVC 3 Razor View in SharePoint that talks about a (not-so-pretty) work-around. Basically, generate the view code from the cshtml files in .NET 4 and you can use them in .NET 3.5 (with a modified RazorEngine).
I'm encountering the same issue. The way I'm going to handle it is to write a WCF "front end" to SharePoint (.Net 3.5) and this will allow me to write the MVC app using MVC 3.

The latest technology in ASP.NET

I am an ASP.NET developer. What is the latest technology in ASP.NET and also the documentation about it?
For MVC it is ASP.NET MVC 2 and for web forms it is ASP.NET 4.0.
I notice MVC has been suggested, but dont forget to checkout Silverlight as well for delivering rich interactive application over the web.
As the previous answers state, MVC is the new thing.
This means that their are now 2 main forms of ASP.NET development: WebForms and MVC
In WebForms, there are only a handful of new things (in VS2010), with support for routing (friendly URLs) the most notable.
That would be ASP.NET 4.0 and ASP.NET MVC 2.0. Documentation? Like ALWAYS, in MSDN.

Resources