We have product of our organization which we have developed in .net 4.5 (c#). Now we provide this solution in the form of library (.dll) to our vendors (partners) who develop client facing applications.
Here we have our product (SDK) developed in .net, Java and iOs (mobile SDK). As per client OS and requirement we provided any of solution.
Now we want to develop the same in .net core as it is platform independent.
My question is how I can create .net core library and provide the same to our vendors so that they can use the same and develop the cross platform applications OR as per client facing requirement. But here our solution would be only one i.e. .net core lib instead of multiple SDKs of .net, java or iOS
Please suggest, as i couldn't see the option to publish .net core library as self contained.
Is message pipe line and other constructs same for Web API that targets .Net Core or .Net framework? Can we use ActionFilters, DelagatingHandlers and other concepts while developing .Net Core based Web API?
For .NET Core, you want use the ASP.NET Core MVC project template. Note, .NET Core MVC and Web API were merged together.
You can read more about the Middleware here:
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-2.1
I am using dot net Core framework using c# language for my application. How I will be able to generate Paytm CheckSum in my application? As there is no support available for .net core - Paytm Github
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
Does anybody know of any free ASP.NET forum software than can integrate with an ASP.NET MVC site that runs on the ASP.NET membership API?
YetAnotherForum (YAF) is a popular open source .NET based discussion forum. It's been a while since I last worked with it but the latest 1.9.3 release is meant to integrate with the ASP.NET membership providers:
http://www.yetanotherforum.net/