Asp.net 4.6 Angular 2 Webpack - asp.net

I have existing ng2 asp.net 4.6 project. Right now I am using systemjs,but I want to migrate to the webpack (that is new hot thing, isn't?:) )
I can't find asp.net 4.6 guide for webpack..or any asp.net project where I could find the correct setup.
Do you know any guides or github projects where I could learn about webpack setup in asp.net 4.6 environment?
I found webpack + asp.net 4.6 tutorial http://developer.telerik.com/featured/webpack-for-visual-studio-developers/
but it doesn't cover ng2 setup
Thanks

Check out Steve Sanderson's blog post and the corresponding ASP.NET Core JavaScriptServices middleware.

Related

Application migration from .net core 2.1 to 3.0

I'm trying to upgrade my project to .net core 3.0 when it used to be running with asp core 2.1.
The application compile fine but as soon as i start it, the application crash on the app.usespa() function in startup.cs ...
Does someone has already encountered this issue ?
When i create a sample project from scratch with angular it runs well ...
Thanks in advance,
Razgort
One of your library is still not upgraded to 3.x.
use NUGET to update all your libraries to be compatible with 3.x

Installing Angular 4 in a ASP.NET Core 1.1 project?

This should be basic but I have problems to find a guide on how to install Angular 4 into a ASP.NET Core 1.1 project?
I have found a couple of videos on youtube but they are all about Angular 2? The nuget packages goes to version 1.
I have followed this video : https://www.youtube.com/watch?v=g13I7Xy1PtI that installes Angular 4 on to the computer(nodejs and Angular CLI). This will also create a project but its not a ASP.NET Core project.
Install Angular 2 first and then upgrade to Angular 4.

Migrating an asp.net 2.0 website to asp.net 4.5 version

Hi my one of the project is developed on asp.net 2.0 and we got the requirement to migrate my project into asp.net 4.5 can anyone please help me what are the major changes and risk levels i can able to face by this migration and also suggest me what is best approach to follow the migration.

Add 4.5 project inside a solution with 4.0 projects

Can I add a 4.5 project inside a solution with only 4.0 projects?
Example:
-ProductSolution
-Product.Domain.csproj (4.0)
-Product.Web.csproj (4.0)
-Product.WebApi.csproj (4.5)
I can't migrate my projects right now. And I want to add an Web Api and reference it to my Product.Domain project.
Thanks for any help.
You can have projects with multiple .Net versions in a single solution under Visual Studio,
BUT, you can't refer a .Net framework 4.5 version project inside an older version's project.
.Net frameworks are not forward compatible.
So your project Product.WebApi.csproj (4.5) is based on 4.5, you can't add reference to it in Product.Domain.csproj (4.0)
You can't. A 4.0 project can't reference a 4.5 project so the end goal is unachievable.

Scriptmanager not supporting for .net 2.0

I am deploying a website which is developed in 3.5 framework.Server only support 2.0.
hence i recompliles the same project by changing the target framework.
But there is a scriptmanger in my website. which is not supporting 2.0 framework...
is there any work around for this?
ASP.NET 2.0 does support the use of AJAX, you just have to change the referenced assembly information. You can get the needed files from the ASP.NET site here.

Resources